![]() |
VR-Forces 4.10 Class Documentation
|
simple class to encapsulate the different views in a multiview vr setup More...
Public Member Functions | |
| DtMultiViewData (unsigned int numViews) | |
| virtual | ~DtMultiViewData () |
| virtual const osg::Vec3 & | cullViewOffset () const |
| returns the cullview offset More... | |
| virtual void | setCullViewOffset (const osg::Vec3 &offset) |
| set the cull view offset More... | |
| virtual const osg::Matrix & | projection (unsigned int index) const |
| returns the projection matrix for index view More... | |
| virtual void | setProjection (const osg::Matrix &projection, unsigned int index) |
| sets the projection matrix for index view More... | |
| virtual const osg::Vec3 & | viewOffset (unsigned int index) const |
| returns the view offset for index view More... | |
| virtual void | setViewOffset (const osg::Vec3 &offset, unsigned int index) |
| set the view offset for index view More... | |
Protected Attributes | |
| osg::Vec3 | myCullViewOffset |
| view space offset for the camera when culling so the main camera frustum encapsulates the multiview frustums More... | |
| std::vector< osg::Matrix > | myProjections |
| projection matrix for each view More... | |
| std::vector< osg::Vec3 > | myViewOffsets |
| offsets from the main camera for each view More... | |
Private Member Functions | |
| DtMultiViewData ()=delete | |
| not allowed More... | |
| DtMultiViewData (const DtMultiViewData &rhs)=delete | |
| not allowed More... | |
| DtMultiViewData & | operator= (const DtMultiViewData &rhs)=delete |
| not allowed More... | |
simple class to encapsulate the different views in a multiview vr setup
|
virtual |
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
returns the cullview offset
|
virtual |
set the cull view offset
returns the projection matrix for index view
|
virtual |
sets the projection matrix for index view
returns the view offset for index view
|
virtual |
set the view offset for index view
|
protected |
view space offset for the camera when culling so the main camera frustum encapsulates the multiview frustums
|
protected |
projection matrix for each view
|
protected |
offsets from the main camera for each view