OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb¶
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Aug 12 2019 12:09 |
| dragonflyVersion: | |
| 4.5.0.711 (D) | |
| UUID: | 93b25d8abd1b11e980d4309c235e8fdb |
Class Code¶
-
class
OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb(varname=None)¶ -
PLUGIN_ORSSTATUSBAR= 'OrsStatusBar'¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
WIZARD_OBJECT_ARRAY_PORE_SIZE_DISTRIBUTION= 'OrsPlugAnalyzer_arrayPoreSizeDistribution'¶
-
WIZARD_OBJECT_ARRAY_THROAT_WEIGHTED_TORTUOSITY= 'OrsPlugAnalyzer_arrayThroatWeightedTortuosity'¶
-
WIZARD_OBJECT_ARRAY_TORTUOSITY= 'OrsPlugAnalyzer_arrayTortuosity'¶
-
WIZARD_OBJECT_INPUT_VISUALBOX= 'OrsPlugAnalyzer_input_visualBox'¶
-
WIZARD_OBJECT_LOADED_DATASET= 'OrsPlugAnalyzer_loadedDataset'¶
-
WIZARD_OBJECT_OUTPUT_VISUALBOX= 'OrsPlugAnalyzer_output_visualBox'¶
-
WIZARD_OBJECT_PLUG_MASK= 'OrsPlugAnalyzer_plugMask'¶
-
WIZARD_OBJECT_PLUG_MASK_VISUALCYLINDER= 'OrsPlugAnalyzer_plugMaskVisualCylinder'¶
-
WIZARD_OBJECT_PREPROCESSED_DATASET= 'OrsPlugAnalyzer_preprocessedDataset'¶
-
WIZARD_OBJECT_RESULT_DENSE_GRAPH= 'OrsPlugAnalyzer_resultGraph'¶
-
WIZARD_OBJECT_RESULT_GEODESIC_DISTANCEMAP= 'OrsPlugAnalyzer_resultGeodesicDistanceMap'¶
-
WIZARD_OBJECT_RESULT_SEGMENTATION_CORRECTED_ROI_SKELETON= 'OrsPlugAnalyzer_segmentationCorrectedROISkeleton'¶
-
WIZARD_OBJECT_RESULT_SPARSE_GRAPH= 'OrsPlugAnalyzer_resultSparseGraph'¶
-
WIZARD_OBJECT_RESULT_THICKNESS_MESH= 'OrsPlugAnalyzer_resultThicknessMesh'¶
-
WIZARD_OBJECT_RESULT_VOLUME_THICKNESS= 'OrsPlugAnalyzer_resultVolumeThickness'¶
-
WIZARD_OBJECT_SEGMENTATION_CORRECTED_FLOWING_ROI= 'OrsPlugAnalyzer_segmentationCorrectedFlowingROI'¶
-
WIZARD_OBJECT_SEGMENTATION_CORRECTED_ROI= 'OrsPlugAnalyzer_segmentationCorrectedROI'¶
-
WIZARD_OBJECT_SEGMENTATION_ROI= 'OrsPlugAnalyzer_segmentationROI'¶
-
WIZARD_PAGE_BOX_EDITING= 'BoxEditing'¶
-
WIZARD_PAGE_CALCULATION= 'Calculation'¶
-
WIZARD_PAGE_LOAD_DATASET= 'LoadDataset'¶
-
WIZARD_PAGE_PRE_PROCESSING= 'PreProcessing'¶
-
WIZARD_PAGE_SEGMENTATION= 'Segmentation'¶
-
WIZARD_PAGE_SEGMENTATION_CORRECTION= 'SegmentationCorrection'¶
-
WIZARD_PAGE_VISUALIZATION_REPORTING= 'VisualizationReporting'¶
-
canBeGenericallyOpened= True¶
-
classmethod
contextualMenu(listSelectedObjectsRepr)¶
-
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
-
classmethod
getContextName()¶
-
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 – an image Type: QPixmap
-
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
-
getLastWizardPageKey()¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
hideCommonWizardObjects()¶ Hides objects used by multiple wizard pages. This is to make sure there is no “phantom object” of a page in another one. This is normally called by a wizard page during the terminatePage method.
-
instantiateWizardPagesForms(parent)¶ Instantiation of the wizard pages forms
-
keepAlive= False¶
-
modalContext= True¶
-
multiple= False¶
-
privateObjects= True¶
-
requiredWizardPagesClasses= [<class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pageloaddataset.pageloaddatasetmodel.PageLoadDatasetModel_ec020dfe01a311ea88220c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pagepreprocessing.pagepreprocessingmodel.PagePreProcessingModel_5054ce4601a411ea85ca0c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pagesegmentation.pagesegmentationmodel.PageSegmentationModel_60e6765201a411eaa6350c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pagesegmentationcorrection.pagesegmentationcorrectionmodel.PageSegmentationCorrectionModel_7f75687601a411ea886a0c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pageboxediting.pageboxeditingmodel.PageBoxEditingModel_3dfa5a8a01a411eab09c0c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pagecalculation.pagecalculationmodel.PageCalculationModel_2633293401a411eaa4d30c9d9276734f'>, <class 'OrsPythonPlugins.OrsPlugAnalyzer_93b25d8abd1b11e980d4309c235e8fdb.pagevisualizationreporting.pagevisualizationreportingmodel.PageVisualizationReportingModel_9694242e01a411ea9a550c9d9276734f'>]¶
-
restrictPlugins= True¶
-
savable= True¶
-
setupContext(openMainForm=True)¶ Performs the tasks to setup the context. This is normally done after the instantiation of the main plugin in context and setting his state.
These are the usual tasks:
- instantiate all required plugins;
- define context restrictions (actions, states, …);
- open the main window with the mainform of the main plugin in context and all plugin forms
- (if
openMainFormisTrue);
- initialize the menu (if wanted);
- perform any other task to initialize the context (configure views, text presenters, …).
Parameters: openMainForm (bool) – Trueto use the forms;Falseotherwise.
-
classmethod
startOrsPlugAnalyzer()¶
-
classmethod
startPlugAnalysisFromChannel(aChannel, openMainForm=True)¶
-
classmethod
toolsMenu()¶
-