$search

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 (const Rotation< T > &rotation, const Vec3< T > &translation)
 Pose3D (const Transform< T > &transform)
 Pose3D (const Vec6< T > &pose)
 Pose3D (T x, T y, T z, T roll, T pitch, T yaw)
 Pose3D ()
bool read (InputHandler &ih)
roll () const
void set (const Rotation< T > &rotation, const Vec3< T > &translation)
void set (const Transform< T > &transform)
void set (const Vec6< T > &pose)
void set (T x, T y, T z, T roll, T pitch, T yaw)
void set (const Pose3D &pose)
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 (  )  [inline]

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 
) [inline]

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  )  [inline]

Ctor that initialized from vector

Parameters:
v is the vector to duplicate

Definition at line 99 of file rtcPose3D.h.

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

Ctor that initialized from transform matrix

Parameters:
t is 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 
) [inline]

Ctor that initialized from rotation and translation

Parameters:
rotation is the rotation matrix
translation is the translation vector

Definition at line 118 of file rtcPose3D.h.


Member Function Documentation

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

Returns the rotation.

Definition at line 233 of file rtcPose3D.h.

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

Returns a transform.

Definition at line 241 of file rtcPose3D.h.

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

Returns the translations.

Definition at line 225 of file rtcPose3D.h.

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

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 [inline]

Returns the roll value.

Definition at line 201 of file rtcPose3D.h.

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

Set this pose equal to passed transform

Parameters:
rotation the rotation matrix
translation the translation vector

Definition at line 167 of file rtcPose3D.h.

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

Set this pose equal to passed transform

Parameters:
t the transform matrix

Definition at line 155 of file rtcPose3D.h.

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

Set this pose equal to passed vector

Parameters:
v the vector to replicate

Definition at line 146 of file rtcPose3D.h.

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

Set all elements at once.

Definition at line 128 of file rtcPose3D.h.

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

Set this pose equal to passed pose

Parameters:
p the pose to replicate

Definition at line 137 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 [inline]

Returns the x value.

Definition at line 177 of file rtcPose3D.h.

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

Returns the y value.

Definition at line 185 of file rtcPose3D.h.

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

Returns the yaw value.

Definition at line 217 of file rtcPose3D.h.

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtc
Author(s): Benjamin Pitzer
autogenerated on Sun Mar 3 11:08:32 2013