OrsMarkedSlicesManipulator

Plugin used to managed marked slice of Channel

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.
date:July 2017
dragonflyVersion:
 3.0
UUID:bd221f92761511e7b3c1448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsMarkedSlicesManipulator.OrsMarkedSlicesManipulator.OrsMarkedSlicesManipulator(varname=None, managed=True)
closable = False
contextualMenu(listSelectedObjects)
classmethod getAbout()
getActionString()
getState()
hideMarkSlice()
keepAlive = False
interfacemethod markAllSlice(dataset, marked)

Mark all slices of a dataset.

Parameters:
  • dataset (ORSModel.ors.Channel) – the dataset to mark the slices on
  • marked (bool) – True to set the entire slices as marked, False otherwise
Returns:

markingSuccess (bool) – True if successful, False otherwise

interfacemethod markSlice(dataset, sliceIndex, timeStep, marked)

Mark a slice of a dataset.

Parameters:
  • dataset (ORSModel.ors.Channel) – the dataset to mark the slice on
  • sliceIndex (int) – the slice index to mark
  • timeStep (int) – the time index to mark
  • marked (bool) – True to set the slice to be marked, False otherwise
Returns:

markingSuccess (bool) – True if successful, False otherwise

markSliceFromOverlay()
multiple = False
interfacemethod removeMarkSlice(dataset)

Removes the marked slices of a dataset.

Parameters:dataset (ORSModel.ors.Channel) – the dataset to remove the marked slices on
Returns:removalSuccess (bool) – True if successful, False otherwise
savable = True
setObjectToMarkSliceLogic()
showMarkSlice()
interfacemethod simpleMarkSliceReplacement(dataset)

Replaces the marked slices of a dataset.

Parameters:dataset (ORSModel.ors.Channel) – the dataset to replace the marked slices on
Returns:replacementSuccess (bool) – True if successful, False otherwise