OrsBoneAnalysisWizard_4960f17ef01e11e99a760c9d9276653a¶
- 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:
Oct 16 2019 10:07
- dragonflyVersion:
4.5.0.11514
- UUID:
4960f17ef01e11e99a760c9d9276653a
Class Code¶
- class OrsPythonPlugins.OrsBoneAnalysisWizard_4960f17ef01e11e99a760c9d9276653a.OrsBoneAnalysisWizard_4960f17ef01e11e99a760c9d9276653a.OrsBoneAnalysisWizard_4960f17ef01e11e99a760c9d9276653a(*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.
- interfacemethod extractObjectFromContextGroup(aContextGroup, anObjectToExtract)¶
Extracts an object from a context group by making a copy.
- Parameters:
aContextGroup (ORSModel.ors.Group) – a context group
anObjectToExtract (ORSModel.ors.Managed) – an object to extract
- Returns:
extractedObject (ORSModel.ors.Managed) – extracted object
- forceRefresh3DViewOfCurrentLayout()¶
Forces a refresh of the 3D view of the current layout
- classmethod getImageRepresentation()¶
Method called to obtain a bitmap representing the Wizard, mostly to build a quick launch toolbar where each wizard has a button to start it
- Returns:
output (QPixmap) – an image
- getIsObjectAvailable(anObject)¶
Gets to know if the object is available in the context.
- Parameters:
anObject (ORSModel.ors.Managed) – an object
- Return:
Trueif the object is available in the context;Falseotherwise.- Rtype:
bool
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- classmethod importAllLoggingClasses()¶
This method is called to make any class extension available for macro playing. It should:
import all class extension;
return a list of classes where logging is supported.
- Returns:
output (list of classes) – list of classes where logging is supported by the current plugin
- instantiateWizardPagesForms(parent)¶
Instantiation of the wizard pages forms
- classmethod startupDefault(openMainForm=True)¶
Creates an instance of the plugin class and opens the main form (if required) at the default position.
- Returns:
output (AbstractPlugin) – plugin instance