Section: Visualization Toolkit Hybrid Classes
To create an instance of class vtkPExodusReader, simply invoke its constructor as follows
obj = vtkPExodusReader
obj
is an instance of the vtkPExodusReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPExodusReader = obj.NewInstance ()
vtkPExodusReader = obj.SafeDownCast (vtkObject o)
obj.SetFilePattern (string )
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
string = obj.GetFilePattern ()
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
obj.SetFilePrefix (string )
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
string = obj.GetFilePrefix ()
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
obj.SetFileRange (int , int )
- Set the range of files that are being loaded. The range for single
file should add to 0.
obj.SetFileRange (int r)
- Set the range of files that are being loaded. The range for single
file should add to 0.
int = obj. GetFileRange ()
- Set the range of files that are being loaded. The range for single
file should add to 0.
obj.SetFileName (string name)
int = obj.GetNumberOfFileNames ()
- Return the number of files to be read.
int = obj.GetNumberOfFiles ()
- Return the number of files to be read.
obj.SetGenerateFileIdArray (int flag)
int = obj.GetGenerateFileIdArray ()
obj.GenerateFileIdArrayOn ()
obj.GenerateFileIdArrayOff ()
int = obj.GetTotalNumberOfElements ()
int = obj.GetTotalNumberOfNodes ()
int = obj.GetNumberOfVariableArrays ()
string = obj.GetVariableArrayName (int a_which)
obj.EnableDSPFiltering ()
obj.AddFilter (vtkDSPFilterDefinition a_filter)
obj.StartAddingFilter ()
obj.AddFilterInputVar (string name)
obj.AddFilterOutputVar (string name)
obj.AddFilterNumeratorWeight (double weight)
obj.AddFilterForwardNumeratorWeight (double weight)
obj.AddFilterDenominatorWeight (double weight)
obj.FinishAddingFilter ()
obj.RemoveFilter (string a_outputVariableName)