|
Public Member Functions |
| TrackballManipulator () |
virtual const char * | className () const |
void | setMinimumZoomScale (float minimumZoomScale) |
float | getMinimumZoomScale () const |
virtual void | setByMatrix (const osg::Matrixd &matrix) |
virtual void | setByInverseMatrix (const osg::Matrixd &matrix) |
virtual osg::Matrixd | getMatrix () const |
virtual osg::Matrixd | getInverseMatrix () const |
virtual osgUtil::SceneView::FusionDistanceMode | getFusionDistanceMode () const |
virtual float | getFusionDistanceValue () const |
virtual void | setNode (osg::Node *) |
virtual const osg::Node * | getNode () const |
virtual osg::Node * | getNode () |
virtual void | home (const GUIEventAdapter &ea, GUIActionAdapter &us) |
virtual void | init (const GUIEventAdapter &ea, GUIActionAdapter &us) |
virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &us) |
virtual void | getUsage (osg::ApplicationUsage &usage) const |
Protected Member Functions |
virtual | ~TrackballManipulator () |
void | flushMouseEventStack () |
void | addMouseEvent (const GUIEventAdapter &ea) |
void | computePosition (const osg::Vec3 &eye, const osg::Vec3 &lv, const osg::Vec3 &up) |
bool | calcMovement () |
void | trackball (osg::Vec3 &axis, float &angle, float p1x, float p1y, float p2x, float p2y) |
float | tb_project_to_sphere (float r, float x, float y) |
bool | isMouseMoving () |
Protected Attributes |
osg::ref_ptr< const GUIEventAdapter > | _ga_t1 |
osg::ref_ptr< const GUIEventAdapter > | _ga_t0 |
osg::ref_ptr< osg::Node > | _node |
double | _modelScale |
double | _minimumZoomScale |
bool | _thrown |
osg::Vec3d | _center |
osg::Quat | _rotation |
double | _distance |