Back to index

salome-paravis  6.5.0
Public Member Functions | Public Attributes
paravisSM.ArrayInformation Class Reference

List of all members.

Public Member Functions

def __init__
def __getattr__
def __repr__
def GetRange

Public Attributes


Detailed Description

Meta-information associated with an array. Use the Name
attribute to get the array name.

Please note that some of the methods accessible through the ArrayInformation
class are not listed by help() because the ArrayInformation objects forward
unresolved attributes to the underlying object.
See the doxygen based documentation of the vtkPVArrayInformation C++
class for a full list.

Definition at line 1299 of file

Constructor & Destructor Documentation

def paravisSM.ArrayInformation.__init__ (   self,

Definition at line 1309 of file

01310     def __init__(self, proxy, field, name):
01311         self.Proxy = proxy
01312         self.FieldData = field
01313         self.Name = name

Member Function Documentation

def paravisSM.ArrayInformation.__getattr__ (   self,
Forward unknown methods to vtkPVArrayInformation

Definition at line 1314 of file

01315     def __getattr__(self, name):
01316         """Forward unknown methods to vtkPVArrayInformation"""
01317         array = self.FieldData.GetFieldData().GetArrayInformation(self.Name)
01318         if not array: return None
01319         return getattr(array, name)

Returns a user-friendly representation string.

Definition at line 1320 of file

01321     def __repr__(self):
01322         """Returns a user-friendly representation string."""
01323         return "Array: " + self.Name

def paravisSM.ArrayInformation.GetRange (   self,
  component = 0 
Given a component, returns its value range as a tuple of 2 values.

Definition at line 1324 of file

01325     def GetRange(self, component=0):
01326         """Given a component, returns its value range as a tuple of 2 values."""
01327         array = self.FieldData.GetFieldData().GetArrayInformation(self.Name)
01328         range = array.GetComponentRange(component)
01329         return (range[0], range[1])

Member Data Documentation

Definition at line 1311 of file

Definition at line 1312 of file

Definition at line 1310 of file

The documentation for this class was generated from the following file: