|
| 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 (DWORD f) |
|
DWORD | GetIdentFlags () const |
|
void | ClearIdentFlag (DWORD 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.") 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) |
|
IOResult | Save (ISave *isave) |
| Save this Matrix3 to disk. More...
|
|
IOResult | Load (ILoad *iload) |
| Load the data for this Matrix3. More...
|
|
BOOL | Parity () const |
|
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator. More...
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator. More...
|
|
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
| Allocates memory on a specified alignment boundary. More...
|
|
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
| Reallocates memory on a specified alignment boundary. More...
|
|
static UtilExport void | aligned_free (void *ptr) |
| Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
|
|