OrsDatasetProperties

Manages dataset properties

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 2020.
date:Aug 03 2015 15:11
dragonflyVersion:
 3.0
UUID:94c07368761111e79147448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsDatasetProperties.OrsDatasetProperties.OrsDatasetProperties(varname=None, managed=True)
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, dataUnit)

Changes the structured grid properties.

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)
  • dataUnit (str) – 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.

closable = True
closeWidget(name)
classmethod contextualMenu(context)
getIsStructuredGridAChannel()
getStructuredGrid()
getStructuredGridGUID()
keepAlive = False
multiple = False
classmethod openDatasetPropertiesAction(structuredGrid)
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
orsCurrentViewChange()
savable = False
selectedObjectsChanged()
setStructuredGrid(obj)
setStructuredGridGUID(guid)
updateUIFromModel()