XFormModes Class Reference

#include <cmdmode.h>

Class 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.

+ Inheritance diagram for XFormModes:

Public Member Functions

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

Public Attributes

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

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...
 

Constructor & Destructor Documentation

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 * squash
Standard command mode to process Squash.
Definition: cmdmode.h:139
CommandMode * select
Standard command mode to process Selection.
Definition: cmdmode.h:140
CommandMode * move
Standard command mode to process Move.
Definition: cmdmode.h:135
CommandMode * uscale
Standard command mode to process Uniform Scale.
Definition: cmdmode.h:138
CommandMode * rotate
Standard command mode to process Rotate.
Definition: cmdmode.h:136
XFormModes ( )
inline

Constructor.

All the data members are set to NULL.

159 { move = rotate = scale = uscale = squash = select = NULL; }
CommandMode * scale
Standard command mode to process Non-Uniform Scale.
Definition: cmdmode.h:137
CommandMode * squash
Standard command mode to process Squash.
Definition: cmdmode.h:139
#define NULL
Definition: autoptr.h:18
CommandMode * select
Standard command mode to process Selection.
Definition: cmdmode.h:140
CommandMode * move
Standard command mode to process Move.
Definition: cmdmode.h:135
CommandMode * uscale
Standard command mode to process Uniform Scale.
Definition: cmdmode.h:138
CommandMode * rotate
Standard command mode to process Rotate.
Definition: cmdmode.h:136

Member Data Documentation

CommandMode* move

Standard command mode to process Move.

CommandMode* rotate

Standard command mode to process Rotate.

CommandMode* scale

Standard command mode to process Non-Uniform Scale.

CommandMode* uscale

Standard command mode to process Uniform Scale.

CommandMode* squash

Standard command mode to process Squash.

CommandMode* select

Standard command mode to process Selection.