OrsDatasetInvertor¶
Manages dataset (tone of gray and/or axis) inversion
| 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: | Oct 05 2015 16:45 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | 83ba8ba6761111e78b0b448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsDatasetInvertor.OrsDatasetInvertor.OrsDatasetInvertor(varname=None, managed=True)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
closable= True¶
-
closeWidget(name)¶
-
classmethod
contextualMenu(context)¶
-
getSourceStructuredGrid()¶
-
interfacemethod
invert(structuredGrid, invertX, invertY, invertZ, invertData, axisTransformation, createNewDataset)¶ Invert the data of a dataset along specified axes.
Parameters: - structuredGrid (ORSModel.ors.StructuredGrid) – the dataset to invert
- invertX (bool) – if True, the X axis will be inverted
- invertY (bool) – if True, the Y axis will be inverted
- invertZ (bool) – if True, the Z axis will be inverted
- invertData (bool) – if True, the data will be inverted
- axisTransformation (int) – a permutation of the axes
- createNewDataset (bool) – if True, a new dataset will be generated. If False, the input dataset will be modified.
Returns: newDataset (ORSModel.ors.StructuredGrid) – inverted dataset. If createNewDataset is False, None is returned.
-
keepAlive= False¶
-
multiple= False¶
-
classmethod
openDatasetInverterAction(channelGUID)¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
savable= False¶
-
selectedObjectsChanged()¶
-
setSourceStructuredGrid(structuredGrid)¶
-