![]() |
OpenSceneGraph
|
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.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
References _camera, _projectionOffset, _updateSlaveCallback, _useMastersSceneData, and _viewOffset.
|
inline |
|
virtual |
osg::ref_ptr<osg::Camera> osg::View::Slave::_camera |
Referenced by operator=().
osg::Matrixd osg::View::Slave::_projectionOffset |
Referenced by operator=().
osg::ref_ptr<UpdateSlaveCallback> osg::View::Slave::_updateSlaveCallback |
Referenced by operator=().
bool osg::View::Slave::_useMastersSceneData |
Referenced by operator=().
osg::Matrixd osg::View::Slave::_viewOffset |
Referenced by operator=().