14 #ifndef OSGGA_NODE_TRACKER_MANIPULATOR
15 #define OSGGA_NODE_TRACKER_MANIPULATOR 1
17 #include <osgGA/OrbitManipulator>
18 #include <osg/ObserverNodePath>
57 NODE_CENTER_AND_ROTATION
60 void setTrackerMode(TrackerMode mode);
74 void setRotationMode(RotationMode mode);
75 RotationMode getRotationMode()
const;
84 virtual void computeHomePosition();
88 virtual bool performMovementLeftMouseButton(
const double eventTimeDelta,
const double dx,
const double dy);
89 virtual bool performMovementMiddleMouseButton(
const double eventTimeDelta,
const double dx,
const double dy);
90 virtual bool performMovementRightMouseButton(
const double eventTimeDelta,
const double dx,
const double dy);
92 void computeNodeWorldToLocal(
osg::Matrixd& worldToLocal)
const;
93 void computeNodeLocalToWorld(
osg::Matrixd& localToWorld)
const;
TrackerMode getTrackerMode() const
osg::ObserverNodePath & getTrackNodePath()
const osg::Node * getTrackNode() const
#define META_Object(library, name)
osg::Node * getTrackNode()
void setTrackNodePath(const osg::ObserverNodePath &nodePath)
std::vector< Node * > NodePath
osg::ObserverNodePath _trackNodePath