rtVTK  0.6.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Private Attributes
Math::Matrix< T, Major, Minor, Mode > Class Template Reference

Storage and manipulation of matrices. More...

List of all members.

Public Member Functions

 Matrix (const T *m)
 Matrix ()
T * operator[] (const int i)
const T * operator[] (const int i) const
void identity ()
template<typename U >
operator* (const U &a) const
Matrix< T, Minor, Major, Mode > transpose () const

Private Attributes

e [Major][Minor]

Detailed Description

template<typename T, uint Major, uint Minor, MatrixMode Mode>
class Math::Matrix< T, Major, Minor, Mode >

Storage and manipulation of matrices.


Constructor & Destructor Documentation

template<typename T, uint Major, uint Minor, MatrixMode Mode>
Math::Matrix< T, Major, Minor, Mode >::Matrix ( const T *  m) [inline]
template<typename T, uint Major, uint Minor, MatrixMode Mode>
Math::Matrix< T, Major, Minor, Mode >::Matrix ( ) [inline]

Member Function Documentation

template<typename T, uint Major, uint Minor, MatrixMode Mode>
void Math::Matrix< T, Major, Minor, Mode >::identity ( ) [inline]
template<typename T, uint Major, uint Minor, MatrixMode Mode>
template<typename U >
U Math::Matrix< T, Major, Minor, Mode >::operator* ( const U &  a) const [inline]
Bug:
XXX(dje) - this operator* really only works with Point and Vector types and 4x4 matrices (with an implicit [0 0 0 1] in the last row; it should either become more general or reflect its intent more clearly

References Math::Matrix< T, Major, Minor, Mode >::e.

template<typename T, uint Major, uint Minor, MatrixMode Mode>
T* Math::Matrix< T, Major, Minor, Mode >::operator[] ( const int  i) [inline]
template<typename T, uint Major, uint Minor, MatrixMode Mode>
const T* Math::Matrix< T, Major, Minor, Mode >::operator[] ( const int  i) const [inline]
template<typename T, uint Major, uint Minor, MatrixMode Mode>
Matrix<T, Minor, Major, Mode> Math::Matrix< T, Major, Minor, Mode >::transpose ( ) const [inline]

Member Data Documentation

template<typename T, uint Major, uint Minor, MatrixMode Mode>
T Math::Matrix< T, Major, Minor, Mode >::e[Major][Minor] [private]

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