Ocean
|
The data object encapsulating a 6DOF camera pose. More...
Public Member Functions | |
PoseData (const HomogenousMatrix4 &world_T_camera=HomogenousMatrix4(false), const Scalar fov=-1) | |
Creates a new object with specified pose. More... | |
const HomogenousMatrix4 & | pose () 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 IndexSet32 & | imagePointIds () 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... | |
The data object encapsulating a 6DOF camera pose.
|
inlineexplicit |
Creates a new object with specified pose.
world_T_camera | The pose of this object, may be invalid if e.g., unknown at this moment |
fov | The fov value of this object, may be invalid if e.g., unknown at this moment |
|
inline |
Returns the field of view value of this object.
|
inline |
Returns the pose of this object.
|
inline |
Sets (changes) the field of view value of this object.
fov | The fov value to be set, may be invalid |
|
inline |
Sets (changes) the pose of this object.
world_T_camera | The pose to be set, may be invalid |
|
protected |
The field of view value of this object.
|
protected |
The pose of this object.