42 virtual const osg::Matrix& cullViewOffset()
const;
45 virtual void setCullViewOffset(
const osg::Matrix&
offset);
48 virtual const osg::Matrix& projection(
unsigned int index)
const;
51 virtual void setProjection(
const osg::Matrix& projection,
unsigned int index);
54 virtual const osg::Matrix& viewOffset(
unsigned int index)
const;
57 virtual void setViewOffset(
const osg::Matrix& offset,
unsigned int index);
60 virtual const osg::Camera* parentView()
const;
63 virtual void setParentView(osg::Camera* parent);
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::vector< osg::Matrix > myProjections
projection matrix for each view
Definition: DtMultiViewData.h:70
osg::Camera * myParentCamera
varjo at the moment has two multiview channels, this variable represents the parent camera i...
Definition: DtMultiViewData.h:76
simple class to encapsulate the different views in a multiview vr setup
Definition: DtMultiViewData.h:23
std::vector< osg::Matrix > myViewOffsets
offsets from the main camera for each view
Definition: DtMultiViewData.h:73
Contains DLL export macros.
osg::Matrix myCullViewOffset
view space offset for the camera when culling so the main camera frustum encapsulates the multiview f...
Definition: DtMultiViewData.h:67
voidpf uLong offset
Definition: ioapi.h:42