3ds Max C++ API Reference
Loading...
Searching...
No Matches
DelayedMatrix3::DelayedOp Struct Reference

#include <control.h>

+ Inheritance diagram for DelayedMatrix3::DelayedOp:

Public Types

enum  OpCode {
  kPreTrans , kPreRotateX , kPreRotateY , kPreRotateZ ,
  kPreRotate
}
 

Public Member Functions

 DelayedOp ()
 
 DelayedOp (const Point3 &p)
 
 DelayedOp (const Quat &q)
 
 DelayedOp (float x)
 
 DelayedOp (int, float y)
 
 DelayedOp (int, int, float z)
 
bool operator== (const DelayedOp &b) const
 

Public Attributes

OpCode code
 
Quat arg
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
static UtilExport voidoperator 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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 

Member Enumeration Documentation

◆ OpCode

enum OpCode
Enumerator
kPreTrans 
kPreRotateX 
kPreRotateY 
kPreRotateZ 
kPreRotate 
291 {
292 kPreTrans,
297 };
@ kPreRotateX
Definition: control.h:293
@ kPreRotateY
Definition: control.h:294
@ kPreRotate
Definition: control.h:296
@ kPreTrans
Definition: control.h:292
@ kPreRotateZ
Definition: control.h:295

Constructor & Destructor Documentation

◆ DelayedOp() [1/6]

DelayedOp ( )
inline
300{}

◆ DelayedOp() [2/6]

DelayedOp ( const Point3 p)
inline
301: code(kPreTrans), arg(p.x, p.y, p.z, 0.0f) {}
float y
Definition: point3.h:57
float x
Definition: point3.h:56
float z
Definition: point3.h:58
Quat arg
Definition: control.h:299
OpCode code
Definition: control.h:298

◆ DelayedOp() [3/6]

DelayedOp ( const Quat q)
inline
302: code(kPreRotate), arg(q) {}

◆ DelayedOp() [4/6]

DelayedOp ( float  x)
inline
303: code(kPreRotateX), arg(x, 0.0f, 0.0f, 0.0f) {}
controller mat max min numsubs x z controller keys x z controller keys x
Definition: generics.inl:212

◆ DelayedOp() [5/6]

DelayedOp ( int  ,
float  y 
)
inline
305 : code(kPreRotateY), arg(0.0f, y, 0.0f, 0.0f) {}

◆ DelayedOp() [6/6]

DelayedOp ( int  ,
int  ,
float  z 
)
inline
307 : code(kPreRotateZ), arg(0.0f, 0.0f, z, 0.0f) {}
controller mat max min numsubs x z controller keys x z controller keys x z
Definition: generics.inl:214

Member Function Documentation

◆ operator==()

bool operator== ( const DelayedOp b) const
inline
Remarks
Compares this class instance to another one
311 {
312 return code == b.code && arg == b.arg;
313 }
float float b
Definition: texutil.h:51

Member Data Documentation

◆ code

OpCode code

◆ arg

Quat arg