VTK
|
parallel writer for vtkUniformGridAMR and subclasses. More...
#include <vtkXMLPUniformGridAMRWriter.h>
Public Types | |
typedef vtkXMLUniformGridAMRWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXMLPUniformGridAMRWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetWriteMetaFile (int flag) |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
Static Public Member Functions | |
static vtkXMLPUniformGridAMRWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkXMLPUniformGridAMRWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkXMLPUniformGridAMRWriter () | |
~vtkXMLPUniformGridAMRWriter () | |
virtual void | FillDataTypes (vtkCompositeDataSet *) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
parallel writer for vtkUniformGridAMR and subclasses.
vtkXMLPCompositeDataWriter writes (in parallel or serially) vtkUniformGridAMR and subclasses. When running in parallel all processes are expected to have the same meta-data (i.e. amr-boxes, structure, etc.) however they may now have the missing data-blocks. This class extends vtkXMLUniformGridAMRWriter to communicate information about data blocks to the root node so that the root node can write the XML file describing the structure correctly.
Definition at line 36 of file vtkXMLPUniformGridAMRWriter.h.
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
Definition at line 40 of file vtkXMLPUniformGridAMRWriter.h.
vtkXMLPUniformGridAMRWriter::vtkXMLPUniformGridAMRWriter | ( | ) | [protected] |
vtkXMLPUniformGridAMRWriter::~vtkXMLPUniformGridAMRWriter | ( | ) | [protected] |
static vtkXMLPUniformGridAMRWriter* vtkXMLPUniformGridAMRWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
static int vtkXMLPUniformGridAMRWriter::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 vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
virtual int vtkXMLPUniformGridAMRWriter::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 vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
static vtkXMLPUniformGridAMRWriter* vtkXMLPUniformGridAMRWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
virtual vtkObjectBase* vtkXMLPUniformGridAMRWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
void vtkXMLPUniformGridAMRWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkXMLUniformGridAMRWriter.
Reimplemented in vtkXMLPHierarchicalBoxDataWriter.
virtual void vtkXMLPUniformGridAMRWriter::SetController | ( | vtkMultiProcessController * | ) | [virtual] |
Controller used to communicate data type of blocks. By default, the global controller is used. If you want another controller to be used, set it with this. If no controller is set, only the local blocks will be written to the meta-file.
virtual vtkMultiProcessController* vtkXMLPUniformGridAMRWriter::GetController | ( | ) | [virtual] |
Controller used to communicate data type of blocks. By default, the global controller is used. If you want another controller to be used, set it with this. If no controller is set, only the local blocks will be written to the meta-file.
virtual void vtkXMLPUniformGridAMRWriter::SetWriteMetaFile | ( | int | flag | ) | [virtual] |
Set whether this instance will write the meta-file. WriteMetaFile is set to flag only on process 0 and all other processes have WriteMetaFile set to 0 by default.
Reimplemented from vtkXMLCompositeDataWriter.
virtual void vtkXMLPUniformGridAMRWriter::FillDataTypes | ( | vtkCompositeDataSet * | ) | [protected, virtual] |
Overridden to reduce information about data-types across all processes.
Reimplemented from vtkXMLCompositeDataWriter.
Definition at line 66 of file vtkXMLPUniformGridAMRWriter.h.