OSG
3.4.0
|
#include <View.h>
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 |
osg::ref_ptr<osg::Camera> osg::View::Slave::_camera |
osg::Matrixd osg::View::Slave::_projectionOffset |
osg::ref_ptr<UpdateSlaveCallback> osg::View::Slave::_updateSlaveCallback |
osg::Matrixd osg::View::Slave::_viewOffset |