cherish
Public Member Functions | Static Public Member Functions | List of all members
entity::CamPoseData Class Reference
Inheritance diagram for entity::CamPoseData:
osg::ProtectedGroup

Public Member Functions

 CamPoseData (double fov)
 
void setTransform (osg::Matrix m)
 
void setVisibility (bool visibility)
 
bool getVisibility () const
 
entity::EditableWiregetWire () const
 
bool getCamera (osg::Vec3f &eye, osg::Vec3f &center, osg::Vec3f &up, double &fov2)
 
- Public Member Functions inherited from osg::ProtectedGroup
 ProtectedGroup (const ProtectedGroup &group, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 

Static Public Member Functions

static entity::CamPoseDatagetParentCamPose (entity::EditableWire *wire)
 

Constructor & Destructor Documentation

§ CamPoseData()

CamPoseData::CamPoseData ( double  fov)

Default constructor. Creates an empty instance without initializing the structure.

Member Function Documentation

§ getCamera()

bool CamPoseData::getCamera ( osg::Vec3f &  eye,
osg::Vec3f &  center,
osg::Vec3f &  up,
double &  fov2 
)

A method to obtain camera pose from the parameters of the wire geometry.

§ getParentCamPose()

entity::CamPoseData * CamPoseData::getParentCamPose ( entity::EditableWire wire)
static
Returns
pointer on parent CamPoseData structure of the given wire.

§ getVisibility()

bool CamPoseData::getVisibility ( ) const
Returns
whether the wire geometries are visible (true) or not (false).

§ getWire()

entity::EditableWire * CamPoseData::getWire ( ) const
Returns
The wire geometries.

§ setTransform()

void CamPoseData::setTransform ( osg::Matrix  m)

A method to set up world to local matrix transform for the wire.

§ setVisibility()

void CamPoseData::setVisibility ( bool  visibility)

Method to set up visibility of geometries.


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