EditSSMode Class Reference

EditSSMode Class Reference

#include <EditSoftSelectionMode.h>

Class 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.
+ Inheritance diagram for EditSSMode:

Public Member Functions

CoreExport EditSSMode (EditSSCB *e, ReferenceTarget *rt, IObjParam *i)
 Constructor. More...
 
virtual CoreExport ~EditSSMode ()
 Deconstructor. More...
 
int Class ()
 Class Type implementation. More...
 
int ID ()
 ID implementation. More...
 
MouseCallBackMouseProc (int *numPoints)
 MouseProc implementation. More...
 
ChangeForegroundCallbackChangeFGProc ()
 ChangeFGProc implementation. More...
 
BOOL ChangeFG (CommandMode *oldMode)
 ChangeFG implementation. More...
 
void EnterMode ()
 EnterMode implementation. More...
 
void ExitMode ()
 ExitMode implementation. More...
 
- Public Member Functions inherited from CommandMode
virtual ~CommandMode ()
 Destructor. More...
 
virtual int SuperClass ()
 This method can be ignored. 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...
 
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...
 

Constructor & Destructor Documentation

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.
virtual CoreExport ~EditSSMode ( )
virtual

Deconstructor.

Member Function Documentation

int Class ( )
inlinevirtual

Class Type implementation.

See also
CommandMode::Class

Implements CommandMode.

103 { return MODIFY_COMMAND; }
#define MODIFY_COMMAND
Definition: cmdmode.h:184
int ID ( )
inlinevirtual

ID implementation.

See also
CommandMode::ID

Implements CommandMode.

105 { return CID_EDITSOFTSELECTION; }
#define CID_EDITSOFTSELECTION
Command Mode Id for the Edit Soft Selection Command Mode.
Definition: cmdmode.h:277
MouseCallBack* MouseProc ( int numPoints)
virtual

MouseProc implementation.

See also
CommandMode::MouseProc

Implements CommandMode.

ChangeForegroundCallback* ChangeFGProc ( )
inlinevirtual

ChangeFGProc implementation.

See also
CommandMode::ChangeFGProc

Implements CommandMode.

109 { return &mFGProc; }
BOOL ChangeFG ( CommandMode oldMode)
inlinevirtual

ChangeFG implementation.

See also
CommandMode::ChangeFG

Implements CommandMode.

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

EnterMode implementation.

See also
CommandMode::EnterMode

Implements CommandMode.

void ExitMode ( )
virtual

ExitMode implementation.

See also
CommandMode::ExitMode

Implements CommandMode.