Section: Visualization Toolkit IO Classes
To create an instance of class vtkGAMBITReader, simply invoke its constructor as follows
obj = vtkGAMBITReader
obj
is an instance of the vtkGAMBITReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGAMBITReader = obj.NewInstance ()
vtkGAMBITReader = obj.SafeDownCast (vtkObject o)
obj.SetFileName (string )
- Specify the file name of the GAMBIT data file to read.
string = obj.GetFileName ()
- Specify the file name of the GAMBIT data file to read.
int = obj.GetNumberOfCells ()
- Get the total number of cells. The number of cells is only valid after a
successful read of the data file is performed.
int = obj.GetNumberOfNodes ()
- Get the total number of nodes. The number of nodes is only valid after a
successful read of the data file is performed.
int = obj.GetNumberOfNodeFields ()
- Get the number of data components at the nodes and cells.
int = obj.GetNumberOfCellFields ()
- Get the number of data components at the nodes and cells.