VTK
|
abstract class to write particle data to file More...
#include <vtkAbstractParticleWriter.h>
Public Types | |
typedef vtkWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAbstractParticleWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | CloseFile ()=0 |
virtual void | SetTimeStep (int) |
virtual int | GetTimeStep () |
virtual void | SetTimeValue (double) |
virtual double | GetTimeValue () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual void | SetCollectiveIO (int) |
virtual int | GetCollectiveIO () |
void | SetWriteModeToCollective () |
void | SetWriteModeToIndependent () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAbstractParticleWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkAbstractParticleWriter () | |
~vtkAbstractParticleWriter () | |
virtual void | WriteData ()=0 |
Protected Attributes | |
int | CollectiveIO |
int | TimeStep |
double | TimeValue |
char * | FileName |
abstract class to write particle data to file
vtkAbstractParticleWriter is an abstract class which is used by vtkTemporalStreamTracer to write particles out during simulations. This class is abstract and provides a TimeStep and FileName. Subclasses of this should provide the necessary IO.
Definition at line 36 of file vtkAbstractParticleWriter.h.
Reimplemented from vtkWriter.
Definition at line 39 of file vtkAbstractParticleWriter.h.
vtkAbstractParticleWriter::vtkAbstractParticleWriter | ( | ) | [protected] |
vtkAbstractParticleWriter::~vtkAbstractParticleWriter | ( | ) | [protected] |
static int vtkAbstractParticleWriter::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWriter.
virtual int vtkAbstractParticleWriter::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWriter.
static vtkAbstractParticleWriter* vtkAbstractParticleWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkWriter.
virtual vtkObjectBase* vtkAbstractParticleWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkWriter.
Reimplemented from vtkWriter.
void vtkAbstractParticleWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkAbstractParticleWriter::SetTimeStep | ( | int | ) | [virtual] |
Set/get the TimeStep that is being written
virtual int vtkAbstractParticleWriter::GetTimeStep | ( | ) | [virtual] |
Set/get the TimeStep that is being written
virtual void vtkAbstractParticleWriter::SetTimeValue | ( | double | ) | [virtual] |
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.
virtual double vtkAbstractParticleWriter::GetTimeValue | ( | ) | [virtual] |
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.
virtual void vtkAbstractParticleWriter::SetFileName | ( | const char * | ) | [virtual] |
Set/get the FileName that is being written to
virtual char* vtkAbstractParticleWriter::GetFileName | ( | ) | [virtual] |
Set/get the FileName that is being written to
virtual void vtkAbstractParticleWriter::SetCollectiveIO | ( | int | ) | [virtual] |
When running in parallel, this writer may be capable of Collective IO operations (HDF5). By default, this is off.
virtual int vtkAbstractParticleWriter::GetCollectiveIO | ( | ) | [virtual] |
When running in parallel, this writer may be capable of Collective IO operations (HDF5). By default, this is off.
When running in parallel, this writer may be capable of Collective IO operations (HDF5). By default, this is off.
When running in parallel, this writer may be capable of Collective IO operations (HDF5). By default, this is off.
virtual void vtkAbstractParticleWriter::CloseFile | ( | ) | [pure virtual] |
Close the file after a write. This is optional but may protect against data loss in between steps
virtual void vtkAbstractParticleWriter::WriteData | ( | ) | [protected, pure virtual] |
Implements vtkWriter.
int vtkAbstractParticleWriter::CollectiveIO [protected] |
Definition at line 81 of file vtkAbstractParticleWriter.h.
int vtkAbstractParticleWriter::TimeStep [protected] |
Definition at line 82 of file vtkAbstractParticleWriter.h.
double vtkAbstractParticleWriter::TimeValue [protected] |
Definition at line 83 of file vtkAbstractParticleWriter.h.
char* vtkAbstractParticleWriter::FileName [protected] |
Definition at line 84 of file vtkAbstractParticleWriter.h.