3ds Max C++ API Reference
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
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. More...
 
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. More...
 
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. 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 voidoperator 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 voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_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...
 

Member Enumeration Documentation

◆ OpCode

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

Constructor & Destructor Documentation

◆ DelayedOp() [1/6]

DelayedOp ( )
inline
299 {}

◆ DelayedOp() [2/6]

DelayedOp ( const Point3 p)
inline
300 : 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:298
OpCode code
Definition: control.h:297

◆ DelayedOp() [3/6]

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

◆ DelayedOp() [4/6]

DelayedOp ( float  x)
inline
302 : 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
304  : code(kPreRotateY), arg(0.0f, y, 0.0f, 0.0f) {}

◆ DelayedOp() [6/6]

DelayedOp ( int  ,
int  ,
float  z 
)
inline
306  : 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
310  {
311  return code == b.code && arg == b.arg;
312  }

Member Data Documentation

◆ code

OpCode code

◆ arg

Quat arg