25 #ifndef WGENOOPMANIPULATOR_H
26 #define WGENOOPMANIPULATOR_H
28 #include <osg/Version>
32 #if ( ( OPENSCENEGRAPH_MAJOR_VERSION > 2 ) || ( OPENSCENEGRAPH_MAJOR_VERSION == 2 && ( OPENSCENEGRAPH_MINOR_VERSION > 9 || \
33 ( OPENSCENEGRAPH_MINOR_VERSION == 9 && OPENSCENEGRAPH_PATCH_VERSION >= 8 ) ) ) )
34 #include <osgGA/CameraManipulator>
37 typedef CameraManipulator MatrixManipulator;
40 #include <osgGA/MatrixManipulator>
52 typedef osg::ref_ptr< WGENoOpManipulator >
SPtr;
57 typedef osg::ref_ptr< const WGENoOpManipulator >
ConstSPtr;
82 virtual void setByMatrix(
const osg::Matrixd& matrix );
111 virtual void home(
const osgGA::GUIEventAdapter& , osgGA::GUIActionAdapter& us );
118 virtual void init(
const osgGA::GUIEventAdapter& , osgGA::GUIActionAdapter& us );
127 virtual bool handle(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
133 #endif // WGENOOPMANIPULATOR_H