42 virtual const osg::Vec3& cullViewOffset()
const;
45 virtual void setCullViewOffset(
const osg::Vec3&
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::Vec3& viewOffset(
unsigned int index)
const;
57 virtual void setViewOffset(
const osg::Vec3& offset,
unsigned int index);
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::vector< osg::Vec3 > myViewOffsets
offsets from the main camera for each view
Definition: DtMultiViewData.h:67
std::vector< osg::Matrix > myProjections
projection matrix for each view
Definition: DtMultiViewData.h:64
osg::Vec3 myCullViewOffset
view space offset for the camera when culling so the main camera frustum encapsulates the multiview f...
Definition: DtMultiViewData.h:61
simple class to encapsulate the different views in a multiview vr setup
Definition: DtMultiViewData.h:23
Contains DLL export macros.
voidpf uLong offset
Definition: ioapi.h:42