Added support for handling a user define CoordinateFrame in the flight
and trackball manipulators with API access via the MatrixManipulator base class
This commit is contained in:
@@ -64,6 +64,8 @@ public:
|
||||
|
||||
// Overrides from MatrixManipulator...
|
||||
|
||||
/** set the coordinate frame which tells the manipulator which way is up, east and north.*/
|
||||
virtual void setCoordinateFrame(const osg::CoordinateFrame& cf) { _coordinateFrame = cf; _current->setCoordinateFrame(cf); }
|
||||
|
||||
/** set the position of the matrix manipulator using a 4x4 Matrix.*/
|
||||
virtual void setByMatrix(const osg::Matrixd& matrix) { _current->setByMatrix(matrix); }
|
||||
|
||||
Reference in New Issue
Block a user