OrsMeshPainter_51d5c5d0394811eab7bac860006dfcdd¶
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Jan 17 2020 11:42
- dragonflyVersion:
2020.1.0.743 (D)
- UUID:
51d5c5d0394811eab7bac860006dfcdd
Class Code¶
- class OrsPythonPlugins.OrsMeshPainter_51d5c5d0394811eab7bac860006dfcdd.OrsMeshPainter_51d5c5d0394811eab7bac860006dfcdd.OrsMeshPainter_51d5c5d0394811eab7bac860006dfcdd(*args, **kwargs)¶
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- handleChanged(oldState, newState)¶
This method is called when the state of the application is changed.
- Parameters:
oldState (str) – name of the old (previous) state
newState (str) – name of the new (current) state
- handleTriggered(eventdata)¶
This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.
- Parameters:
eventData (OrsEvent.eventdata.InputEventData) – the event data
- setCursor(handleName)¶
Sets the current cursor
- Parameters:
state (str) – state associated to the cursor to set