|
Ocean
|
This class encapsulates the tracking pose data. More...
#include <OfflinePose.h>
Public Member Functions | |
| OfflinePose ()=default | |
| Creates a default pose object. | |
| OfflinePose (const unsigned int id, const HomogenousMatrix4 &transformation, const Scalar quality=-1.0) | |
| Creates a new pose object. | |
| const HomogenousMatrix4 & | transformation () const |
| Returns the transformation of this pose. | |
| Scalar | quality () const |
| Returns the abstract quality parameter of this pose. | |
| unsigned int | id () const |
| Returns the id of this frame. | |
| void | setTransformation (const HomogenousMatrix4 &transformation) |
| Sets or changes the transformation of this pose object. | |
| void | setQuality (const Scalar quality) |
| Sets or changes the abstract quality parameters of this pose object. | |
| void | setId (const unsigned int id) |
| Sets or changes the id of this pose object. | |
| bool | isValid () const |
| Returns whether this pose holds a valid transformation. | |
| operator bool () const | |
| Returns whether this object holds a valid id and a valid pose. | |
| bool | operator< (const OfflinePose &object) const |
| Compares two objects and returns whether this object has a higher quality parameter than the second one. | |
Static Public Member Functions | |
| static ShiftVector< HomogenousMatrix4 > | offlinePoses2transformations (const OfflinePoses &offlinePoses) |
| Extracts the transformations from a set of offline pose objects. | |
Protected Attributes | |
| unsigned int | id_ = (unsigned int)(-1) |
| Pose id. | |
| HomogenousMatrix4 | transformation_ = HomogenousMatrix4(false) |
| The transformation of this pose. | |
| Scalar | quality_ = Scalar(-1) |
| Pose quality. | |
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.