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

Edit Soft Selection Command Mode for interactively setting soft selection parameters. More...

#include <EditSoftSelectionMode.h>

+ Inheritance diagram for EditSSMode:

Public Member Functions

CoreExport EditSSMode (EditSSCB *e, ReferenceTarget *rt, IObjParam *i)
 Constructor.
 
virtual CoreExport ~EditSSMode ()
 Deconstructor.
 
int Class ()
 Class Type implementation.
 
int ID ()
 ID implementation.
 
MouseCallBackMouseProc (int *numPoints)
 MouseProc implementation.
 
ChangeForegroundCallbackChangeFGProc ()
 ChangeFGProc implementation.
 
BOOL ChangeFG (CommandMode *oldMode)
 ChangeFG implementation.
 
void EnterMode ()
 EnterMode implementation.
 
void ExitMode ()
 ExitMode implementation.
 
- Public Member Functions inherited from CommandMode
virtual ~CommandMode ()
 Destructor.
 
virtual int Class ()=0
 Returns the Class of the command mode.
 
virtual int SuperClass ()
 This method can be ignored.
 
virtual int ID ()=0
 Returns the ID of the command mode.
 
virtual MouseCallBackMouseProc (int *numPoints)=0
 This method establishes the number of points required by the command mode and returns a pointer to the mouse callback object that is used to process the user input.
 
virtual ChangeForegroundCallbackChangeFGProc ()=0
 Returns a pointer to a callback procedure that flags nodes that belong in the foreground plane.
 
virtual BOOL ChangeFG (CommandMode *oldMode)=0
 This method returns TRUE if the command mode needs to change the foreground proc (using ChangeFGProc()) and FALSE if it does not.
 
virtual void EnterMode ()=0
 This method is called when a command mode becomes active.
 
virtual void ExitMode ()=0
 This method is called when the active command mode is replaced by a different mode.
 

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

Edit Soft Selection Command Mode for interactively setting soft selection parameters.

This Edit Soft Selection CommandMode is a new command mode that lets the user interactive set a soft selections fallout, pinch and bubble parameters. To use this class the client needs to implement the virtual base class EditSSCB

See also
EditSSCB, and then pass that object in to the constructor. It is the responsibility of the client to create, manage and remove this command mode.

Constructor & Destructor Documentation

◆ EditSSMode()

Constructor.

Construct the CommandMode

Parameters
[in]eThe EditSSCB virtual base class that needs to get implemented.
[in]rtThe ReferenceTarget that's internally used to change the foreground procedure.
See also
CommandMode::ChangeFG
Parameters
[in]iThe local interface.

◆ ~EditSSMode()

virtual CoreExport ~EditSSMode ( )
virtual

Deconstructor.

Member Function Documentation

◆ Class()

int Class ( )
inlinevirtual

Class Type implementation.

See also
CommandMode::Class

Implements CommandMode.

100{ return MODIFY_COMMAND; }
#define MODIFY_COMMAND
Definition: cmdmode.h:184

◆ ID()

int ID ( )
inlinevirtual

ID implementation.

See also
CommandMode::ID

Implements CommandMode.

102{ return CID_EDITSOFTSELECTION; }
#define CID_EDITSOFTSELECTION
Command Mode Id for the Edit Soft Selection Command Mode.
Definition: cmdmode.h:277

◆ MouseProc()

MouseCallBack * MouseProc ( int numPoints)
virtual

MouseProc implementation.

See also
CommandMode::MouseProc

Implements CommandMode.

◆ ChangeFGProc()

ChangeForegroundCallback * ChangeFGProc ( )
inlinevirtual

ChangeFGProc implementation.

See also
CommandMode::ChangeFGProc

Implements CommandMode.

106{ return &mFGProc; }

◆ ChangeFG()

BOOL ChangeFG ( CommandMode oldMode)
inlinevirtual

ChangeFG implementation.

See also
CommandMode::ChangeFG

Implements CommandMode.

108{ return oldMode->ChangeFGProc() != &mFGProc; }
virtual ChangeForegroundCallback * ChangeFGProc()=0
Returns a pointer to a callback procedure that flags nodes that belong in the foreground plane.

◆ EnterMode()

void EnterMode ( )
virtual

EnterMode implementation.

See also
CommandMode::EnterMode

Implements CommandMode.

◆ ExitMode()

void ExitMode ( )
virtual

ExitMode implementation.

See also
CommandMode::ExitMode

Implements CommandMode.