Public Member Functions

EditSSMode Class Reference

Search for all occurrences

Detailed Description

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

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.

#include <EditSoftSelectionMode.h>

Inheritance diagram for EditSSMode:
Inheritance graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

CoreExport EditSSMode ( EditSSCB e,
ReferenceTarget rt,
IObjParam i 
)

Constructor.

Construct the CommandMode

Parameters:
[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.
See also:
CommandMode::ChangeFG
Parameters:
[in] i The local interface.
virtual CoreExport ~EditSSMode ( ) [virtual]

Deconstructor.


Member Function Documentation

int Class ( ) [inline, virtual]

Class Type implementation.

See also:
CommandMode::Class

Implements CommandMode.

{ return MODIFY_COMMAND; }
int ID ( ) [inline, virtual]

ID implementation.

See also:
CommandMode::ID

Implements CommandMode.

{ return  CID_EDITSOFTSELECTION; }
MouseCallBack* MouseProc ( int *  numPoints ) [virtual]

MouseProc implementation.

See also:
CommandMode::MouseProc

Implements CommandMode.

ChangeForegroundCallback* ChangeFGProc ( ) [inline, virtual]

ChangeFGProc implementation.

See also:
CommandMode::ChangeFGProc

Implements CommandMode.

{ return &mFGProc; }
BOOL ChangeFG ( CommandMode oldMode ) [inline, virtual]

ChangeFG implementation.

See also:
CommandMode::ChangeFG

Implements CommandMode.

{ return oldMode->ChangeFGProc() != &mFGProc; }
void EnterMode ( ) [virtual]

EnterMode implementation.

See also:
CommandMode::EnterMode

Implements CommandMode.

void ExitMode ( ) [virtual]

ExitMode implementation.

See also:
CommandMode::ExitMode

Implements CommandMode.


EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode
EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode EditSSMode