All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
fcl::Matrix3fX< T > Class Template Reference

Matrix2 class wrapper. the core data is in the template parameter class. More...

#include <matrix_3f.h>

List of all members.

Public Types

typedef T::vector_type S
typedef T::meta_type U

Public Member Functions

Matrix3fX< T > & abs ()
U determinant () const
U dot (size_t i, const Vec3fX< S > &v) const
U dotX (const Vec3fX< S > &v) const
U dotY (const Vec3fX< S > &v) const
U dotZ (const Vec3fX< S > &v) const
Vec3fX< SgetColumn (size_t i) const
Vec3fX< SgetRow (size_t i) const
Matrix3fX< T > & inverse ()
 Matrix3fX ()
 Matrix3fX (U xx, U xy, U xz, U yx, U yy, U yz, U zx, U zy, U zz)
 Matrix3fX (const Vec3fX< S > &v1, const Vec3fX< S > &v2, const Vec3fX< S > &v3)
 Matrix3fX (const Matrix3fX< T > &other)
 Matrix3fX (const T &data_)
U operator() (size_t i, size_t j) const
Uoperator() (size_t i, size_t j)
Vec3fX< Soperator* (const Vec3fX< S > &v) const
Matrix3fX< T > operator* (const Matrix3fX< T > &m) const
Matrix3fX< T > operator* (U c) const
Matrix3fX< T > & operator*= (const Matrix3fX< T > &other)
Matrix3fX< T > & operator*= (U c)
Matrix3fX< T > operator+ (const Matrix3fX< T > &other) const
Matrix3fX< T > operator+ (U c) const
Matrix3fX< T > & operator+= (const Matrix3fX< T > &other)
Matrix3fX< T > & operator+= (U c)
Matrix3fX< T > operator- (const Matrix3fX< T > &other) const
Matrix3fX< T > operator- (U c) const
Matrix3fX< T > & operator-= (const Matrix3fX< T > &other)
Matrix3fX< T > & operator-= (U c)
Matrix3fX< T > operator/ (U c) const
Matrix3fX< T > & operator/= (U c)
void setEulerYPR (FCL_REAL yaw, FCL_REAL pitch, FCL_REAL roll)
 Set the matrix from euler angles using YPR around YXZ respectively.
void setEulerZYX (FCL_REAL eulerX, FCL_REAL eulerY, FCL_REAL eulerZ)
 Set the matrix from euler angles YPR around ZYX axes.
void setIdentity ()
void setValue (U xx, U xy, U xz, U yx, U yy, U yz, U zx, U zy, U zz)
void setValue (U x)
void setZero ()
Matrix3fX< T > tensorTransform (const Matrix3fX< T > &m) const
Matrix3fX< T > timesTranspose (const Matrix3fX< T > &other) const
Matrix3fX< T > & transpose ()
U transposeDot (size_t i, const Vec3fX< S > &v) const
U transposeDotX (const Vec3fX< S > &v) const
U transposeDotY (const Vec3fX< S > &v) const
U transposeDotZ (const Vec3fX< S > &v) const
Matrix3fX< T > transposeTimes (const Matrix3fX< T > &other) const
Vec3fX< StransposeTimes (const Vec3fX< S > &v) const

Static Public Member Functions

static const Matrix3fX< T > & getIdentity ()

Public Attributes

data

Detailed Description

template<typename T>
class fcl::Matrix3fX< T >

Matrix2 class wrapper. the core data is in the template parameter class.

Definition at line 47 of file matrix_3f.h.


Member Typedef Documentation

template<typename T>
typedef T::vector_type fcl::Matrix3fX< T >::S

Definition at line 51 of file matrix_3f.h.

template<typename T>
typedef T::meta_type fcl::Matrix3fX< T >::U

Definition at line 50 of file matrix_3f.h.


Constructor & Destructor Documentation

template<typename T>
fcl::Matrix3fX< T >::Matrix3fX ( ) [inline]

Definition at line 54 of file matrix_3f.h.

template<typename T>
fcl::Matrix3fX< T >::Matrix3fX ( U  xx,
U  xy,
U  xz,
U  yx,
U  yy,
U  yz,
U  zx,
U  zy,
U  zz 
) [inline]

Definition at line 55 of file matrix_3f.h.

template<typename T>
fcl::Matrix3fX< T >::Matrix3fX ( const Vec3fX< S > &  v1,
const Vec3fX< S > &  v2,
const Vec3fX< S > &  v3 
) [inline]

Definition at line 60 of file matrix_3f.h.

template<typename T>
fcl::Matrix3fX< T >::Matrix3fX ( const Matrix3fX< T > &  other) [inline]

Definition at line 63 of file matrix_3f.h.

template<typename T>
fcl::Matrix3fX< T >::Matrix3fX ( const T &  data_) [inline]

Definition at line 65 of file matrix_3f.h.


Member Function Documentation

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::abs ( ) [inline]

Definition at line 232 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::determinant ( ) const [inline]

Definition at line 215 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::dot ( size_t  i,
const Vec3fX< S > &  v 
) const [inline]

Definition at line 303 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::dotX ( const Vec3fX< S > &  v) const [inline]

Definition at line 288 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::dotY ( const Vec3fX< S > &  v) const [inline]

Definition at line 293 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::dotZ ( const Vec3fX< S > &  v) const [inline]

Definition at line 298 of file matrix_3f.h.

template<typename T>
Vec3fX<S> fcl::Matrix3fX< T >::getColumn ( size_t  i) const [inline]

Definition at line 67 of file matrix_3f.h.

template<typename T>
static const Matrix3fX<T>& fcl::Matrix3fX< T >::getIdentity ( ) [inline, static]

Definition at line 238 of file matrix_3f.h.

template<typename T>
Vec3fX<S> fcl::Matrix3fX< T >::getRow ( size_t  i) const [inline]

Definition at line 72 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::inverse ( ) [inline]

Definition at line 226 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::operator() ( size_t  i,
size_t  j 
) const [inline]

Definition at line 77 of file matrix_3f.h.

template<typename T>
U& fcl::Matrix3fX< T >::operator() ( size_t  i,
size_t  j 
) [inline]

Definition at line 82 of file matrix_3f.h.

template<typename T>
Vec3fX<S> fcl::Matrix3fX< T >::operator* ( const Vec3fX< S > &  v) const [inline]

Definition at line 87 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator* ( const Matrix3fX< T > &  m) const [inline]

Definition at line 92 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator* ( U  c) const [inline]

Definition at line 117 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator*= ( const Matrix3fX< T > &  other) [inline]

Definition at line 127 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator*= ( U  c) [inline]

Definition at line 157 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator+ ( const Matrix3fX< T > &  other) const [inline]

Definition at line 97 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator+ ( U  c) const [inline]

Definition at line 107 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator+= ( const Matrix3fX< T > &  other) [inline]

Definition at line 133 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator+= ( U  c) [inline]

Definition at line 145 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator- ( const Matrix3fX< T > &  other) const [inline]

Definition at line 102 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator- ( U  c) const [inline]

Definition at line 112 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator-= ( const Matrix3fX< T > &  other) [inline]

Definition at line 139 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator-= ( U  c) [inline]

Definition at line 151 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::operator/ ( U  c) const [inline]

Definition at line 122 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::operator/= ( U  c) [inline]

Definition at line 163 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setEulerYPR ( FCL_REAL  yaw,
FCL_REAL  pitch,
FCL_REAL  roll 
) [inline]

Set the matrix from euler angles using YPR around YXZ respectively.

Parameters:
yawYaw about Y axis
pitchPitch about X axis
rollRoll about Z axis

Definition at line 210 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setEulerZYX ( FCL_REAL  eulerX,
FCL_REAL  eulerY,
FCL_REAL  eulerZ 
) [inline]

Set the matrix from euler angles YPR around ZYX axes.

Parameters:
eulerXRoll about X axis
eulerYPitch around Y axis
eulerZYaw aboud Z axis

These angles are used to produce a rotation matrix. The euler angles are applied in ZYX order. I.e a vector is first rotated about X then Y and then Z

Definition at line 187 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setIdentity ( ) [inline]

Definition at line 169 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setValue ( U  xx,
U  xy,
U  xz,
U  yx,
U  yy,
U  yz,
U  zx,
U  zy,
U  zz 
) [inline]

Definition at line 308 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setValue ( U  x) [inline]

Definition at line 317 of file matrix_3f.h.

template<typename T>
void fcl::Matrix3fX< T >::setZero ( ) [inline]

Definition at line 174 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::tensorTransform ( const Matrix3fX< T > &  m) const [inline]

Definition at line 261 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::timesTranspose ( const Matrix3fX< T > &  other) const [inline]

Definition at line 251 of file matrix_3f.h.

template<typename T>
Matrix3fX<T>& fcl::Matrix3fX< T >::transpose ( ) [inline]

Definition at line 220 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::transposeDot ( size_t  i,
const Vec3fX< S > &  v 
) const [inline]

Definition at line 283 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::transposeDotX ( const Vec3fX< S > &  v) const [inline]

Definition at line 268 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::transposeDotY ( const Vec3fX< S > &  v) const [inline]

Definition at line 273 of file matrix_3f.h.

template<typename T>
U fcl::Matrix3fX< T >::transposeDotZ ( const Vec3fX< S > &  v) const [inline]

Definition at line 278 of file matrix_3f.h.

template<typename T>
Matrix3fX<T> fcl::Matrix3fX< T >::transposeTimes ( const Matrix3fX< T > &  other) const [inline]

Definition at line 246 of file matrix_3f.h.

template<typename T>
Vec3fX<S> fcl::Matrix3fX< T >::transposeTimes ( const Vec3fX< S > &  v) const [inline]

Definition at line 256 of file matrix_3f.h.


Member Data Documentation

template<typename T>
T fcl::Matrix3fX< T >::data

Definition at line 52 of file matrix_3f.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31