Edit Soft Selection Command Mode for interactively setting soft selection paramters.
This Edit Soft Selection CommandMode is a new command mode that lets the user interactive set a soft selections fallout, pinch and bubble paratmers. To use this class the client needs to implement the virtual base class EditSSCB
#include <EditSoftSelectionMode.h>
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. |
|
MouseCallBack * | MouseProc (int *numPoints) |
MouseProc implementation. |
|
ChangeForegroundCallback * | ChangeFGProc () |
ChangeFGProc implementation. |
|
BOOL | ChangeFG (CommandMode *oldMode) |
ChangeFG implementation. |
|
void | EnterMode () |
EnterMode implementation. |
|
void | ExitMode () |
ExitMode implementation. |
CoreExport EditSSMode | ( | EditSSCB * | e, |
ReferenceTarget * | rt, | ||
IObjParam * | i | ||
) |
Constructor.
Construct the CommandMode
[in] | e | The EditSSCB virtual base class that needs to get implemented. |
[in] | rt | The ReferenceTarget that's internally used to change the foreground procedure. |
[in] | i | The local interface. |
virtual CoreExport ~EditSSMode | ( | ) | [virtual] |
Deconstructor.
int Class | ( | ) | [inline, virtual] |
Class Type implementation.
Implements CommandMode.
{ return MODIFY_COMMAND; }
int ID | ( | ) | [inline, virtual] |
ID implementation.
Implements CommandMode.
{ return CID_EDITSOFTSELECTION; }
MouseCallBack* MouseProc | ( | int * | numPoints | ) | [virtual] |
ChangeForegroundCallback* ChangeFGProc | ( | ) | [inline, virtual] |
ChangeFGProc implementation.
Implements CommandMode.
{ return &mFGProc; }
BOOL ChangeFG | ( | CommandMode * | oldMode | ) | [inline, virtual] |
ChangeFG implementation.
Implements CommandMode.
{ return oldMode->ChangeFGProc() != &mFGProc; }
void EnterMode | ( | ) | [virtual] |
void ExitMode | ( | ) | [virtual] |