Section: Visualization Toolkit IO Classes
To create an instance of class vtkAbstractParticleWriter, simply invoke its constructor as follows
obj = vtkAbstractParticleWriter
obj
is an instance of the vtkAbstractParticleWriter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAbstractParticleWriter = obj.NewInstance ()
vtkAbstractParticleWriter = obj.SafeDownCast (vtkObject o)
obj.SetTimeStep (int )
- Set/get the TimeStep that is being written
int = obj.GetTimeStep ()
- Set/get the TimeStep that is being written
obj.SetTimeValue (double )
- Before writing the current data out, set the TimeValue (optional)
The TimeValue is a float/double value that corresonds to the real
time of the data, it may not be regular, whereas the TimeSteps
are simple increments.
double = obj.GetTimeValue ()
- Before writing the current data out, set the TimeValue (optional)
The TimeValue is a float/double value that corresonds to the real
time of the data, it may not be regular, whereas the TimeSteps
are simple increments.
obj.SetFileName (string )
- Set/get the FileName that is being written to
string = obj.GetFileName ()
- Set/get the FileName that is being written to
obj.SetCollectiveIO (int )
- When running in parallel, this writer may be capable of
Collective IO operations (HDF5). By default, this is off.
int = obj.GetCollectiveIO ()
- When running in parallel, this writer may be capable of
Collective IO operations (HDF5). By default, this is off.
obj.SetWriteModeToCollective ()
- When running in parallel, this writer may be capable of
Collective IO operations (HDF5). By default, this is off.
obj.SetWriteModeToIndependent ()
- When running in parallel, this writer may be capable of
Collective IO operations (HDF5). By default, this is off.
obj.CloseFile ()
- Close the file after a write. This is optional but
may protect against data loss in between steps