VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtMultiViewData Class Reference

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...
 
DtMultiViewDataoperator= (const DtMultiViewData &rhs)=delete
 not allowed More...
 

Detailed Description

simple class to encapsulate the different views in a multiview vr setup

Constructor & Destructor Documentation

makVrv::DtMultiViewData::DtMultiViewData ( unsigned int  numViews)
virtual makVrv::DtMultiViewData::~DtMultiViewData ( )
virtual
makVrv::DtMultiViewData::DtMultiViewData ( )
privatedelete

not allowed

makVrv::DtMultiViewData::DtMultiViewData ( const DtMultiViewData rhs)
privatedelete

not allowed

Member Function Documentation

DtMultiViewData& makVrv::DtMultiViewData::operator= ( const DtMultiViewData rhs)
privatedelete

not allowed

virtual const osg::Vec3& makVrv::DtMultiViewData::cullViewOffset ( ) const
virtual

returns the cullview offset

virtual void makVrv::DtMultiViewData::setCullViewOffset ( const osg::Vec3 &  offset)
virtual

set the cull view offset

virtual const osg::Matrix& makVrv::DtMultiViewData::projection ( unsigned int  index) const
virtual

returns the projection matrix for index view

virtual void makVrv::DtMultiViewData::setProjection ( const osg::Matrix &  projection,
unsigned int  index 
)
virtual

sets the projection matrix for index view

virtual const osg::Vec3& makVrv::DtMultiViewData::viewOffset ( unsigned int  index) const
virtual

returns the view offset for index view

virtual void makVrv::DtMultiViewData::setViewOffset ( const osg::Vec3 &  offset,
unsigned int  index 
)
virtual

set the view offset for index view

Member Data Documentation

osg::Vec3 makVrv::DtMultiViewData::myCullViewOffset
protected

view space offset for the camera when culling so the main camera frustum encapsulates the multiview frustums

std::vector<osg::Matrix> makVrv::DtMultiViewData::myProjections
protected

projection matrix for each view

std::vector<osg::Vec3> makVrv::DtMultiViewData::myViewOffsets
protected

offsets from the main camera for each view


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)