|
3ds Max C++ API Reference
|
This class is another version of Matrix3 where the matrix is initialized to the identity by the default constructor. More...
#include <object.h>
Inheritance diagram for IdentityTM:Public Member Functions | |
| IdentityTM () | |
| Constructor. More... | |
Public Member Functions inherited from Matrix3 | |
| Matrix3 () | |
| Matrix3 (const Matrix3 &)=default | |
| Matrix3 (Matrix3 &&)=default | |
| Matrix3 & | operator= (const Matrix3 &)=default |
| Matrix3 & | operator= (Matrix3 &&)=default |
| const Point3 & | operator[] (int i) const |
| void | SetNotIdent () |
| void | SetIdentFlags (uint32_t f) |
| uint32_t | GetIdentFlags () const |
| void | ClearIdentFlag (uint32_t f) |
| bool | IsIdentity () const |
| void | ValidateFlags () |
| MRow * | GetAddr () |
| const MRow * | GetAddr () const |
| MAX_DEPRECATE_MATRIX_BOOL_CTOR ("Matrix3 and DMatrix3 are now initialized to identity by default.\n" "No need to use the Matrix3(bool) constructor anymore.\n" "Define MAX_SILENCE_DEPRECATED_MATRIX_BOOL_CTOR to silence this warning.") explicit Matrix3(bool) | |
| Matrix3 (float(*fp)[3]) | |
| Matrix3 (const Point3 &U, const Point3 &V, const Point3 &N, const Point3 &T) | |
| Matrix3 & | Set (const Point3 &U, const Point3 &V, const Point3 &N, const Point3 &T) |
| int | operator== (const Matrix3 &M) const |
| bool | operator!= (const Matrix3 &M) const |
| int | Equals (const Matrix3 &M, float epsilon=1E-6f) const |
| Matrix3 & | operator-= (const Matrix3 &M) |
| Matrix3 & | operator+= (const Matrix3 &M) |
| Matrix3 & | operator*= (const Matrix3 &M) |
| Multiply this matrix on the right by Matrix m. More... | |
| Matrix3 & | operator*= (float a) |
| void | IdentityMatrix () |
| void | Zero () |
| Point3 | GetRow (int i) const |
| void | SetRow (int i, Point3 p) |
| Point4 | GetColumn (int i) const |
| void | SetColumn (int i, Point4 col) |
| Point3 | GetColumn3 (int i) const |
| void | NoTrans () |
| void | NoRot () |
| void | NoScale () |
| void | Orthogonalize () |
| Ortho-normalize the matrix. More... | |
| void | SetTrans (const Point3 &p) |
| void | SetTrans (int i, float v) |
| const Point3 & | GetTrans () const |
| void | Translate (const Point3 &p) |
| void | RotateX (float angle) |
| void | RotateY (float angle) |
| void | RotateZ (float angle) |
| void | Scale (const Point3 &s, bool trans=false) |
| void | PreTranslate (const Point3 &p) |
| void | PreRotateX (float angle) |
| void | PreRotateY (float angle) |
| void | PreRotateZ (float angle) |
| void | PreScale (const Point3 &s) |
| void | SetTranslate (const Point3 &p) |
| void | SetRotateX (float angle) |
| void | SetRotateY (float angle) |
| void | SetRotateZ (float angle) |
| void | SetRotate (const Quat &q) |
| void | SetRotate (const AngAxis &aa) |
| void | SetRotate (float yaw, float pitch, float roll) |
| void | SetAngleAxis (const Point3 &axis, float angle) |
| void | SetScale (const Point3 &s) |
| void | SetFromToUp (const Point3 &from, const Point3 &to, const Point3 &up) |
| void | Invert () |
| Matrix3 | operator* (const Matrix3 &) const |
| Matrix3 | operator+ (const Matrix3 &) const |
| Matrix3 | operator- (const Matrix3 &) const |
| Point3 | PointTransform (const Point3 &p) const |
| Point3 | VectorTransform (const Point3 &p) const |
| void | TransformPoints (Point3 *array, int n, int stride=sizeof(Point3)) |
| void | TransformPoints (const Point3 *array, Point3 *to, int n, int stride=sizeof(Point3), int strideTo=sizeof(Point3)) |
| void | TransformVectors (Point3 *array, int n, int stride=sizeof(Point3)) |
| void | TransformVectors (const Point3 *array, Point3 *to, int n, int stride=sizeof(Point3), int strideTo=sizeof(Point3)) |
| void | GetYawPitchRoll (float *yaw, float *pitch, float *roll) |
| UTILGEOMEXPORT IOResult | Save (ISave *isave) |
| Save this Matrix3 to disk. More... | |
| UTILGEOMEXPORT IOResult | Load (ILoad *iload) |
| Load the data for this Matrix3. More... | |
| bool | Parity () const |
Additional Inherited Members | |
Static Public Attributes inherited from Matrix3 | |
| static const Matrix3 | Identity |
| An global instance of Matrix3 set to the identity. More... | |
This class is another version of Matrix3 where the matrix is initialized to the identity by the default constructor.
|
inline |
Constructor.
The matrix is initialized to the identity matrix. There is also a global instance of this class available for use: extern IdentityTM idTM;