OrsDatasetProperties¶
Manages dataset properties
| 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: | Aug 03 2015 15:11 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | 94c07368761111e79147448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsDatasetProperties.OrsDatasetProperties.OrsDatasetProperties(varname=None)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
addCallbackOnGeometryDirty(structuredGrid)¶
-
interfacemethod
changeAdvancedStructuredGridProperties(structuredGrid, xPosition, yPosition, zPosition, orientationAxis1X, orientationAxis1Y, orientationAxis1Z, orientationAxis2X, orientationAxis2Y, orientationAxis2Z, orientationAxis3X, orientationAxis3Y, orientationAxis3Z)¶ Changes the structured grid advanced properties.
Parameters: - structuredGrid (ORSModel.ors.StructuredGrid) – the structured grid to modify
- xPosition (float) – new position in the X direction
- yPosition (float) – new position in the Y direction
- zPosition (float) – new position in the Z direction
- orientationAxis1X (float) – new X component for the direction 1
- orientationAxis1Y (float) – new Y component for the direction 1
- orientationAxis1Z (float) – new Z component for the direction 1
- orientationAxis2X (float) – new X component for the direction 2
- orientationAxis2Y (float) – new Y component for the direction 2
- orientationAxis2Z (float) – new Z component for the direction 2
- orientationAxis3X (float) – new X component for the direction 3
- orientationAxis3Y (float) – new Y component for the direction 3
- orientationAxis3Z (float) – new Z component for the direction 3
-
interfacemethod
changeStructuredGridProperties(structuredGrid, xSpacing, ySpacing, zSpacing, offset, slope, dataDimensionUnit=None, dataUnit=None)¶ Changes the structured grid properties.
Changed in version -: Argument dataUnit (str) is replaced by dataDimensionUnit (DimensionUnit instance)
Parameters: - structuredGrid (ORSModel.ors.StructuredGrid) – the structured grid to modify
- xSpacing (float) – new spacing in the X direction
- ySpacing (float) – new spacing in the Y direction
- zSpacing (float) – new spacing in the Z direction
- offset (float) – new data offset (used with channels only)
- slope (float) – new data slope (used with channels only)
- dataDimensionUnit (ORSModel.ors.DimensionUnit) – new data DimensionUnit (used with channels only)
- dataUnit (str) [deprecated: use dataDimensionUnit instead] – new data unit (used with channels only)
-
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(context)¶
-
getIsStructuredGridAChannel()¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getStructuredGrid()¶
-
getStructuredGridGUID()¶
-
keepAlive= False¶
-
multiple= False¶
-
classmethod
openDatasetPropertiesAction(structuredGrid)¶
-
orsCurrentViewChange()¶
-
savable= False¶
-
selectedObjectsChanged()¶
-
setStructuredGrid(obj)¶
-
setStructuredGridGUID(guid)¶
-
updateUIFromModel()¶
-