Public Member Functions | Public Attributes | Friends
RaveTransform< T > Class Template Reference

affine transformation parameterized with quaterions More...

#include <math.h>

List of all members.

Public Member Functions

void identity ()
RaveTransform< T > inverse () const
RaveVector< T > operator* (const RaveVector< T > &r) const
 transform a 3 dim vector
RaveTransform< T > operator* (const RaveTransform< T > &r) const
 t = this * r
RaveTransform< T > & operator*= (const RaveTransform< T > &right)
 RaveTransform ()
template<class U >
 RaveTransform (const RaveTransform< U > &t)
template<class U >
 RaveTransform (const RaveVector< U > &rot, const RaveVector< U > &trans)
 RaveTransform (const RaveTransformMatrix< T > &t)
RaveVector< T > rotate (const RaveVector< T > &r) const
template<class U >
void rotfromaxisangle (const RaveVector< U > &axis, U angle)

Public Attributes

RaveVector< T > rot
RaveVector< T > trans
 rot is a quaternion=(cos(ang/2),axisx*sin(ang/2),axisy*sin(ang/2),axisz*sin(ang/2))

Friends

template<class S , class U >
std::basic_ostream< S > & operator<< (std::basic_ostream< S > &O, const RaveTransform< U > &v)
template<class S , class U >
std::basic_istream< S > & operator>> (std::basic_istream< S > &I, RaveTransform< U > &v)

Detailed Description

template<class T>
class RaveTransform< T >

affine transformation parameterized with quaterions

Definition at line 362 of file math.h.


Constructor & Destructor Documentation

template<class T>
RaveTransform< T >::RaveTransform ( ) [inline]

Definition at line 365 of file math.h.

template<class T>
template<class U >
RaveTransform< T >::RaveTransform ( const RaveTransform< U > &  t) [inline]

Definition at line 366 of file math.h.

template<class T>
template<class U >
RaveTransform< T >::RaveTransform ( const RaveVector< U > &  rot,
const RaveVector< U > &  trans 
) [inline]

Definition at line 370 of file math.h.

template<class T >
RaveTransform< T >::RaveTransform ( const RaveTransformMatrix< T > &  t) [inline]

Definition at line 572 of file math.h.


Member Function Documentation

template<class T>
void RaveTransform< T >::identity ( ) [inline]

Definition at line 373 of file math.h.

template<class T>
RaveTransform<T> RaveTransform< T >::inverse ( ) const [inline]

Definition at line 427 of file math.h.

template<class T>
RaveVector<T> RaveTransform< T >::operator* ( const RaveVector< T > &  r) const [inline]

transform a 3 dim vector

Definition at line 388 of file math.h.

template<class T>
RaveTransform<T> RaveTransform< T >::operator* ( const RaveTransform< T > &  r) const [inline]

t = this * r

Definition at line 411 of file math.h.

template<class T>
RaveTransform<T>& RaveTransform< T >::operator*= ( const RaveTransform< T > &  right) [inline]

Definition at line 422 of file math.h.

template<class T>
RaveVector<T> RaveTransform< T >::rotate ( const RaveVector< T > &  r) const [inline]

Definition at line 392 of file math.h.

template<class T>
template<class U >
void RaveTransform< T >::rotfromaxisangle ( const RaveVector< U > &  axis,
angle 
) [inline]

Definition at line 379 of file math.h.


Friends And Related Function Documentation

template<class T>
template<class S , class U >
std::basic_ostream<S>& operator<< ( std::basic_ostream< S > &  O,
const RaveTransform< U > &  v 
) [friend]
template<class T>
template<class S , class U >
std::basic_istream<S>& operator>> ( std::basic_istream< S > &  I,
RaveTransform< U > &  v 
) [friend]

Member Data Documentation

template<class T>
RaveVector<T> RaveTransform< T >::rot

Definition at line 441 of file math.h.

template<class T>
RaveVector<T> RaveTransform< T >::trans

rot is a quaternion=(cos(ang/2),axisx*sin(ang/2),axisy*sin(ang/2),axisz*sin(ang/2))

Definition at line 441 of file math.h.


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


checkerboard_detector
Author(s): Rosen Diankov (rdiankov@cs.cmu.edu)
autogenerated on Mon Oct 6 2014 01:16:45