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 More... | |
RaveTransform< T > | operator* (const RaveTransform< T > &r) const |
t = this * r More... | |
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)) More... | |
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
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
RaveVector<T> RaveTransform< T >::rot |
RaveVector<T> RaveTransform< T >::trans |