Main Page | Class Hierarchy | Class List | File List | Class Members

PLib::MatrixRT< T > Class Template Reference

a matrix for rotation and translation transformation More...

#include <matrixRT.h>

Inheritance diagram for PLib::MatrixRT< T >:

PLib::Matrix< T > PLib::Basic2DArray< T > List of all members.

Public Member Functions

 MatrixRT (T ax, T ay, T az, T x, T y, T z)
 MatrixRT (T *p)
 MatrixRT (const Matrix< T > &plM)
MatrixRT< T > & rotate (T ax, T ay, T az)
MatrixRT< T > & rotateXYZ (T ax, T ay, T az)
MatrixRT< T > & translate (T x, T y, T z)
MatrixRT< T > & scale (T x, T y, T z)
MatrixRT< T > & rotateDeg (T ax, T ay, T az)
MatrixRT< T > & rotateDegXYZ (T ax, T ay, T az)
MatrixRT< T > & operator= (const Matrix< T > &M)
MatrixRT< T > & operator= (const MatrixRT< T > &M)

Protected Attributes

int created

Friends

MatrixRT< T > operator * (const MatrixRT< T > &, const MatrixRT< T > &)

Detailed Description

template<class T>
class PLib::MatrixRT< T >

a matrix for rotation and translation transformation

This is a matrix for the rotation, translation and scaling of a point in 3D or 4D.

Author:
Philippe Lavoie
Date:
25 July 1997


Member Function Documentation

template<class T>
MatrixRT<T>& PLib::MatrixRT< T >::operator= const Matrix< T > &  M  ) 
 

assignment operator

Parameters:
a the matrix to copy
Warning:
the matrix a must have compatible dimensions
Author:
Philippe Lavoie
Date:
24 January 1997

Reimplemented from PLib::Matrix< T >.

template<class T>
MatrixRT<T>& PLib::MatrixRT< T >::rotateDeg ax,
ay,
az
[inline]
 

A rotation with the angles specified in degree.

template<class T>
MatrixRT<T>& PLib::MatrixRT< T >::rotateDegXYZ ax,
ay,
az
[inline]
 

A rotation in the X,Y and Z order with the angles specified in degree.


Member Data Documentation

template<class T>
int PLib::MatrixRT< T >::created [protected]
 

indicate if the data was initialized by this class or not.

Reimplemented from PLib::Basic2DArray< T >.


The documentation for this class was generated from the following file:
Generated on Wed Nov 17 20:07:50 2004 for NURBS++ by  doxygen 1.3.9.1