Ocean
|
This class encapsulates the tracking pose data. More...
Public Member Functions | |
OfflinePose ()=default | |
Creates a default pose object. More... | |
OfflinePose (const unsigned int id, const HomogenousMatrix4 &transformation, const Scalar quality=-1.0) | |
Creates a new pose object. More... | |
const HomogenousMatrix4 & | transformation () const |
Returns the transformation of this pose. More... | |
Scalar | quality () const |
Returns the abstract quality parameter of this pose. More... | |
unsigned int | id () const |
Returns the id of this frame. More... | |
void | setTransformation (const HomogenousMatrix4 &transformation) |
Sets or changes the transformation of this pose object. More... | |
void | setQuality (const Scalar quality) |
Sets or changes the abstract quality parameters of this pose object. More... | |
void | setId (const unsigned int id) |
Sets or changes the id of this pose object. More... | |
bool | isValid () const |
Returns whether this pose holds a valid transformation. More... | |
operator bool () const | |
Returns whether this object holds a valid id and a valid pose. More... | |
bool | operator< (const OfflinePose &object) const |
Compares two objects and returns whether this object has a higher quality parameter than the second one. More... | |
Static Public Member Functions | |
static ShiftVector< HomogenousMatrix4 > | offlinePoses2transformations (const OfflinePoses &offlinePoses) |
Extracts the transformations from a set of offline pose objects. More... | |
Protected Attributes | |
unsigned int | id_ = (unsigned int)(-1) |
Pose id. More... | |
HomogenousMatrix4 | transformation_ = HomogenousMatrix4(false) |
The transformation of this pose. More... | |
Scalar | quality_ = Scalar(-1) |
Pose quality. More... | |
This class encapsulates the tracking pose data.
The pose is combined with a unique id and an abstract quality parameters.
|
default |
Creates a default pose object.
|
inline |
Creates a new pose object.
id | The id of the pose |
transformation | The transformation of this pose |
quality | Abstract quality parameter of the pose |
|
inline |
Returns the id of this frame.
|
inline |
Returns whether this pose holds a valid transformation.
|
inlinestatic |
Extracts the transformations from a set of offline pose objects.
offlinePoses | Offline pose object from that the transformations will be extracted |
|
inlineexplicit |
Returns whether this object holds a valid id and a valid pose.
|
inline |
Compares two objects and returns whether this object has a higher quality parameter than the second one.
object | Second pose object |
|
inline |
Returns the abstract quality parameter of this pose.
This parameter might have individual meanings for individual tracker implementations.
|
inline |
Sets or changes the id of this pose object.
id | Id to be set |
|
inline |
Sets or changes the abstract quality parameters of this pose object.
quality | The quality to be set |
|
inline |
Sets or changes the transformation of this pose object.
transformation | The transformation to be set |
|
inline |
Returns the transformation of this pose.
|
protected |
Pose id.
|
protected |
The transformation of this pose.