25 #ifndef WGEZOOMTRACKBALLMANIPULATOR_H
26 #define WGEZOOMTRACKBALLMANIPULATOR_H
28 #include <osgGA/TrackballManipulator>
29 #include "WExportWGE.h"
46 virtual void setByMatrix(
const osg::Matrixd& matrix );
53 virtual osg::Matrixd getMatrix()
const;
60 virtual osg::Matrixd getMatrixWithoutZoom()
const;
68 virtual osg::Matrixd getInverseMatrix()
const;
75 virtual void home(
double currentTime );
84 virtual bool handle(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
91 double getZoom()
const;
97 void setZoom(
double zoom );
105 void setPaintMode(
int mode );
112 void setThrow(
bool allowThrow =
true );
119 bool getThrow()
const;
131 bool zoom(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
149 #endif // WGEZOOMTRACKBALLMANIPULATOR_H