OpenSceneGraph
3.0.1
|
Slave allows one to up a camera that follows the master with a local offset to the project and view matrices. More...
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 () |
Slave & | operator= (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 |
Slave allows one to up a camera that follows the master with a local offset to the project and view matrices.
osg::View::Slave::Slave | ( | bool | useMastersSceneData = true | ) | [inline] |
osg::View::Slave::Slave | ( | osg::Camera * | camera, |
const osg::Matrixd & | projectionOffset, | ||
const osg::Matrixd & | viewOffset, | ||
bool | useMastersSceneData = true |
||
) | [inline] |
osg::View::Slave::Slave | ( | const Slave & | rhs | ) | [inline] |
virtual osg::View::Slave::~Slave | ( | ) | [inline, virtual] |
References _camera, _projectionOffset, _viewOffset, _useMastersSceneData, and _updateSlaveCallback.
void osg::View::Slave::updateSlave | ( | View & | view | ) | [inline] |
virtual void osg::View::Slave::updateSlaveImplementation | ( | View & | view | ) | [virtual] |
Referenced by operator=().
Referenced by operator=().
Referenced by operator=().
Referenced by operator=().
![]() | Generated at Mon Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5. |