HDK
|
#include <MSS_BrushHairLen.h>
Public Member Functions | |
MSS_BrushHairLen (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR) | |
~MSS_BrushHairLen () override | |
const char * | className () const override |
The name and type of this class: More... | |
void | getUIFileName (UT_String &uifilename) const override |
Public Member Functions inherited from MSS_BrushBaseState | |
MSS_BrushBaseState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR) | |
~MSS_BrushBaseState () override | |
void | restart () override |
void | handleOpNodeChange (OP_Node &node) override |
bool | getAllowIndirectHandleDrag () const override |
Public Member Functions inherited from MSS_SingleOpState | |
MSS_SingleOpState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor) | |
~MSS_SingleOpState () override | |
void | initApplication (UI_Manager *ui_mgr, int count, const char **vargs) override |
int | enter (BM_SimpleState::BM_EntryType how) override |
void | exit () override |
void | restart () override |
int | generate (BM_SimpleState::BM_EntryType how, const GenerateParms &parms) override |
int | hasLocates () const override |
int | handleNodeDeleted (OP_Node &node) override |
void | handleGeoChangedEvent (UI_Event *) override |
bool | ignoreDisplayFlagChange () const override |
void | undoReselecting () |
UI_Menu * | getSelectorMenu () override |
UI_Menu * | getExtraStateMenu () override |
bool | getAllowExportingCookSelectionType () const |
void | setAllowExportingCookSelectionType (bool on) |
bool | canExportCookSelectionType () const |
void | handleVolatileChanges () override |
Public Member Functions inherited from MSS_SingleOpBaseState | |
MSS_SingleOpBaseState (JEDI_View &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR) | |
~MSS_SingleOpBaseState () override | |
Public Member Functions inherited from BM_SingleOpState | |
BM_SingleOpState (BM_OpView &view, PI_StateTemplate &templ, BM_SceneManager *scene, const char *cursor=BM_DEFAULT_CURSOR) | |
~BM_SingleOpState () override | |
void | stopGenerating () override |
int | hasOpNode (const OP_Node &node) const override |
void | handleOpNetClear () override |
OP_Node * | getNode () const |
void | createOpHandleLink (const char *handle_instance_name, const char *settings=nullptr, bool load_settings=true) |
bool | deleteOpHandleLink (const char *handle_instance_name, bool remove_bindings=false) |
Public Member Functions inherited from BM_OpState | |
BM_OpState (BM_OpView &view, PI_StateTemplate &templ, BM_SceneManager *sceneManager, const char *cursor=BM_DEFAULT_CURSOR) | |
~BM_OpState () override | |
void | prepareDialogForDisplay () const override |
int | hasDialog () const override |
UI_Feel * | dialogFeel () const override |
int | findPI (BM_OpHandleLink *pi) const override |
virtual bool | updateInvisiblePIHandleForMoveTool (bool(*func)(BM_Handle *handle, BM_MoveTool::Type tool, unsigned vport_mask), BM_MoveTool::Type tool, unsigned vport_mask, bool make_visible) |
fpreal | getTime () const |
Obtains the current global time. More... | |
bool | getStateParmNames (UT_StringArray &ret, const char *prefix=nullptr) override |
bool | evalStateParm (const char *name, UT_StringHolder &ret) override |
bool | setStateParm (const char *name, const UT_StringHolder &val) override |
bool | pressStateButton (const char *name) override |
BM_OpHandleLink * | piByRootDescription (const char *description) |
BM_OpHandleLink const * | piByRootDescription (const char *description) const |
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) | |
~BM_State () override | |
int | getUniqueId () const |
virtual void | status (UT_String &s) const |
virtual void | renderStatusExtras (RE_Render *) |
int | isHandle () const override |
virtual void | concealState () |
virtual void | revealState () |
virtual void | onVolatileState (BM_SimpleState const *volatile_state, bool overriding_state) |
virtual int | preprocessSelect (UI_Event *event) |
virtual void | handleDetailLookGeoChanged (BM_DetailLook *look) |
void | propagateDetailLookGeoChanged (BM_DetailLook *look) |
void | render (RE_Render *r, int x, int y) override |
virtual void | renderPartialOverlay (RE_Render *r, int x, int y) |
void | startGenerating (BM_State::BM_GenerateMode how=BM_State::BM_INLINE, bool requestnew=false, bool exsitu=false) |
int | meetsOverlayEntryConditions (const UI_Event &event) const |
virtual void | handleOpUIChange (OP_Node &) |
virtual void | handleOpNetChange (OP_Network &) |
void | wantsLocates (int yesNo) |
virtual bool | doesHandleLocates () const |
int | isPreempted () const |
int | isBuilding () const |
int | isEntered () const |
bool | isConcealed () const |
int | isGenerating () const |
int | isGeneratingInline () const |
bool | isRequestingNew () const |
bool | isGeneratingExSitu () const |
int | isRegenerating () const |
bool | isOverlay () const override |
int | isFullTime () const |
int | isModifier () const override |
int | isSticky () const |
virtual BM_RMBMenuPopupMode | getRMBMenuPopupMode (short altflags) const |
const PI_StateTemplate & | getTemplate () const |
PI_StateTemplate & | getTemplate () |
virtual int | isOpIndependent () const |
virtual bool | canSwitchToOpDependent () const |
virtual void | switchToOpDependent () |
const char * | getHotkeyString () const override |
const char * | getIconName () const override |
const char * | getLabel () const override |
const char * | getDescription () const override |
virtual void | afterUndo () |
const char * | replaceCursor (const char *newcursor) override |
virtual void | getHelp (UT_String &help_text, bool &is_html) |
virtual void | getHelpDirAndNameOrUrl (UT_StringHolder &dir, UT_StringHolder &name, UT_StringHolder &url) |
virtual bool | showPersistent () const |
virtual bool | wantFailedOrienterEvent () const |
virtual bool | getShowSelectedOp () const |
virtual void | resetStateForNew () |
virtual UI_Feel * | getCustomSelectModeSideBar () const |
virtual bool | useSecureSelection () const |
virtual bool | useVolatileSelection () const |
bool | isBusyProcessing () const |
virtual int | testDragDrop (DD_Source &) |
virtual void | getDragDropChoice (DD_Source &, DD_ChoiceList &) |
virtual int | acceptDragDrop (DD_Source &, const char *) |
virtual bool | switchHandleTool (BM_MoveTool::Type tool, bool reveal_updated_handles) |
virtual bool | overrideSelectState (UT_StringHolder &new_state) |
virtual void | initializeHUDs () |
int | updateHUD (UT_HUDInfoArgs const &args) |
void | stealNewStateHUDQueue (UT_Array< HUDInfoArgsCopyUPtr > &&queue) |
void | enterHUD () |
void | exitHUD () |
void | renderHUD () |
UT_Array< int > const & | viewportEventIDs () const |
UT_Array< int > & | viewportEventIDs () |
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) | |
~BM_ParmState () override | |
const UT_String & | name () const |
const UT_String & | english () const |
UI_Feel * | extraDialogFeel () const |
virtual void | initializeUI (PRM_Template *tmpl=0) |
void | refreshParms () |
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) | |
~BM_SimpleState () override | |
virtual UI_Menu * | getStateMenu (int ortho=0) |
virtual void | onBeginRMBMenu (UI_Event *) |
virtual bool | canShowStateMenu () const |
virtual int | handleKeyEvent (int key, UI_Event *event) final |
virtual void | overlayRender (RE_Render *r, int x, int y) |
virtual int | getVolatileToolboxCount () const |
virtual UI_Feel * | getVolatileToolbox (int index) const |
void | setVolatileViewport (BM_Viewport *view) |
BM_Viewport * | getVolatileViewport () const |
BM_SceneManager & | sceneManager () |
const BM_SceneManager & | sceneManager () const |
void | setSavedState (BM_SimpleState *state) |
BM_SimpleState * | getSavedState () |
const BM_SimpleState * | getSavedState () const |
const char * | getCurrentCursor () const |
unsigned int | getViewportMask () const |
const UT_UndoWorkerFinder < BM_SimpleState > & | undoWorkerFinder () const |
void | beginDistributedUndoBlock (const char *operation, UT_UndoBlockType blocktype, bool ignore_log=false) |
void | endDistributedUndoBlock (bool ignore_log=false) |
bool | inDistributedUndoBlock () |
Public Member Functions inherited from AP_Interface | |
AP_Interface () | |
AP_Interface (const char *myname, const char *const *names, UI_EventMethod const *methods) | |
~AP_Interface () override | |
const UT_String & | getName () 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_Value * | findValueSymbol (const char *symbol) const |
Find the UI_Value for the given named value symbol. More... | |
UI_Value * | getValueSymbol (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_Object * | getObjectSymbol (const char *symbol) const |
UI_Feel * | getFeelSymbol (const char *symbol) const |
UI_Feel * | findValueFeel (UI_Value *value) const |
int | getFeelSymbols (UT_StringArray &symbols, UT_Array< UI_Feel * > &feels) const |
void | setKeyDelegateSymbol (const char *symbol, UI_KeyDelegateSPtr delegate, bool warn=true) |
bool | hasKeyDelegateSymbol (const char *symbol) const |
Returns whether the current key delegate symbol is defined. More... | |
UI_KeyDelegateSPtr | findKeyDelegateSymbol (const char *symbol) const |
Find the UI_KeyDelegate for the given named key delegate symbol. More... | |
UI_KeyDelegateSPtr | getKeyDelegateSymbol (const char *symbol, int create=1) |
void | removeObjectSymbol (const char *symbol) |
Delete the entry for the given object symbol name. More... | |
void | removeValueSymbol (const char *symbol) |
Delete the entry for the given value symbol name. More... | |
template<typename T > | |
T * | findObject (const char *name) const |
template<typename T > | |
T * | findValue (const char *name) const |
virtual void | outputUsage (int argc, const char **argv) const |
void | resetApplication () |
void | handleEvent (UI_Event *event) override |
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, fpreal uiscale, int playbarui) |
bool | restoreUIInitPrefs () |
bool | getFunctionKeyScript (int key, UI_Event *event, UT_String &script) |
void | setKeyBindingProxySrc (const char *symbol, UI_Feel *src, bool warn=true) |
void | addKeyBindingProxyRef (const char *symbol, UI_Feel *ref, bool warn=true) |
Public Member Functions inherited from UI_Object | |
UI_Object () | |
virtual | ~UI_Object () |
UI_Object (const UI_Object &)=delete | |
UI_Object & | operator= (const UI_Object &)=delete |
virtual int | interestingEvent (UI_EventType t, UI_DeviceEvent *event) const |
virtual void | deleteReferences (UI_Object *to_whom) |
UI_Object * | getParent () 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_ObjectList & | dependents () 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_WorkBuffer &string) const |
void | debugQueueEventsFor (const UI_Value *value, const char *name, UI_EventType t=UI_EVENT_NO_EVENT) const |
const UI_ValueList & | valueInterests () const |
void | interestedInValue (UI_Value *) |
void | removeValueInterest (UI_Value *) |
void | addKeyDelegateClientship (UI_KeyDelegate *) |
void | removeKeyDelegateClientship (UI_KeyDelegate *) |
Static Public Member Functions | |
static BM_State * | ourConstructor (BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene) |
Static Public Member Functions inherited from MSS_BrushBaseState | |
static BM_State * | ourConstructor (BM_View &view, PI_StateTemplate &templ, BM_SceneManager *scene) |
Static Public Member Functions inherited from MSS_SingleOpState | |
static BM_State * | ourConstructor (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_Options & | getGlobalPrefs () |
Static Public Member Functions inherited from AP_Interface | |
static FILE * | createPreferenceFile (const char *filename) |
static int | mapStrToInt (const char *label, const std::pair< const char *, int > *map) |
static const char * | mapIntToStr (int index, const std::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 const char * | getStartupDesktop () |
Static Public Member Functions inherited from UI_Object | |
static UI_Manager * | getManager () |
static UI_Queue * | getInputQueue () |
static int | keycmp (const char *, int key) |
static int | keycmp (const char *, int key, const UI_HotkeyEcho &) |
static void | keyEcho (const char *, const UI_HotkeyEcho &) |
static void | actionKeyEcho (const char *, const char *custom_suffix=0) |
static void | toggleKeyEcho (const char *, bool new_value) |
Static Public Attributes | |
static PRM_Template | ourTemplateList [] |
Static Public Attributes inherited from MSS_BrushBaseState | |
static PRM_Template * | ourTemplateList |
Static Public Attributes inherited from MSS_SingleOpState | |
static PRM_Template * | ourTemplateList |
Static Public Attributes inherited from AP_Interface | |
static const std::pair< const char *, int > | theFileChooserStyleMap [] |
Menu items and their mapping for file chooser style preference. More... | |
Static Protected Attributes | |
static PRM_ChoiceList | theLMBMenu |
static PRM_ChoiceList | theMMBMenu |
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 |
Definition at line 32 of file MSS_BrushHairLen.h.
MSS_BrushHairLen::MSS_BrushHairLen | ( | JEDI_View & | view, |
PI_StateTemplate & | templ, | ||
BM_SceneManager * | scene, | ||
const char * | cursor = BM_DEFAULT_CURSOR |
||
) |
Definition at line 98 of file MSS_BrushHairLen.C.
|
override |
Definition at line 105 of file MSS_BrushHairLen.C.
|
overridevirtual |
The name and type of this class:
Reimplemented from MSS_BrushBaseState.
Definition at line 111 of file MSS_BrushHairLen.C.
This method is used to get the name of the UI file. Normally it is prefixed by the UI directory, but as that varies from build to build, we hard code it.
Reimplemented from BM_SimpleState.
Definition at line 117 of file MSS_BrushHairLen.C.
|
overrideprotectedvirtual |
Respond to keyboard events.
Reimplemented from MSS_BrushBaseState.
Definition at line 123 of file MSS_BrushHairLen.C.
|
overrideprotectedvirtual |
Convert an op menu entry to a brush operation:
Reimplemented from MSS_BrushBaseState.
Definition at line 195 of file MSS_BrushHairLen.C.
|
static |
This constructor and parameter template list go into the DM_StateTemplate for this state.
Definition at line 92 of file MSS_BrushHairLen.C.
|
static |
Definition at line 44 of file MSS_BrushHairLen.h.
|
staticprotected |
Definition at line 64 of file MSS_BrushHairLen.h.
|
staticprotected |
Definition at line 65 of file MSS_BrushHairLen.h.