Public Member Functions | Public Attributes
rtc::Pose3D< T > Class Template Reference

#include <rtcPose3D.h>

List of all members.

Public Member Functions

Rotation< T > getRotation () const
Transform< T > getTransform () const
Vec3< T > getTranslation () const
pitch () const
 Pose3D ()
 Pose3D (T x, T y, T z, T roll, T pitch, T yaw)
 Pose3D (const Vec6< T > &pose)
 Pose3D (const Transform< T > &transform)
 Pose3D (const Rotation< T > &rotation, const Vec3< T > &translation)
bool read (InputHandler &ih)
roll () const
void set (const Pose3D &pose)
void set (T x, T y, T z, T roll, T pitch, T yaw)
void set (const Vec6< T > &pose)
void set (const Transform< T > &transform)
void set (const Rotation< T > &rotation, const Vec3< T > &translation)
bool write (OutputHandler &oh) const
x () const
y () const
yaw () const
z () const

Public Attributes

Vec6< T > p

Detailed Description

template<class T>
class rtc::Pose3D< T >

6 DoF Pose Class

Definition at line 34 of file rtcPose3D.h.


Constructor & Destructor Documentation

template<class T >
rtc::Pose3D< T >::Pose3D ( )

Ctor that does no initalization.

Definition at line 81 of file rtcPose3D.h.

template<class T>
rtc::Pose3D< T >::Pose3D ( _x,
_y,
_z,
_roll,
_pitch,
_yaw 
)

Ctor that initializes all elements from a scalars.

Definition at line 90 of file rtcPose3D.h.

template<class T>
rtc::Pose3D< T >::Pose3D ( const Vec6< T > &  v)

Ctor that initialized from vector

Parameters:
vis the vector to duplicate

Definition at line 99 of file rtcPose3D.h.

template<class T>
rtc::Pose3D< T >::Pose3D ( const Transform< T > &  t)

Ctor that initialized from transform matrix

Parameters:
tis the transform matrix

Definition at line 108 of file rtcPose3D.h.

template<class T>
rtc::Pose3D< T >::Pose3D ( const Rotation< T > &  rotation,
const Vec3< T > &  translation 
)

Ctor that initialized from rotation and translation

Parameters:
rotationis the rotation matrix
translationis the translation vector

Definition at line 118 of file rtcPose3D.h.


Member Function Documentation

template<class T >
Rotation< T > rtc::Pose3D< T >::getRotation ( ) const

Returns the rotation.

Definition at line 233 of file rtcPose3D.h.

template<class T >
Transform< T > rtc::Pose3D< T >::getTransform ( ) const

Returns a transform.

Definition at line 241 of file rtcPose3D.h.

template<class T >
Vec3< T > rtc::Pose3D< T >::getTranslation ( ) const

Returns the translations.

Definition at line 225 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::pitch ( ) const

Returns the pitch value.

Definition at line 209 of file rtcPose3D.h.

template<class T >
bool rtc::Pose3D< T >::read ( InputHandler ih) [inline]

Restores state from a binary stream.

Definition at line 256 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::roll ( ) const

Returns the roll value.

Definition at line 201 of file rtcPose3D.h.

template<class T >
void rtc::Pose3D< T >::set ( const Pose3D< T > &  p)

Set this pose equal to passed pose

Parameters:
pthe pose to replicate

Definition at line 137 of file rtcPose3D.h.

template<class T>
void rtc::Pose3D< T >::set ( _x,
_y,
_z,
_roll,
_pitch,
_yaw 
)

Set all elements at once.

Definition at line 128 of file rtcPose3D.h.

template<class T>
void rtc::Pose3D< T >::set ( const Vec6< T > &  v)

Set this pose equal to passed vector

Parameters:
vthe vector to replicate

Definition at line 146 of file rtcPose3D.h.

template<class T>
void rtc::Pose3D< T >::set ( const Transform< T > &  t)

Set this pose equal to passed transform

Parameters:
tthe transform matrix

Definition at line 155 of file rtcPose3D.h.

template<class T>
void rtc::Pose3D< T >::set ( const Rotation< T > &  rotation,
const Vec3< T > &  translation 
)

Set this pose equal to passed transform

Parameters:
rotationthe rotation matrix
translationthe translation vector

Definition at line 167 of file rtcPose3D.h.

template<class T >
bool rtc::Pose3D< T >::write ( OutputHandler oh) const [inline]

Writes state to a binary stream.

Definition at line 249 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::x ( ) const

Returns the x value.

Definition at line 177 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::y ( ) const

Returns the y value.

Definition at line 185 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::yaw ( ) const

Returns the yaw value.

Definition at line 217 of file rtcPose3D.h.

template<class T >
T rtc::Pose3D< T >::z ( ) const

Returns the z value.

Definition at line 193 of file rtcPose3D.h.


Member Data Documentation

template<class T>
Vec6<T> rtc::Pose3D< T >::p

Definition at line 66 of file rtcPose3D.h.


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


rtc
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:07:35