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

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

Collaboration diagram for osg::View::Slave:
Collaboration graph
[legend]

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)
 
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.


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