OrsDatasetStitching_a2cacc40fd5a11e7990dc860006dfcdd

Tool to assemble portions of a dataset into a single dataset

author:ORS Team, Arnaud Brignol, Francis Cote, Han-Thu Gloria Hang-Vo
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montreal, Quebec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Jan 19 2018 15:52
dragonflyVersion:
 3.5.0.418
UUID:a2cacc40fd5a11e7990dc860006dfcdd

Class Code

class OrsPythonPlugins.OrsDatasetStitching_a2cacc40fd5a11e7990dc860006dfcdd.OrsDatasetStitching_a2cacc40fd5a11e7990dc860006dfcdd.OrsDatasetStitching_a2cacc40fd5a11e7990dc860006dfcdd(varname=None)
PLUGIN_ORSBASICMANIPULATE = 'OrsBasicManipulate'
PLUGIN_ORSCLIPBOXMANIPULATOR = 'OrsClipBoxManipulator'
PLUGIN_ORSHIGHLIGHTMANAGER = 'OrsHighlightManager'
PLUGIN_ORSMOVEMENTANDREGISTRATION = 'OrsMovementAndRegistration'
PLUGIN_ORSSCALEBARMANIPULATOR = 'OrsScaleBarManipulator'
PLUGIN_ORSSTATESELECTOR = 'OrsStateSelector'
PLUGIN_ORSTEXTPRESENTERMANAGER = 'OrsTextPresenterManager'
PLUGIN_ORSWINDOWLEVELING = 'OrsWindowLeveling'
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
actionDisplayNextSlice()
actionDisplayPreviousSlice()
actionState_RefSelectionMultiple_Activation()
actionState_RefSelectionOne_Activation()
actionState_ToRegSelectionMultiple_Activation()
actionState_ToRegSelectionOne_Activation()
actionSwitchToRefSelectMode()
actionSwitchToSelectMultipleMode()
actionSwitchToToRegSelectMultipleMode()
actionSwitchToToRegSelectOneMode()
autoStitch(application_manager, progressBar)
canBeGenericallyOpened = False
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 contextualMenu()

classmethod(function) -> method

Convert a function to be a class method.

A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:

class C:

@classmethod def f(cls, arg1, arg2, …):

It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.

Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.

copyRegistrationInfo(guidList)
deselectAll()
discard()
displayNextSlice()
displayPreviousSlice()
getConfigurationLayout()
classmethod getContextName()
getCurrentStitcher()
getInputChannel()
getLayoutManager()
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
getOutputName()
getSliceNumberVisualText()
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
keepAlive = False
minimumTimeInSeconds = 0.05
modalContext = True
multiple = True
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)

Instantiates the widget with the provided name. This is done only if it is not already instantiated.

Parameters:
  • name (str) – name of the widget to instantiate
  • dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
  • tab (str) – name of the tab to dock in
  • x (int) – position of top left corner of window in x. Use -1 for default value.
  • y (int) – position of top left corner of window in y. Use -1 for default value.
  • w (int) – width of window. Use -1 for default value.
  • l (int) – height of window. Use -1 for default value.
  • order (int.) – position of widget in docking location. Use -1 to put at the end.
  • show (bool) – if True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. If False, no call to show the form is made.
privateObjects = False
refreshView(delay)
restrictPlugins = True
savable = False
selectAll()
selectMultiple(event)
selectOne(event)
setChannelsLUT(refList=[], toRegList=[], defaultList=[], delay=0.5)
setConfigurationLayout(value)
setInputChannel(channelGUID)
setOutputName(name)
setupStitchingApplications(application_manager, refSelection, toRegSelection)
showStitchingApplications(application_manager)
classmethod startup(channelGUID, openMainForm=True)
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
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]
stateRefSelectionMultiple_OrsDatasetStitching = 'stateRefSelectionMultiple_OrsDatasetStitching'
stateRefSelectionOne_OrsDatasetStitching = 'stateRefSelectionOne_OrsDatasetStitching'
stateToRegSelectionMultiple_OrsDatasetStitching = 'stateToRegSelectionMultiple_OrsDatasetStitching'
stateToRegSelectionOne_OrsDatasetStitching = 'stateToRegSelectionOne_OrsDatasetStitching'
switchToRefSelectOneMode()
switchToToRegSelectOneMode()
updateChannelUnderCursorEntity(event)
updateWindowLevellingState()