affine transformation parameterized with quaterions More...
#include <math.h>
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) |
affine transformation parameterized with quaterions
RaveTransform< T >::RaveTransform | ( | ) | [inline] |
RaveTransform< T >::RaveTransform | ( | const RaveTransform< U > & | t | ) | [inline] |
RaveTransform< T >::RaveTransform | ( | const RaveVector< U > & | rot, |
const RaveVector< U > & | trans | ||
) | [inline] |
RaveTransform< T >::RaveTransform | ( | const RaveTransformMatrix< T > & | t | ) | [inline] |
void RaveTransform< T >::identity | ( | ) | [inline] |
RaveTransform<T> RaveTransform< T >::inverse | ( | ) | const [inline] |
RaveVector<T> RaveTransform< T >::operator* | ( | const RaveVector< T > & | r | ) | const [inline] |
RaveTransform<T> RaveTransform< T >::operator* | ( | const RaveTransform< T > & | r | ) | const [inline] |
RaveTransform<T>& RaveTransform< T >::operator*= | ( | const RaveTransform< T > & | right | ) | [inline] |
RaveVector<T> RaveTransform< T >::rotate | ( | const RaveVector< T > & | r | ) | const [inline] |
void RaveTransform< T >::rotfromaxisangle | ( | const RaveVector< U > & | axis, |
U | angle | ||
) | [inline] |
std::basic_ostream<S>& operator<< | ( | std::basic_ostream< S > & | O, |
const RaveTransform< U > & | v | ||
) | [friend] |
std::basic_istream<S>& operator>> | ( | std::basic_istream< S > & | I, |
RaveTransform< U > & | v | ||
) | [friend] |
RaveVector<T> RaveTransform< T >::rot |
RaveVector<T> RaveTransform< T >::trans |