#include <matrixRT.h>
Inheritance diagram for PLib::MatrixRT:
Public Methods | |
MatrixRT (T ax, T ay, T az, T x, T y, T z) | |
MatrixRT () | |
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 > &) |
This is a matrix for the rotation, translation and scaling of a point in 3D or 4D.
Definition at line 52 of file matrixRT.h.
|
constructor with the angles and translation parameters specified.
Sets the matrixRT to be a rotation of ax,ay,az then a translation x,y,z around the origin.
Definition at line 53 of file matrixRT.cpp. References PLib::Basic2DArray::m, and rotate. |
|
default constructor.
Default constructor
Definition at line 77 of file matrixRT.cpp. References PLib::Matrix::diag, and PLib::Basic2DArray::reset. |
|
Constructor from using a formated memory location.
Definition at line 119 of file matrixRT.cpp. |
|
copy constructor.
Copy constructor
Definition at line 93 of file matrixRT.cpp. |
|
The assignment operator with a matrixRT.
Definition at line 440 of file matrixRT.cpp. References PLib::Basic2DArray::m. |
|
The assignment operator with a matrix.
Reimplemented from PLib::Matrix. Definition at line 415 of file matrixRT.cpp. References PLib::Basic2DArray::m. |
|
creates a rotation matrix of angle (ax,ay,az).
The rotation are clockwise around the main axes. The rotation is performed in that order: a rotation around the z-axis, then the y-axis and finally around the x-axis.
Definition at line 140 of file matrixRT.cpp. References PLib::Basic2DArray::m. |
|
creates a rotation matrix of angle (ax,ay,az).
The rotation are clockwise around the main axes. The rotation is performed in that order: a rotation around the x-axis, then the y-axis and finally around the z-axis.
Definition at line 199 of file matrixRT.cpp. References PLib::Basic2DArray::m. Referenced by rotateDegXYZ. |
|
Generates a scaling matrix.
Definition at line 277 of file matrixRT.cpp. References PLib::Basic2DArray::m, and PLib::Basic2DArray::reset. Referenced by PLib::NurbsSurfaceGL::applyTransform, and PLib::NurbsCurveGL::applyTransform. |
|
Generates a translation matrix.
Definition at line 251 of file matrixRT.cpp. References PLib::Matrix::diag, PLib::Basic2DArray::m, and PLib::Basic2DArray::reset. Referenced by PLib::NurbsSurface::sweep. |
|
Multiplies a matrixRT with a MatrixRT.
Definition at line 349 of file matrixRT.cpp. |