BM_SingleOpState Class Reference

#include <BM_SingleOpState.h>

Inheritance diagram for BM_SingleOpState:

BM_OpState BM_State BM_ParmState BM_SimpleState AP_Interface UI_Object MSS_SingleOpBaseState MSS_FaceState MSS_KnifeState MSS_PolyKnitState MSS_PolySplitState MSS_SingleOpState HDK_Sample::MSS_CustomBrushState MSS_BrushBaseState MSS_ButtonlessState MSS_CenterPivotState MSS_EditState MSS_LatticeState MSS_PeltState MSS_UVEditState MSS_UVViewportState

List of all members.

Public Member Functions

 BM_SingleOpState (BM_OpView &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR)
virtual ~BM_SingleOpState (void)
virtual int enter (BM_SimpleState::BM_EntryType how)
virtual void exit (void)
virtual void restart (void)
virtual int generate (BM_SimpleState::BM_EntryType how, bool insertmode=true)
virtual void stopGenerating (void)
virtual int handleNodeDeleted (OP_Node &node)
virtual int hasOpNode (const OP_Node &node) const
virtual const char * className () const
OP_NodegetNode (void) const
virtual int getToolboxCount () const
virtual UI_Feel * getToolbox (int index) const

Protected Member Functions

virtual OP_NodegetChosenOp (void) const =0
virtual void makePIVisible (int pi_idx, int onoff)
virtual void doGenerate (void)
OP_NodecreateNode (const char *optype=0, const char *nettype=0, OP_Network *parent=0, int explicitly=1)
virtual void setNode (OP_Node *node)
void setNodeId (int id)
virtual void setNodeFlags (OP_Node &node)
virtual void clearChosenNodeFlags ()
virtual void refreshBindings (int id, const char *op_type)
virtual void refreshSettings (int id, const char *op_type)
OP_NodesavedNode (void) const
void savedNode (OP_Node *n)
virtual void initializeDialogs ()
virtual void completeDialogs ()
virtual int matchesNode (OP_Node &node) const
virtual void removeAllDialogs ()
virtual void handleDialogDeleted (OPUI_Dialog *dialog)
virtual void addAnyReselectionUndos ()
virtual bool disconnectInputsOnRestart () const
void clearOpHandleLinks ()
virtual bool allowOpMaxExportToDialog () const
void deleteOpHandleLinks ()

Protected Attributes

int myOpNodeId
OP_NodemySavedOpNode
OPUI_Dialog * myOpToolbox
UT_SymbolTable myHandleTable
UT_BitArray myHandleVisibility
UT_String myRestartInfoFile
UT_IntArray myRestartOpInputs
int myRestartOpId

Friends

class BM_UndoSetNode


Detailed Description

Definition at line 39 of file BM_SingleOpState.h.


Constructor & Destructor Documentation

BM_SingleOpState::BM_SingleOpState ( BM_OpView &  view,
PI_StateTemplate templ,
BM_SceneManager *  scene,
const char *  cursor = BM_DEFAULT_CURSOR 
)

virtual BM_SingleOpState::~BM_SingleOpState ( void   )  [virtual]


Member Function Documentation

virtual void BM_SingleOpState::addAnyReselectionUndos (  )  [protected, virtual]

Reimplemented in MSS_SingleOpState.

virtual bool BM_SingleOpState::allowOpMaxExportToDialog (  )  const [inline, protected, virtual]

Reimplemented in MSS_EditState.

Definition at line 163 of file BM_SingleOpState.h.

virtual const char* BM_SingleOpState::className (  )  const [virtual]

virtual void BM_SingleOpState::clearChosenNodeFlags (  )  [protected, virtual]

void BM_SingleOpState::clearOpHandleLinks (  )  [protected]

virtual void BM_SingleOpState::completeDialogs (  )  [protected, virtual]

OP_Node* BM_SingleOpState::createNode ( const char *  optype = 0,
const char *  nettype = 0,
OP_Network parent = 0,
int  explicitly = 1 
) [protected]

void BM_SingleOpState::deleteOpHandleLinks (  )  [protected]

virtual bool BM_SingleOpState::disconnectInputsOnRestart (  )  const [protected, virtual]

virtual void BM_SingleOpState::doGenerate ( void   )  [protected, virtual]

virtual int BM_SingleOpState::enter ( BM_SimpleState::BM_EntryType  how  )  [virtual]

virtual void BM_SingleOpState::exit ( void   )  [virtual]

virtual int BM_SingleOpState::generate ( BM_SimpleState::BM_EntryType  how,
bool  insertmode = true 
) [virtual]

Reimplemented from BM_State.

Reimplemented in MSS_SingleOpState.

virtual OP_Node* BM_SingleOpState::getChosenOp ( void   )  const [protected, pure virtual]

Implemented in MSS_SingleOpBaseState.

OP_Node* BM_SingleOpState::getNode ( void   )  const

virtual UI_Feel* BM_SingleOpState::getToolbox ( int  index  )  const [virtual]

Reimplemented from BM_ParmState.

Reimplemented in MSS_SingleOpState.

virtual int BM_SingleOpState::getToolboxCount (  )  const [virtual]

Reimplemented from BM_ParmState.

Reimplemented in MSS_KnifeState, MSS_PolySplitState, and MSS_SingleOpState.

virtual void BM_SingleOpState::handleDialogDeleted ( OPUI_Dialog *  dialog  )  [protected, virtual]

Reimplemented from BM_OpState.

virtual int BM_SingleOpState::handleNodeDeleted ( OP_Node node  )  [virtual]

Reimplemented from BM_State.

Reimplemented in MSS_FaceState, MSS_PolySplitState, and MSS_SingleOpState.

virtual int BM_SingleOpState::hasOpNode ( const OP_Node node  )  const [virtual]

Reimplemented from BM_State.

virtual void BM_SingleOpState::initializeDialogs (  )  [protected, virtual]

virtual void BM_SingleOpState::makePIVisible ( int  pi_idx,
int  onoff 
) [protected, virtual]

Reimplemented from BM_OpState.

virtual int BM_SingleOpState::matchesNode ( OP_Node node  )  const [protected, virtual]

Implements BM_OpState.

Reimplemented in MSS_EditState, and MSS_PolySplitState.

virtual void BM_SingleOpState::refreshBindings ( int  id,
const char *  op_type 
) [protected, virtual]

Reimplemented from BM_State.

virtual void BM_SingleOpState::refreshSettings ( int  id,
const char *  op_type 
) [protected, virtual]

Reimplemented from BM_State.

virtual void BM_SingleOpState::removeAllDialogs (  )  [protected, virtual]

Reimplemented from BM_OpState.

virtual void BM_SingleOpState::restart ( void   )  [virtual]

void BM_SingleOpState::savedNode ( OP_Node n  )  [inline, protected]

Definition at line 127 of file BM_SingleOpState.h.

OP_Node* BM_SingleOpState::savedNode ( void   )  const [inline, protected]

Definition at line 126 of file BM_SingleOpState.h.

virtual void BM_SingleOpState::setNode ( OP_Node node  )  [protected, virtual]

virtual void BM_SingleOpState::setNodeFlags ( OP_Node node  )  [protected, virtual]

Reimplemented in MSS_SingleOpBaseState.

void BM_SingleOpState::setNodeId ( int  id  )  [protected]

virtual void BM_SingleOpState::stopGenerating ( void   )  [virtual]


Friends And Related Function Documentation

friend class BM_UndoSetNode [friend]

Definition at line 41 of file BM_SingleOpState.h.


Member Data Documentation

Definition at line 196 of file BM_SingleOpState.h.

Definition at line 199 of file BM_SingleOpState.h.

Definition at line 193 of file BM_SingleOpState.h.

OPUI_Dialog* BM_SingleOpState::myOpToolbox [protected]

Definition at line 195 of file BM_SingleOpState.h.

Definition at line 201 of file BM_SingleOpState.h.

Definition at line 203 of file BM_SingleOpState.h.

Definition at line 202 of file BM_SingleOpState.h.

Definition at line 194 of file BM_SingleOpState.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 31 00:30:00 2013 for HDK by  doxygen 1.5.9