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: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Oct 05 2015 16:45 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | 83ba8ba6761111e78b0b448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsDatasetInvertor.OrsDatasetInvertor.OrsDatasetInvertor(varname=None)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
classmethod
contextualMenu(context)¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getShowZRelatedWidgets()¶
-
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)¶
-
savable= False¶
-
selectedObjectsChanged()¶
-
setShowZRelatedWidgets(isVisible)¶
-
setSourceStructuredGrid(structuredGrid)¶
-