§ CamPoseData()
CamPoseData::CamPoseData |
( |
double |
fov | ) |
|
Default constructor. Creates an empty instance without initializing the structure.
§ 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()
- 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()
- 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:
- src/libSGEntities/CamPoseData.h
- src/libSGEntities/CamPoseData.cpp