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

#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/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.
static UtilExport voidmalloc_nullchecked (size_t size)
 Allocates memory via malloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidcalloc_nullchecked (size_t num, size_t size)
 Allocates memory via calloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidrealloc_nullchecked (void *memblock, size_t size)
 Reallocates memory via realloc without invoking 3dsmax's out of memory handler with potential CER.
static UtilExport voidLocalAlloc_nullchecked (unsigned int uFlags, size_t size)
 Allocates memory via LocalAlloc without invoking 3dsmax's out of memory handler with potential CER.

Member Enumeration Documentation

◆ OpCode

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

Constructor & Destructor Documentation

◆ DelayedOp() [1/6]

DelayedOp ( )
inline
301: code(kPreRotate) {}
OpCode code
Definition control.h:299

◆ DelayedOp() [2/6]

DelayedOp ( const Point3 & p)
inline
302: code(kPreTrans), arg(p.x, p.y, p.z, 0.0f) {}
Quat arg
Definition control.h:300

◆ DelayedOp() [3/6]

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

◆ DelayedOp() [4/6]

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

◆ DelayedOp() [6/6]

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

Member Data Documentation

◆ code

OpCode code

◆ arg

Quat arg