OrsMovementAndRegistration¶
Handles moving objects physically in the scene
- 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:
Nov 21 2015 17:38
- dragonflyVersion:
3.0
- UUID:
0291f5dc761611e7b521448a5b5d70c0
Class Code¶
- class OrsPythonPlugins.OrsMovementAndRegistration.OrsMovementAndRegistration.OrsMovementAndRegistration(*args, **kwargs)¶
- cleanup()¶
Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.
- 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
Will be executed when the menu item is selected. :param implementation: a subclass of AbstractPlugin in the current context. :param mode: a string to designate which dialog to use.