![]() |
VR-Forces 4.8 Class Documentation
|
simple class to encapsulate the different views in a multiview vr setup More...
Public Member Functions | |
| DtMultiViewData (unsigned int numViews=2) | |
| const osg::Vec3 & | cullViewOffset () const |
| returns the cullview offset More... | |
| void | setCullViewOffset (const osg::Vec3 &offset) |
| set the cull view offset More... | |
| const osg::Matrix & | projection (unsigned int index) const |
| returns the projection matrix for index view More... | |
| void | setProjection (const osg::Matrix &projection, unsigned int index) |
| sets the projection matrix for index view More... | |
| const osg::Vec3 & | viewOffset (unsigned int index) const |
| returns the view offset for index view More... | |
| 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... | |
simple class to encapsulate the different views in a multiview vr setup
| const osg::Vec3& makVrv::DtMultiViewData::cullViewOffset | ( | ) | const |
returns the cullview offset
| void makVrv::DtMultiViewData::setCullViewOffset | ( | const osg::Vec3 & | offset | ) |
set the cull view offset
returns the projection matrix for index view
sets the projection matrix for index view
returns the view offset for index view
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