HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MSS_SingleOpState Class Reference

#include <MSS_SingleOpState.h>

+ Inheritance diagram for MSS_SingleOpState:

Public Member Functions

 MSS_SingleOpState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor)
 
virtual ~MSS_SingleOpState (void)
 
virtual const char * className () const
 
virtual int enter (BM_SimpleState::BM_EntryType how)
 
virtual void exit ()
 
virtual void restart (void)
 
virtual int generate (BM_SimpleState::BM_EntryType how, bool insertmode=true, bool requestnew=false)
 
virtual int hasLocates (void) const
 
virtual int handleNodeDeleted (OP_Node &node)
 
virtual void handleGeoChangedEvent (UI_Event *)
 
virtual bool ignoreDisplayFlagChange () const
 
void undoReselecting ()
 
virtual UI_Menu * getSelectorMenu ()
 
virtual UI_Menu * getExtraStateMenu ()
 
bool getAllowExportingCookSelectionType () const
 
void setAllowExportingCookSelectionType (bool on)
 
bool canExportCookSelectionType () const
 
- Public Member Functions inherited from MSS_SingleOpBaseState
 MSS_SingleOpBaseState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR)
 
virtual ~MSS_SingleOpBaseState (void)
 
- Public Member Functions inherited from BM_SingleOpState
 BM_SingleOpState (BM_OpView &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR)
 
virtual ~BM_SingleOpState (void)
 
virtual void stopGenerating (void)
 
virtual int hasOpNode (const OP_Node &node) const
 
OP_NodegetNode (void) const
 
- Public Member Functions inherited from BM_OpState
 BM_OpState (BM_OpView &view, PI_StateTemplate &templ, BM_SceneManager *sceneManager, const char *cursor=BM_DEFAULT_CURSOR)
 
virtual ~BM_OpState (void)
 
virtual void prepareDialogForDisplay () const
 
virtual int hasDialog () const
 
virtual UI_Feel * dialogFeel () const
 
virtual int findPI (BM_OpHandleLink *pi) const
 
virtual bool updateInvisiblePIHandleForMoveTool (bool(*func)(BM_Handle *handle, int tool, unsigned vport_mask), int tool, unsigned vport_mask, bool make_visible)
 
fpreal getTime () const
 Obtains the current global time. More...
 
- Public Member Functions inherited from BM_State
 BM_State (BM_SceneManager &app, PI_StateTemplate &templ, const char *cursor=0, const char *const *vnames=0, UI_EventMethod const *vmethods=0)
 
virtual ~BM_State (void)
 
virtual void status (UT_String &s) const
 
virtual void renderStatusExtras (RE_Render *)
 
virtual int isHandle () const
 
virtual void concealState ()
 
virtual void revealState ()
 
virtual int preprocessSelect (UI_Event *event)
 
virtual int handleArrowEvent (UI_Event *event)
 
virtual void render (RE_Render *r, int x, int y)
 
virtual void renderPartialOverlay (RE_Render *r, int x, int y)
 
void startGenerating (BM_State::BM_GenerateMode how=BM_State::BM_INLINE, bool requestnew=false)
 
int meetsEntryConditions (const UI_Event &event) const
 
virtual int isEntryCondition (UI_Keyboard key) const
 
virtual void handleOpNodeChange (OP_Node &)
 
virtual void handleOpUIChange (OP_Node &)
 
virtual void handleOpNetChange (OP_Network &)
 
virtual void handleOpNetClear ()
 
void wantsLocates (int yesNo)
 
virtual bool doesHandleLocates () const
 
int isPreempted () const
 
int isBuilding () const
 
int isEntered (void) const
 
bool isConcealed (void) const
 
int isGenerating () const
 
int isGeneratingInline () const
 
bool isRequestingNew () const
 
int isRegenerating () const
 
int isOverlay (void) const
 
int isFullTime (void) const
 
virtual int isModifier (void) const
 
int isSticky (void) const
 
virtual bool getAllowIndirectHandleDrag () const
 
virtual BM_RMBMenuPopupMode getRMBMenuPopupMode (short altflags) const
 
int index (void) const
 
void index (int idx)
 
const PI_StateTemplategetTemplate () const
 
PI_StateTemplategetTemplate ()
 
virtual int isOpIndependent () const
 
virtual bool canSwitchToOpDependent () const
 
virtual void switchToOpDependent ()
 
virtual const char * getOperationBarIconName () const
 
virtual const char * getOperationBarLabel () const
 
virtual void afterUndo ()
 
virtual const char * replaceCursor (const char *newcursor)
 
virtual void getHelp (UT_String &help_text, bool &is_html)
 
virtual void getHelpDirAndNameOrUrl (UT_String &dir, UT_String &name, UT_String &url)
 
virtual bool showPersistent () const
 
virtual bool wantFailedOrienterEvent () const
 
virtual bool getShowSelectedOp () const
 
virtual void resetStateForNew ()
 
virtual int getVolatileToolboxCount () const
 
virtual UI_Feel * getVolatileToolbox (int index) const
 
virtual UI_Feel * getCustomSelectModeSideBar () const
 
- Public Member Functions inherited from BM_ParmState
 BM_ParmState (BM_SceneManager &app, const char *cursor, const char *vname=0, const char *english=0, const char *const *vnames=0, UI_EventMethod const *vmethods=0)
 
virtual ~BM_ParmState ()
 
const UT_Stringname (void) const
 
const UT_Stringenglish (void) const
 
UI_Feel * extraDialogFeel () const
 
virtual void initializeUI (PRM_Template *tmpl=0)
 
- Public Member Functions inherited from BM_SimpleState
 BM_SimpleState (BM_SceneManager &app, const char *cursor, const char *name=0, const char *const *vnames=0, UI_EventMethod const *vmethods=0)
 
virtual ~BM_SimpleState (void)
 
virtual UI_Menu * getStateMenu (int ortho=0)
 
virtual int handleKeyEvent (UI_Event *event)
 
virtual void overlayRender (RE_Render *r, int x, int y)
 
void setVolatileViewport (BM_Viewport *view)
 
BM_Viewport * getVolatileViewport () const
 
BM_SceneManager & sceneManager (void)
 
const BM_SceneManager & sceneManager (void) const
 
void setSavedState (BM_SimpleState *state)
 
BM_SimpleStategetSavedState ()
 
const BM_SimpleStategetSavedState () const
 
const char * getCurrentCursor () const
 
unsigned int getViewportMask () const
 
const UT_UndoWorkerFinder
< BM_SimpleState > & 
undoWorkerFinder () const
 
- Public Member Functions inherited from AP_Interface
 AP_Interface ()
 
 AP_Interface (const char *myname, const char *const *names, UI_EventMethod const *methods)
 
virtual ~AP_Interface ()
 
const UT_StringgetName () const
 Return the name passed in the constructor. More...
 
void wireInterface (UI_Manager *uims)
 
void unwireInterface (UI_Manager *uims)
 
bool readUIFile (const char *ui_filename, bool quiet=false)
 
bool readPreferenceFile (const char *pref_filename, bool quiet=false)
 
void setValueSymbol (const char *symbol, UI_Value *value, bool warn=true)
 
UI_ValuefindValueSymbol (const char *symbol) const
 Find the UI_Value for the given named value symbol. More...
 
UI_ValuegetValueSymbol (const char *symbol, int create=1)
 
int getValueSymbols (UT_StringArray &symbols, UT_Array< UI_Value * > &values) const
 
void setObjectSymbol (const char *symbol, UI_Object *who, int warn=1)
 
UI_ObjectgetObjectSymbol (const char *symbol) const
 
UI_Feel * getFeelSymbol (const char *symbol) const
 
void removeObjectSymbol (const char *symbol)
 Delete the entry for the given object symbol name. More...
 
template<typename T >
TfindObject (const char *name) const
 
template<typename T >
TfindValue (const char *name) const
 
void resetApplication ()
 
virtual void handleEvent (UI_Event *event)
 
virtual int saveAppData (const char *filename)
 
virtual int loadAppState ()
 
virtual int saveAppState ()
 
virtual void saveOnCoreDump ()
 
virtual bool getCoreDumpFileName (UT_WorkBuffer &name)
 
bool loadUIInitPrefs ()
 
void saveUIInitPrefs (const char *layout_level)
 
bool restoreUIInitPrefs ()
 
bool getFunctionKeyScript (UI_Event *event, UT_String &script)
 
- Public Member Functions inherited from UI_Object
 UI_Object ()
 
virtual ~UI_Object ()
 
 UI_Object (const UI_Object &)=delete
 
UI_Objectoperator= (const UI_Object &)=delete
 
virtual int interestingEvent (UI_EventType t, UI_DeviceEvent *event) const
 
virtual void deleteReferences (UI_Object *to_whom)
 
UI_ObjectgetParent () const
 
void setParent (UI_Object *p)
 
bool isAncestor (const UI_Object *who) const
 
void addDependent (UI_Object *who)
 
bool removeDependent (UI_Object *who)
 
bool replaceDependent (UI_Object *who, UI_Object *with)
 
bool isDependent (UI_Object *who) const
 
bool hasDependents () const
 
const UI_ObjectListdependents () const
 
void sendEvent (const UI_Event &e) const
 
void distributeEvent (UI_Event *event, int upwards)
 
void relayEvent (UI_Event *event, UI_Object *target)
 
void generateEvent (UI_EventType t, UI_Object *target)
 
void purgeEvents (UI_EventType t, UI_Object *target, UI_EventMethod method=0)
 
void triggerImmediateEvent (UI_Event *event, int upwards)
 
int getProxyId ()
 
void bumpQueueCount (int dir)
 
void setName (const char *symbolName)
 
const char * getName () const
 
void buildFullPath (UT_String &string) const
 
void debugQueueEventsFor (const UI_Value *value, const char *name, UI_EventType t=UI_EVENT_NO_EVENT) const
 
const UI_ValueListvalueInterests () const
 
void interestedInValue (UI_Value *)
 
void removeValueInterest (UI_Value *)
 

Static Public Member Functions

static BM_StateourConstructor (BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene)
 
static const char * exportCookSelectionType ()
 
- Static Public Member Functions inherited from BM_OpState
static int getAutoHighlightFlag ()
 
static void setAutoHighlightFlag (int o)
 
- Static Public Member Functions inherited from BM_State
static UT_OptionsgetGlobalPrefs ()
 
- Static Public Member Functions inherited from AP_Interface
static FILE * createPreferenceFile (const char *filename)
 
static int mapStrToInt (const char *label, const UT_Pair< const char *, int > *map)
 
static const char * mapIntToStr (int index, const UT_Pair< const char *, int > *map)
 
static void setAppExitCode (int exit_code)
 
static int getAppExitCode ()
 
static bool isAppExiting ()
 Returns true if the application is exiting. More...
 
- Static Public Member Functions inherited from UI_Object
static UI_ManagergetManager ()
 
static UI_Queue * getInputQueue ()
 
static int keycmp (const char *, int key)
 
static int keycmp (const char *, int key, const UI_HotkeyEcho &)
 

Static Public Attributes

static PRM_TemplateourTemplateList
 
- Static Public Attributes inherited from AP_Interface
static const UT_Pair< const
char *, int
theFileChooserStyleMap []
 Menu items and their mapping for file chooser style preference. More...
 

Protected Member Functions

virtual void doGenerate (void)
 
virtual void doRender (RE_Render *r, int, int, int ghost)
 
virtual int handleMouseEvent (UI_Event *event)
 
virtual int handleMouseWheelEvent (UI_Event *event)
 
virtual bool handleDoubleClickEvent (UI_Event *event)
 
virtual int handleKeyTypeEvent (UI_Event *event, BM_Viewport &)
 Respond to keyboard events. More...
 
virtual bool handleTransitoryKey (const UI_Event &event)
 
virtual bool isSelecting (void) const
 
virtual void interrupt (BM_SimpleState *state=0)
 
virtual void resume (BM_SimpleState *state=0)
 
virtual bool generateAllNodes ()
 
virtual void doneSelecting (void)
 
virtual int nodeIdToReselectWithin () const
 
OP3D_InputSelectorselector (int idx)
 
int getNumSelectors () const
 
virtual bool isSelectorActive () const
 
virtual int getToolboxCount () const
 
virtual UI_Feel * getToolbox (int idx) const
 
virtual void handleSelectorDone (UI_Event *)
 
virtual bool canStartSelectors () const
 
virtual const
PI_BindingSelectorInfo
findNextParmWithSelector (int idx) const
 
virtual void addAnyReselectionUndos ()
 
virtual void updateCurrentSelector (OP3D_InputSelector *, const PI_BindingSelectorInfo *)
 
virtual bool getSelectionBoundingBox (DM_Viewport &vport, UT_BoundingBox &bbox)
 
virtual bool canStartNonSecureSelector () const
 
virtual bool getAllowQuickSelect () const
 
virtual bool copyCookedSelectionForFirstSelector () const
 
virtual bool usesHotkeySelector () const
 
virtual bool usesSloppySopSelectorToolbox () const
 
virtual const char * getTemplateName () const
 
bool getFirstSelectionFlag () const
 
void setFirstSelectionFlag (bool first)
 
virtual void handleSelectionTypeChange (UI_Event *event)
 
void updateStashedSelectorActiveCoords (UI_Event *event)
 
void createHotkeySelector ()
 
void destroyHotkeySelectorIfNeeded ()
 
virtual bool needsGeoChangedInterest () const
 
- Protected Member Functions inherited from MSS_SingleOpBaseState
virtual const char * getPresetTypeName () const
 
virtual OP_NodegetChosenOp (void) const
 
virtual void setNodeFlags (OP_Node &node)
 Set the flags (display/current) of the given node: More...
 
virtual bool needSelectMask () const
 
void mapToWorld (float x, float y, UT_Vector3 &dir, UT_Vector3 &rayorig)
 Map viewport coordinates to worldspace location and direction. More...
 
void getViewportTransform (UT_Matrix4 &xform)
 Get worldspace to cameraspace transform. More...
 
void getViewportItransform (UT_Matrix4 &xform)
 Get cameraspace to worldspace transform. More...
 
void getViewportProjectionTransform (UT_Matrix4 &xform) const
 Get the projection transform. More...
 
bool getViewportProjection (fpreal &focal_length, fpreal &horizontal_aperture, bool &is_ortho, fpreal &ortho_width, fpreal &aspect_ratio, fpreal &near_plane, fpreal &far_plane) const
 Get the projection parameters. More...
 
float getViewportLOD () const
 Get level of detail for the viewport. More...
 
void showPrompt (const char *msg)
 Set the status bar text. More...
 
JEDI_View & viewer ()
 
const JEDI_View & viewer () const
 
DM_Workbench & workbench ()
 
const DM_Workbench & workbench () const
 
- Protected Member Functions inherited from BM_SingleOpState
virtual void makePIVisible (int pi_idx, int onoff)
 
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 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 bool disconnectInputsOnRestart () const
 
void clearOpHandleLinks ()
 
virtual bool allowOpMaxExportToDialog () const
 
void deleteOpHandleLinks ()
 
- Protected Member Functions inherited from BM_OpState
BM_OpView & baseViewer ()
 
const BM_OpView & baseViewer () const
 
int createPI (const char *pi_name, int opnum=-1, const char *description=0)
 
int appendPI (BM_OpHandleLink *pi, int opnum=-1)
 
virtual void removePI (int pi_idx)
 
void removeAllLinkedPIs ()
 
BM_OpHandleLink * pi (int index)
 
const BM_OpHandleLink * pi (int index) const
 
BM_OpHandleLink * pi (const char *name)
 
const BM_OpHandleLink * pi (const char *name) const
 
const char * piDescription (int index) const
 
int piOpnum (int index) const
 
int numPIs () const
 
int appendFolder (const char *folder_name)
 
void appendFeelToFolder (const char *folder_name, UI_Feel *child_feel)
 
int appendDialogToFolder (const char *folder_name, BM_ParmState &state_or_handle)
 
int appendDialogToFolder (const char *folder_name, OP_Node &op_node, PRM_Template::PRM_Export export_level)
 
int appendThisStateDialogToFolder (const char *folder_name)
 
int appendDividerToFolder (const char *folder_name)
 
int appendTextToFolder (const char *folder_name, const char *text, UI_LookType look_type=UI_LOOK_HEADING_TEXT)
 
int removeDialog (BM_ParmState &state)
 
int removeDialog (OP_Node &op_node, PRM_Template::PRM_Export export_level)
 
int removeFolder (const char *name)
 
void switchToFolder (const char *name)
 
void handlePIVisibilityChange (UI_Event *event)
 
void connectNode (OP_Node &newnode, OP_Node &inputnode, int input_idx=0, int branch_off=0)
 
void stampNode (OP_Node &newnode)
 
- Protected Member Functions inherited from BM_State
void setModifier (int yn)
 
int meetsBasicEntryConditions (const UI_Event &e) const
 
virtual void setBuild (int onOff)
 
void handleMouseEventVoidRet (UI_Event *event)
 
- Protected Member Functions inherited from BM_ParmState
virtual void initApplication (UI_Manager *, int c, const char **v)
 
PRM_ParmListparameters (void) const
 
UI_ValueparmValue (void) const
 
PRM_Parmparameter (const char *name)
 
PRM_Parmparameter (int index)
 
void setParm (const char *name, const UT_String &value, CH_StringMeaning meaning, fpreal t=0, int refresh=1)
 
void setParm (const char *name, int value, fpreal t=0, int refresh=1)
 
void setParm (const char *name, fpreal value, fpreal t=0, int refresh=1)
 
void setXYParm (const char *name, fpreal x, fpreal y, fpreal t=0, int refresh=1)
 
void setXYZParm (const char *name, fpreal x, fpreal y, fpreal z, fpreal t=0, int refresh=1)
 
void setParm (int index, const UT_String &v, CH_StringMeaning meaning, fpreal t=0, int refresh=1)
 
void setParm (int index, int value, fpreal t=0, int refresh=1)
 
void setParm (int index, fpreal value, fpreal t=0, int refresh=1)
 
void setXYParm (int index, fpreal x, fpreal y, fpreal t=0, int refresh=1)
 
void setXYZParm (int index, fpreal x, fpreal y, fpreal z, fpreal t=0, int refresh=1)
 
bool parmExists (const char *name) const
 
bool parmExists (int index) const
 
void getParm (const char *name, UT_String &value, fpreal t=0) const
 
void getParm (const char *name, int &value, fpreal t=0) const
 
void getParm (const char *name, bool &value, fpreal t=0) const
 
void getParm (const char *name, fpreal &value, fpreal t=0) const
 
void getXYParm (const char *name, fpreal &x, fpreal &y, fpreal t=0) const
 
void getXYParm (const char *name, int &x, int &y, fpreal t=0) const
 
void getXYZParm (const char *n, fpreal &x, fpreal &y, fpreal &z, fpreal t=0) const
 
void getParm (int index, UT_String &value, fpreal t=0) const
 
void getParm (int index, int &value, fpreal t=0) const
 
void getParm (int index, bool &value, fpreal t=0) const
 
void getParm (int index, fpreal &value, fpreal t=0) const
 
void getXYParm (int index, fpreal &x, fpreal &y, fpreal t=0) const
 
void getXYParm (int index, int &x, int &y, fpreal t=0) const
 
void getXYZParm (int index, fpreal &x, fpreal &y, fpreal &z, fpreal t=0) const
 
void overwriteParmDefault (const char *name, fpreal t=0)
 
void overwriteXYParmDefault (const char *name, fpreal t=0)
 
void overwriteXYZParmDefault (const char *name, fpreal t=0)
 
void overwriteParmDefault (int index, fpreal t=0)
 
void overwriteXYParmDefault (int index, fpreal t=0)
 
void overwriteXYZParmDefault (int index, fpreal t=0)
 
void overwriteParmDefaults ()
 
virtual int disableParms (void)
 
int enableParm (const char *name, int onoff, int refresh=1)
 
int enableParm (int index, int onoff, int refresh=1)
 
bool setVisibleState (int pi, bool state, bool refresh=true)
 
bool setVisibleState (const char *pn, bool state, bool refresh=true)
 
void refreshParms (void)
 
void refreshParm (int index)
 
virtual int handleParameterEvent (UI_Event *event)
 
bool saveParmForUndo (int index, bool force=false)
 
virtual int handleSaveParmForUndo (int index)
 
virtual int handleParameterUndo (int parm_index)
 
int getSaveParmForUndoFlag ()
 
void setSaveParmForUndoFlag (int onoff)
 
- Protected Member Functions inherited from BM_SimpleState
virtual void handlePopupMenuEvent (UI_Event *event)
 
void pushCursor (void)
 
void popCursor (void)
 
void setCursor (void)
 
void setCursor (const char *cursorname)
 
void setDefaultCursor (const char *cursorname)
 
void initializeUI ()
 
virtual void getUIFileName (UT_String &full_path_and_name) const
 
void mouseDown (UI_Event *event)
 
int mouseDown (void) const
 
void beginDistributedUndoBlock (const char *operation, UT_UndoBlockType blocktype)
 
void endDistributedUndoBlock ()
 
bool inDistributedUndoBlock ()
 
void setViewportMask (unsigned mask)
 
int getClickInterest ()
 
void addClickInterest (int buttons)
 
void removeClickInterest (int buttons)
 
void redrawScene ()
 
- Protected Member Functions inherited from AP_Interface
UI_NamedValueMapgetValueTable (void) const
 
UI_NamedObjectMapgetObjectTable (void) const
 
virtual void getSignalList (int *signals, int max_signals)
 
- Protected Member Functions inherited from UI_Object
UI_ObjectListdependents ()
 
virtual void preTerminateCallback ()
 

Friends

class mss_UndoClearHandles
 
class mss_UndoCreateHandles
 
class mss_InputSelectorUndoWorker
 

Additional Inherited Members

- Public Types inherited from BM_State
enum  BM_GenerateMode { BM_INLINE = 0x01, BM_OUTLINE = 0x02, BM_REGENERATE = 0x04 }
 
enum  BM_RMBMenuPopupMode { BM_RMB_MENU_ALLOWED, BM_RMB_MENU_DELAYED, BM_RMB_MENU_DENIED }
 
- Public Types inherited from BM_SimpleState
enum  BM_EntryType { BM_FULLTIME_ENTRY = 0x01, BM_OVERLAY_ENTRY = 0x02 }
 
- Static Protected Member Functions inherited from AP_Interface
static void setAppForeground ()
 
static void setTheMainApplication (AP_Interface *app)
 
static AP_InterfacegetMainApplication ()
 
static void loadWindowGeometry (UI_Window *window, bool default_maximized, bool use_pref)
 
static bool getWindowGeometry (int &width, int &height, int &left, int &bottom, bool &maximized, bool use_pref)
 
static bool getSaveWindowGeoPref ()
 
static void saveWindowGeoPref ()
 
static bool loadWindowGeoPref (int &w, int &h, int &left, int &bottom, bool &maximized)
 
- Protected Attributes inherited from BM_SingleOpState
int myOpNodeId
 
OP_NodemySavedOpNode
 
OPUI_Dialog * myOpToolbox
 
UT_SymbolMap< intmyHandleTable
 
UT_BitArray myHandleVisibility
 
UT_String myRestartInfoFile
 
UT_IntArray myRestartOpInputs
 
int myRestartOpId
 
- Protected Attributes inherited from BM_OpState
BM_OpView & myViewer
 
UT_ValArray< opbm_DialogInfo * > myDialogs
 
UT_ValArray< opbm_PIContext * > myPIs
 
UT_ValArray< UI_Feel * > myMiscFeels
 
SI_Folders * myFolders
 
- Protected Attributes inherited from BM_State
BM_StateFlags myFlags
 
- Protected Attributes inherited from AP_Interface
UT_String myName
 
const char *constmyValueNames
 
UI_EventMethod constmyMethods
 
- Static Protected Attributes inherited from BM_OpState
static const char * STATE_DIALOG_FOLDER
 
static const char * HANDLES_FOLDER
 
static const char * OP_DIALOG_FOLDER
 
static int theAutoHighlightFlag
 
- Static Protected Attributes inherited from BM_State
static bool theDelayedSelectionEventIsValid
 
static UI_Event theDelayedSelectionEvent
 

Detailed Description

Essentially a namespace containing static methods for querying various global preference tokens.

Examples:
SOP/MSS_CustomBrushState.C, and SOP/MSS_CustomBrushState.h.

Definition at line 36 of file MSS_SingleOpState.h.

Constructor & Destructor Documentation

MSS_SingleOpState::MSS_SingleOpState ( JEDI_View &  view,
PI_StateTemplate templ,
BM_SceneManager *  scene,
const char *  cursor 
)
virtual MSS_SingleOpState::~MSS_SingleOpState ( void  )
virtual

Member Function Documentation

virtual void MSS_SingleOpState::addAnyReselectionUndos ( )
protectedvirtual

Reimplemented from BM_SingleOpState.

bool MSS_SingleOpState::canExportCookSelectionType ( ) const
virtual bool MSS_SingleOpState::canStartNonSecureSelector ( ) const
inlineprotectedvirtual

Definition at line 184 of file MSS_SingleOpState.h.

virtual bool MSS_SingleOpState::canStartSelectors ( ) const
inlineprotectedvirtual

Definition at line 167 of file MSS_SingleOpState.h.

virtual const char* MSS_SingleOpState::className ( ) const
virtual
virtual bool MSS_SingleOpState::copyCookedSelectionForFirstSelector ( ) const
inlineprotectedvirtual

Definition at line 190 of file MSS_SingleOpState.h.

void MSS_SingleOpState::createHotkeySelector ( )
protected
void MSS_SingleOpState::destroyHotkeySelectorIfNeeded ( )
protected
virtual void MSS_SingleOpState::doGenerate ( void  )
protectedvirtual

Reimplemented from BM_SingleOpState.

virtual void MSS_SingleOpState::doneSelecting ( void  )
protectedvirtual

Reimplemented in MSS_BrushBaseState.

virtual void MSS_SingleOpState::doRender ( RE_Render r,
int  ,
int  ,
int  ghost 
)
protectedvirtual

Reimplemented from BM_State.

Reimplemented in MSS_BrushBaseState, and HDK_Sample::MSS_CustomBrushState.

virtual int MSS_SingleOpState::enter ( BM_SimpleState::BM_EntryType  how)
virtual
virtual void MSS_SingleOpState::exit ( )
virtual
static const char* MSS_SingleOpState::exportCookSelectionType ( )
static
virtual const PI_BindingSelectorInfo* MSS_SingleOpState::findNextParmWithSelector ( int  idx) const
protectedvirtual
virtual int MSS_SingleOpState::generate ( BM_SimpleState::BM_EntryType  how,
bool  insertmode = true,
bool  requestnew = false 
)
virtual

Reimplemented from BM_SingleOpState.

virtual bool MSS_SingleOpState::generateAllNodes ( )
protectedvirtual

Reimplemented in MSS_BrushBaseState.

bool MSS_SingleOpState::getAllowExportingCookSelectionType ( ) const
inline

Definition at line 93 of file MSS_SingleOpState.h.

virtual bool MSS_SingleOpState::getAllowQuickSelect ( ) const
inlineprotectedvirtual

Definition at line 186 of file MSS_SingleOpState.h.

virtual UI_Menu* MSS_SingleOpState::getExtraStateMenu ( )
virtual

Reimplemented from BM_SimpleState.

bool MSS_SingleOpState::getFirstSelectionFlag ( ) const
inlineprotected

Definition at line 202 of file MSS_SingleOpState.h.

int MSS_SingleOpState::getNumSelectors ( ) const
inlineprotected

Definition at line 152 of file MSS_SingleOpState.h.

virtual bool MSS_SingleOpState::getSelectionBoundingBox ( DM_Viewport &  vport,
UT_BoundingBox bbox 
)
protectedvirtual
virtual UI_Menu* MSS_SingleOpState::getSelectorMenu ( )
virtual

Reimplemented from BM_SimpleState.

virtual const char* MSS_SingleOpState::getTemplateName ( ) const
inlineprotectedvirtual

Definition at line 199 of file MSS_SingleOpState.h.

virtual UI_Feel* MSS_SingleOpState::getToolbox ( int  idx) const
protectedvirtual

Reimplemented from BM_SingleOpState.

virtual int MSS_SingleOpState::getToolboxCount ( ) const
protectedvirtual

Reimplemented from BM_SingleOpState.

virtual bool MSS_SingleOpState::handleDoubleClickEvent ( UI_Event event)
protectedvirtual

Reimplemented from BM_State.

virtual void MSS_SingleOpState::handleGeoChangedEvent ( UI_Event )
virtual

Reimplemented from BM_State.

virtual int MSS_SingleOpState::handleKeyTypeEvent ( UI_Event event,
BM_Viewport &   
)
protectedvirtual

Respond to keyboard events.

Reimplemented from MSS_SingleOpBaseState.

Reimplemented in MSS_BrushBaseState, and HDK_Sample::MSS_BrushHairLen.

virtual int MSS_SingleOpState::handleMouseEvent ( UI_Event event)
protectedvirtual

Reimplemented from BM_OpState.

Reimplemented in MSS_BrushBaseState, and HDK_Sample::MSS_CustomBrushState.

virtual int MSS_SingleOpState::handleMouseWheelEvent ( UI_Event event)
protectedvirtual

Reimplemented from BM_OpState.

Reimplemented in MSS_BrushBaseState.

virtual int MSS_SingleOpState::handleNodeDeleted ( OP_Node node)
virtual

Reimplemented from BM_SingleOpState.

virtual void MSS_SingleOpState::handleSelectionTypeChange ( UI_Event event)
protectedvirtual
virtual void MSS_SingleOpState::handleSelectorDone ( UI_Event )
protectedvirtual
virtual bool MSS_SingleOpState::handleTransitoryKey ( const UI_Event event)
protectedvirtual

Reimplemented from BM_OpState.

virtual int MSS_SingleOpState::hasLocates ( void  ) const
virtual

Reimplemented from BM_State.

virtual bool MSS_SingleOpState::ignoreDisplayFlagChange ( ) const
virtual

Reimplemented from BM_State.

virtual void MSS_SingleOpState::interrupt ( BM_SimpleState state = 0)
protectedvirtual

Reimplemented from BM_OpState.

Reimplemented in HDK_Sample::MSS_CustomBrushState, and MSS_BrushBaseState.

Examples:
SOP/MSS_CustomBrushState.C.
virtual bool MSS_SingleOpState::isSelecting ( void  ) const
protectedvirtual

Reimplemented from MSS_SingleOpBaseState.

virtual bool MSS_SingleOpState::isSelectorActive ( ) const
inlineprotectedvirtual

Definition at line 157 of file MSS_SingleOpState.h.

virtual bool MSS_SingleOpState::needsGeoChangedInterest ( ) const
protectedvirtual
virtual int MSS_SingleOpState::nodeIdToReselectWithin ( ) const
inlineprotectedvirtual

Reimplemented in MSS_BrushBaseState.

Definition at line 143 of file MSS_SingleOpState.h.

static BM_State* MSS_SingleOpState::ourConstructor ( BM_View &  view,
PI_StateTemplate templ,
BM_SceneManager *  scene 
)
static
virtual void MSS_SingleOpState::restart ( void  )
virtual

Reimplemented from BM_SingleOpState.

Reimplemented in MSS_BrushBaseState.

virtual void MSS_SingleOpState::resume ( BM_SimpleState state = 0)
protectedvirtual

Reimplemented from BM_OpState.

Reimplemented in HDK_Sample::MSS_CustomBrushState, and MSS_BrushBaseState.

Examples:
SOP/MSS_CustomBrushState.C.
OP3D_InputSelector* MSS_SingleOpState::selector ( int  idx)
inlineprotected

Definition at line 146 of file MSS_SingleOpState.h.

void MSS_SingleOpState::setAllowExportingCookSelectionType ( bool  on)
inline

Definition at line 95 of file MSS_SingleOpState.h.

void MSS_SingleOpState::setFirstSelectionFlag ( bool  first)
inlineprotected

Definition at line 204 of file MSS_SingleOpState.h.

void MSS_SingleOpState::undoReselecting ( )
virtual void MSS_SingleOpState::updateCurrentSelector ( OP3D_InputSelector ,
const PI_BindingSelectorInfo  
)
inlineprotectedvirtual

Definition at line 173 of file MSS_SingleOpState.h.

void MSS_SingleOpState::updateStashedSelectorActiveCoords ( UI_Event event)
protected
virtual bool MSS_SingleOpState::usesHotkeySelector ( ) const
inlineprotectedvirtual

Definition at line 195 of file MSS_SingleOpState.h.

virtual bool MSS_SingleOpState::usesSloppySopSelectorToolbox ( ) const
inlineprotectedvirtual

Definition at line 197 of file MSS_SingleOpState.h.

Friends And Related Function Documentation

friend class mss_InputSelectorUndoWorker
friend

Definition at line 40 of file MSS_SingleOpState.h.

friend class mss_UndoClearHandles
friend

Definition at line 38 of file MSS_SingleOpState.h.

friend class mss_UndoCreateHandles
friend

Definition at line 39 of file MSS_SingleOpState.h.

Member Data Documentation

PRM_Template* MSS_SingleOpState::ourTemplateList
static

Definition at line 52 of file MSS_SingleOpState.h.


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