Ocean
|
The data object encapsulating a 6DOF camera pose. More...
#include <Database.h>
Public Member Functions | |
PoseData (const HomogenousMatrix4 &world_T_camera=HomogenousMatrix4(false), const Scalar fov=-1) | |
Creates a new object with specified pose. | |
const HomogenousMatrix4 & | pose () const |
Returns the pose of this object. | |
Scalar | fov () const |
Returns the field of view value of this object. | |
void | setPose (const HomogenousMatrix4 &world_T_camera) |
Sets (changes) the pose of this object. | |
void | setFov (const Scalar fov) |
Sets (changes) the field of view value of this object. | |
![]() | |
const IndexSet32 & | imagePointIds () const |
Returns the image point ids of this object. | |
void | registerImagePoint (const Index32 imagePointId) |
Registers (adds) a new image point id at this data object. | |
void | unregisterImagePoint (const Index32 imagePointId) |
Unregisters (removes) an image point id from this data object. | |
Protected Attributes | |
HomogenousMatrix4 | world_T_camera_ |
The pose of this object. | |
Scalar | dataFov |
The field of view value of this object. | |
![]() | |
IndexSet32 | dataImagePointIds |
The set of registered image point ids of this object. | |
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.