3ds Max C++ API Reference
Loading...
Searching...
No Matches
XFormModes Class Reference

This class contains a set of six command mode pointers that make up the XForm modes. More...

#include <cmdmode.h>

+ Inheritance diagram for XFormModes:

Public Member Functions

 XFormModes (CommandMode *move_, CommandMode *rotate_, CommandMode *scale_, CommandMode *uscale_, CommandMode *squash_, CommandMode *select_)
 Constructor.
 
 XFormModes ()
 Constructor.
 

Public Attributes

CommandModemove
 Standard command mode to process Move.
 
CommandModerotate
 Standard command mode to process Rotate.
 
CommandModescale
 Standard command mode to process Non-Uniform Scale.
 
CommandModeuscale
 Standard command mode to process Uniform Scale.
 
CommandModesquash
 Standard command mode to process Squash.
 
CommandModeselect
 Standard command mode to process Selection.
 

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.
 

Detailed Description

This class contains a set of six command mode pointers that make up the XForm modes.

Plug-in developers can specify these for their sub-object types. See the method BaseObject::ActivateSubobjSel() or class Control for more details.

Constructor & Destructor Documentation

◆ XFormModes() [1/2]

XFormModes ( CommandMode move_,
CommandMode rotate_,
CommandMode scale_,
CommandMode uscale_,
CommandMode squash_,
CommandMode select_ 
)
inline

Constructor.

The data members are set to the command modes passed.

150 {
151 this->move = move_;
152 this->rotate = rotate_;
153 this->scale = scale_;
154 this->uscale = uscale_;
155 this->squash = squash_;
156 this->select = select_;
157 }
CommandMode * scale
Standard command mode to process Non-Uniform Scale.
Definition: cmdmode.h:137
CommandMode * rotate
Standard command mode to process Rotate.
Definition: cmdmode.h:136
CommandMode * uscale
Standard command mode to process Uniform Scale.
Definition: cmdmode.h:138
CommandMode * move
Standard command mode to process Move.
Definition: cmdmode.h:135
CommandMode * select
Standard command mode to process Selection.
Definition: cmdmode.h:140
CommandMode * squash
Standard command mode to process Squash.
Definition: cmdmode.h:139

◆ XFormModes() [2/2]

XFormModes ( )
inline

Constructor.

All the data members are set to NULL.

159{ move = rotate = scale = uscale = squash = select = NULL; }
#define NULL
Definition: autoptr.h:18

Member Data Documentation

◆ move

CommandMode* move

Standard command mode to process Move.

◆ rotate

CommandMode* rotate

Standard command mode to process Rotate.

◆ scale

CommandMode* scale

Standard command mode to process Non-Uniform Scale.

◆ uscale

CommandMode* uscale

Standard command mode to process Uniform Scale.

◆ squash

CommandMode* squash

Standard command mode to process Squash.

◆ select

CommandMode* select

Standard command mode to process Selection.