OrsDatasetSlicesRegistration¶
To register slices within a dataset
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2018. |
| date: | Dec 23 2015 15:22 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | b815e24c761111e79c36448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsDatasetSlicesRegistration.OrsDatasetSlicesRegistration.OrsDatasetSlicesRegistration(varname=None, managed=True)¶ -
OrsStateMoveRotateHandleSliceRegistration= 'OrsStateMoveRotateHandleSliceRegistration'¶
-
OrsStateMoveRotateHandleSliceRegistrationActivation()¶
-
OrsStateMoveRotatePivotSliceRegistration= 'OrsStateMoveRotatePivotSliceRegistration'¶
-
OrsStateMoveRotatePivotSliceRegistrationActivation()¶
-
OrsStateMoveSliceRegistration= 'OrsStateMoveSliceRegistration'¶
-
OrsStateMoveSliceRegistrationActivation()¶
-
OrsStateMoveTranslateSliceRegistration= 'OrsStateMoveTranslateSliceRegistration'¶
-
OrsStateMoveTranslateSliceRegistrationActivation()¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
XDirection= 0¶
-
YDirection= 1¶
-
ZDirection= 2¶
-
addAppliedRegistrationToStack(aRegistration, aDescription=None, refresh=True)¶
-
addCallBackOnAddedChannel()¶
-
addDummyRegistrationToAffectDataset(translateX, translateY, rotate, aTitle=None, patern=None, debugMode=True)¶
-
addGlobalXMLRegistrationToRegistrationList(globalRegistrationXML)¶
-
allDirection= (0, 1, 2)¶
-
applyToAnotherDataset(aDataset, outputShape)¶
-
buildGlobalXMLRegistration()¶
-
clearAllRegistrationInStack()¶
-
clearListUnappliedRegistrations()¶
-
closable= True¶
-
closeWidget(name)¶
-
classmethod
contextualMenu(context)¶
-
datasetIsForSliceDisplayOnly(dataset)¶
-
deleteAllDatasetsForSlicesDisplay()¶
-
deleteGlobalXMLRegistration(fileName, path=None)¶
-
displayLateralView(value)¶
-
classmethod
generateTestChannelOne(square=True, offsetInPixel=2)¶
-
getActualRegistration()¶
-
getActuelRegistrationDescription()¶
-
getAppliedRegistration(index)¶
-
getClipBox()¶
-
getCropOutputBox()¶
-
getCurrentSliceIndex(dataset, display=None, dimensionIdx=None)¶
-
getCurrentSliceTransformationForRegistrationsAdded(dataset, numberRegistrationAdded)¶
-
getCurrentXMLRegistration(registrationXML)¶
-
getDescriptionFromAppliedRegistration(index)¶
-
getDescriptionFromOldRegistration(index)¶
-
getDescriptionFromUnappliedRegistration(index)¶
-
getDisplay(directionIdx)¶
-
getGlobalRegistrationKeyDataFromXML(globalRegistrationXML, key)¶
-
getLayout(directionIdx)¶
-
getListAppliedRegistrations()¶
-
getMainDisplay()¶
-
getMainSliceDataset()¶
-
getMainSliceVolume()¶
-
getMaxSliceIndex(dataset, dimensionIdx=None)¶
-
getNbAppliedRegistrationsInStack()¶
-
getNbOldRegistrations()¶
-
getNbRegistrationsInDatasetUserInfo(aDataset)¶
-
getNbTotalRegistrations()¶
-
getNbUnappliedRegistrationsInStack()¶
-
getRegisteredBox(workingDataset, updateActualRegistration=False)¶
-
getRegistrationKeyDataFromXML(registrationXML, key)¶
-
getSliceDataset(directionIdx)¶
-
getSliceVolume(directionIdx)¶
-
getUnappliedRegistration(index)¶
-
getUseBox()¶
-
getWorkingDataset() → ORSModel.ors.Channel¶
-
getWorkingDisplay()¶
-
getWorkingLayout()¶
-
getWorkingVolume()¶
-
getXZDisplay()¶
-
getYZDisplay()¶
-
getZSliceFromXML(globalRegistrationXML)¶
-
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
-
initSliceChannel(directionIdx)¶
-
keepAlive= False¶
-
loadGlobalXMLRegistration(fileName, path=None)¶
-
loadOldRegistrationsFromUserInfo()¶
-
multiple= False¶
-
onMainSliceChange(display, directionIdx)¶
-
onSecondarySliceChange(display, directionIdx)¶
-
onSliceChange(display, directionIdx)¶
-
classmethod
openDatasetSliceRegistrationMainForm(channelGUID)¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
popLastAppliedRegistrationInStack()¶
-
printAllRegistrationSliceMatrix(workingDataset)¶
-
refreshDisplayWithRegistration(aDirection)¶
-
refreshLateralViews()¶
-
refreshOnRegistrationChange()¶
-
reloadLastUnappliedRegistrationInStack()¶
-
removeRegistrationInStack(aRegistration)¶
-
savable= False¶
-
saveDataset(createNewDatasetTitle=None)¶
-
saveGlobalXMLRegistration(filepath, fileName)¶
-
setWorkingDataset(dataset)¶
-
stateDescriptors= [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]¶
-
storeSliceRegistrationToDatasetUserInfo(aDataset=None)¶
-
updateRegistrationInStack(aRegistration)¶
-