BRL-CAD
FrameBufferManipulator Class Reference

#include <osg_fb_manipulator.h>

Inheritance diagram for FrameBufferManipulator:
[legend]
Collaboration diagram for FrameBufferManipulator:
[legend]

Public Member Functions

 FrameBufferManipulator (int flags=DEFAULT_SETTINGS)
 Constructor. More...
 
 FrameBufferManipulator (const FrameBufferManipulator &om, const osg::CopyOp &copyOp=osg::CopyOp::SHALLOW_COPY)
 
 META_Object (osgGA, FrameBufferManipulator)
 
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 void setTransformation (const osg::Vec3d &eye, const osg::Quat &rotation)
 
virtual void setTransformation (const osg::Vec3d &eye, const osg::Vec3d &center, const osg::Vec3d &up)
 
virtual void getTransformation (osg::Vec3d &eye, osg::Quat &rotation) const
 
virtual void getTransformation (osg::Vec3d &eye, osg::Vec3d &center, osg::Vec3d &up) const
 
virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode () const
 
virtual float getFusionDistanceValue () const
 

Protected Attributes

osg::Vec3d _center
 
osg::Quat _rotation
 
double _distance
 
double _minimumDistance
 

Static Protected Attributes

static int _minimumDistanceFlagIndex = allocateRelativeFlag()
 

Detailed Description

FrameBufferManipulator is base class for interacting with a framebuffer .

Definition at line 32 of file osg_fb_manipulator.h.

Constructor & Destructor Documentation

FrameBufferManipulator ( int  flags = DEFAULT_SETTINGS)

Constructor.

Definition at line 72 of file osg_fb_manipulator.h.

FrameBufferManipulator ( const FrameBufferManipulator om,
const osg::CopyOp &  copyOp = osg::CopyOp::SHALLOW_COPY 
)

Member Function Documentation

META_Object ( osgGA  ,
FrameBufferManipulator   
)
void setByMatrix ( const osg::Matrixd &  matrix)
virtual

Set the position of the manipulator using a 4x4 matrix.

Definition at line 87 of file osg_fb_manipulator.h.

References FrameBufferManipulator::_center, FrameBufferManipulator::_distance, and FrameBufferManipulator::_rotation.

Referenced by FrameBufferManipulator::setByInverseMatrix().

void setByInverseMatrix ( const osg::Matrixd &  matrix)
virtual

Set the position of the manipulator using a 4x4 matrix.

Definition at line 99 of file osg_fb_manipulator.h.

References FrameBufferManipulator::setByMatrix().

Here is the call graph for this function:

osg::Matrixd getMatrix ( ) const
virtual

Get the position of the manipulator as 4x4 matrix.

Definition at line 106 of file osg_fb_manipulator.h.

References FrameBufferManipulator::_center, FrameBufferManipulator::_distance, FrameBufferManipulator::_rotation, and translate().

Here is the call graph for this function:

osg::Matrixd getInverseMatrix ( ) const
virtual

Get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.

Definition at line 116 of file osg_fb_manipulator.h.

References FrameBufferManipulator::_center, FrameBufferManipulator::_distance, FrameBufferManipulator::_rotation, and translate().

Here is the call graph for this function:

void setTransformation ( const osg::Vec3d &  eye,
const osg::Quat &  rotation 
)
virtual
void setTransformation ( const osg::Vec3d &  eye,
const osg::Vec3d &  center,
const osg::Vec3d &  up 
)
virtual
void getTransformation ( osg::Vec3d &  eye,
osg::Quat &  rotation 
) const
virtual
void getTransformation ( osg::Vec3d &  eye,
osg::Vec3d &  center,
osg::Vec3d &  up 
) const
virtual
osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode ( ) const
virtual

Get the FusionDistanceMode. Used by SceneView for setting up stereo convergence.

Definition at line 180 of file osg_fb_manipulator.h.

float getFusionDistanceValue ( ) const
virtual

Get the FusionDistanceValue. Used by SceneView for setting up stereo convergence.

Definition at line 186 of file osg_fb_manipulator.h.

References FrameBufferManipulator::_distance.

Field Documentation

double _minimumDistance
protected

Definition at line 63 of file osg_fb_manipulator.h.

int _minimumDistanceFlagIndex = allocateRelativeFlag()
staticprotected

Definition at line 64 of file osg_fb_manipulator.h.


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