OpenFrames
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OpenFrames::FollowingTrackball Class Reference

Defines transforms that can perform complex view transformations. More...

#include <View.hpp>

Inheritance diagram for OpenFrames::FollowingTrackball:
OpenFrames::OpenVRTrackball

Public Member Functions

virtual const char * className () const
 
void setTransformSources (TransformAccumulator *xform, TransformAccumulator *xform_lookat, View::ViewFrameType frameType, View::ViewRotationType rotationType)
 
virtual osg::Matrixd getMatrix () const
 
virtual osg::Matrixd getInverseMatrix () const
 
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us)
 

Protected Member Functions

virtual void saveState ()
 
virtual void restoreState ()
 
virtual void resetState ()
 
void computeWorldToViewMatrix (osg::Matrixd &matrix) const
 

Protected Attributes

osg::observer_ptr< TransformAccumulator_xform
 
osg::observer_ptr< TransformAccumulator_xform_lookat
 
View::ViewFrameType _frameType
 
View::ViewRotationType _rotationType
 

Friends

class View
 

Detailed Description

Defines transforms that can perform complex view transformations.

Defines a transform that can perform complex view transformations in addition to applying the user's trackball inputs. Transforms include viewing a specified ReferenceFrame, in body-fixed or absolute coordinates, or looking from one ReferenceFrame to another.


The documentation for this class was generated from the following file: