#include <matrixRT.h>
Inheritance diagram for PLib::MatrixRT< T >:
Public Member Functions | |
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.
|
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.
|
|
default constructor Default constructor
|
|
Constructor from using a formated memory location.
|
|
copy constructor Copy constructor
|
|
The assignment operator with a matrixRT.
|
|
The assignment operator with a matrix.
Reimplemented from PLib::Matrix< T >. |
|
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.
|
|
A rotation with the angles specified in degree.
|
|
A rotation in the X,Y and Z order with the angles specified in degree.
|
|
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.
|
|
Generates a scaling matrix.
|
|
Generates a translation matrix.
|
|
Multiplies a matrixRT with a MatrixRT.
|
|
indicate if the data was initialized by this class or not.
Reimplemented from PLib::Basic2DArray< T >. |