openscenegraph
Classes | Public Member Functions | Public Attributes | List of all members
osg::View::Slave Struct Reference

Classes

struct  UpdateSlaveCallback
 

Public Member Functions

 Slave (bool useMastersSceneData=true)
 
 Slave (osg::Camera *camera, const osg::Matrixd &projectionOffset, const osg::Matrixd &viewOffset, bool useMastersSceneData=true)
 
 Slave (const Slave &rhs)
 
virtual ~Slave ()
 
Slaveoperator= (const Slave &rhs)
 
void updateSlave (View &view)
 
virtual void updateSlaveImplementation (View &view)
 

Public Attributes

osg::ref_ptr< osg::Camera_camera
 
osg::Matrixd _projectionOffset
 
osg::Matrixd _viewOffset
 
bool _useMastersSceneData
 
osg::ref_ptr< UpdateSlaveCallback_updateSlaveCallback
 

Detailed Description

Slave allows one to up a camera that follows the master with a local offset to the project and view matrices.

Constructor & Destructor Documentation

§ Slave() [1/3]

osg::View::Slave::Slave ( bool  useMastersSceneData = true)
inline

§ Slave() [2/3]

osg::View::Slave::Slave ( osg::Camera camera,
const osg::Matrixd projectionOffset,
const osg::Matrixd viewOffset,
bool  useMastersSceneData = true 
)
inline

§ Slave() [3/3]

osg::View::Slave::Slave ( const Slave rhs)
inline

§ ~Slave()

virtual osg::View::Slave::~Slave ( )
inlinevirtual

Member Function Documentation

§ operator=()

Slave& osg::View::Slave::operator= ( const Slave rhs)
inline

§ updateSlave()

void osg::View::Slave::updateSlave ( View view)
inline

§ updateSlaveImplementation()

virtual void osg::View::Slave::updateSlaveImplementation ( View view)
virtual

Member Data Documentation

§ _camera

osg::ref_ptr<osg::Camera> osg::View::Slave::_camera

§ _projectionOffset

osg::Matrixd osg::View::Slave::_projectionOffset

§ _updateSlaveCallback

osg::ref_ptr<UpdateSlaveCallback> osg::View::Slave::_updateSlaveCallback

§ _useMastersSceneData

bool osg::View::Slave::_useMastersSceneData

§ _viewOffset

osg::Matrixd osg::View::Slave::_viewOffset

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