Ocean
Ocean::Tracking::Database::PoseData Class Reference

The data object encapsulating a 6DOF camera pose. More...

Inheritance diagram for Ocean::Tracking::Database::PoseData:

Public Member Functions

 PoseData (const HomogenousMatrix4 &world_T_camera=HomogenousMatrix4(false), const Scalar fov=-1)
 Creates a new object with specified pose. More...
 
const HomogenousMatrix4pose () const
 Returns the pose of this object. More...
 
Scalar fov () const
 Returns the field of view value of this object. More...
 
void setPose (const HomogenousMatrix4 &world_T_camera)
 Sets (changes) the pose of this object. More...
 
void setFov (const Scalar fov)
 Sets (changes) the field of view value of this object. More...
 
- Public Member Functions inherited from Ocean::Tracking::Database::Data
const IndexSet32imagePointIds () const
 Returns the image point ids of this object. More...
 
void registerImagePoint (const Index32 imagePointId)
 Registers (adds) a new image point id at this data object. More...
 
void unregisterImagePoint (const Index32 imagePointId)
 Unregisters (removes) an image point id from this data object. More...
 

Protected Attributes

HomogenousMatrix4 world_T_camera_
 The pose of this object. More...
 
Scalar dataFov
 The field of view value of this object. More...
 
- Protected Attributes inherited from Ocean::Tracking::Database::Data
IndexSet32 dataImagePointIds
 The set of registered image point ids of this object. More...
 

Detailed Description

The data object encapsulating a 6DOF camera pose.

Constructor & Destructor Documentation

◆ PoseData()

Ocean::Tracking::Database::PoseData::PoseData ( const HomogenousMatrix4 world_T_camera = HomogenousMatrix4(false),
const Scalar  fov = -1 
)
inlineexplicit

Creates a new object with specified pose.

Parameters
world_T_cameraThe pose of this object, may be invalid if e.g., unknown at this moment
fovThe fov value of this object, may be invalid if e.g., unknown at this moment

Member Function Documentation

◆ fov()

Scalar Ocean::Tracking::Database::PoseData::fov ( ) const
inline

Returns the field of view value of this object.

Returns
The fov value, may be invalid

◆ pose()

const HomogenousMatrix4 & Ocean::Tracking::Database::PoseData::pose ( ) const
inline

Returns the pose of this object.

Returns
The object's pose, may be invalid

◆ setFov()

void Ocean::Tracking::Database::PoseData::setFov ( const Scalar  fov)
inline

Sets (changes) the field of view value of this object.

Parameters
fovThe fov value to be set, may be invalid

◆ setPose()

void Ocean::Tracking::Database::PoseData::setPose ( const HomogenousMatrix4 world_T_camera)
inline

Sets (changes) the pose of this object.

Parameters
world_T_cameraThe pose to be set, may be invalid

Field Documentation

◆ dataFov

Scalar Ocean::Tracking::Database::PoseData::dataFov
protected

The field of view value of this object.

◆ world_T_camera_

HomogenousMatrix4 Ocean::Tracking::Database::PoseData::world_T_camera_
protected

The pose of this object.


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