xvsdk  3.2.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
xv::details::PoseQuat_< F > Class Template Reference

Public Member Functions

 PoseQuat_ (double t, TransformQuat_< F >const &tr={})
 
 PoseQuat_ (std::int64_t t, TransformQuat_< F >const &tr={})
 
 PoseQuat_ (double t, std::int64_t te, TransformQuat_< F >const &tr={})
 
std::int64_t edgeTimestampUs () const
 Get the edge timestamp of the pose (in microseconds).
 
void setEdgeTimestampUs (std::int64_t t)
 Set the edge timestamp of the pose (in microseconds).
 
double hostTimestamp () const
 Get the host timestamp corresponding to the pose (in s).
 
void setHostTimestamp (double t)
 Set the host timestamp corresponding to the pose (in s).
 
TransformQuat_operator*= (TransformQuat_ const &q)
 
Vector3< double > const & translation () const
 
void setTranslation (Vector3< double > const &v)
 
void setTranslation (double const *v)
 
Vector4< double > const & quaternion () const
 Get the quaternion [qx,qy,qz,qw] of the rotation.
 
void setQuaternion (Vector4< double > const &v)
 Set the quaternion [qx,qy,qz,qw] of the rotation.
 
void setQuaternion (double const *v)
 Set the quaternion [qx,qy,qz,qw] of the rotation using pointer to 4D array.
 
double x () const
 X coordinate of the translation.
 
double y () const
 Y coordinate of the translation.
 
double z () const
 Z coordinate of the translation.
 
double qx () const
 qx quaternion composant
 
double qy () const
 qx quaternion composant
 
double qz () const
 qx quaternion composant
 
double qw () const
 qx quaternion composant
 

Static Public Member Functions

static TransformQuat_ Identity ()
 

Protected Attributes

Vector3< double > m_translation
 
Vector4< double > m_quaternions
 

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