OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | List of all members
osg::View::Slave Struct Reference

#include <View.h>

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

Definition at line 97 of file View.h.

Constructor & Destructor Documentation

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

Definition at line 99 of file View.h.

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

Definition at line 102 of file View.h.

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

Definition at line 108 of file View.h.

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

Definition at line 115 of file View.h.

Member Function Documentation

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

Definition at line 117 of file View.h.

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

Definition at line 132 of file View.h.

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

Member Data Documentation

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

Definition at line 140 of file View.h.

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

Definition at line 141 of file View.h.

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

Definition at line 144 of file View.h.

bool osg::View::Slave::_useMastersSceneData

Definition at line 143 of file View.h.

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

Definition at line 142 of file View.h.


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