#include <vtkXMLPMultiBlockDataWriter.h>
vtkXMLPCompositeDataWriter writes (in parallel or serially) the VTK XML multi-group, multi-block hierarchical and hierarchical box files. XML multi-group data files are meta-files that point to a list of serial VTK XML files.
Definition at line 32 of file vtkXMLPMultiBlockDataWriter.h.
Public Types | |
typedef vtkXMLMultiBlockDataWriter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetController (vtkMultiProcessController *) |
virtual vtkMultiProcessController * | GetController () |
Static Public Member Functions | |
static vtkXMLPMultiBlockDataWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkXMLPMultiBlockDataWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkXMLPMultiBlockDataWriter () | |
~vtkXMLPMultiBlockDataWriter () | |
virtual void | FillDataTypes (vtkCompositeDataSet *) |
int | WriteNonCompositeData (vtkDataObject *dObj, vtkXMLDataElement *datasetXML, int &writerIdx) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
Reimplemented from vtkXMLMultiBlockDataWriter.
Definition at line 36 of file vtkXMLPMultiBlockDataWriter.h.
vtkXMLPMultiBlockDataWriter::vtkXMLPMultiBlockDataWriter | ( | ) | [protected] |
vtkXMLPMultiBlockDataWriter::~vtkXMLPMultiBlockDataWriter | ( | ) | [protected] |
static vtkXMLPMultiBlockDataWriter* vtkXMLPMultiBlockDataWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkXMLMultiBlockDataWriter.
virtual const char* vtkXMLPMultiBlockDataWriter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkXMLMultiBlockDataWriter.
static int vtkXMLPMultiBlockDataWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkXMLMultiBlockDataWriter.
virtual int vtkXMLPMultiBlockDataWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkXMLMultiBlockDataWriter.
static vtkXMLPMultiBlockDataWriter* vtkXMLPMultiBlockDataWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkXMLMultiBlockDataWriter.
void vtkXMLPMultiBlockDataWriter::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 vtkXMLMultiBlockDataWriter.
virtual void vtkXMLPMultiBlockDataWriter::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* vtkXMLPMultiBlockDataWriter::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 vtkXMLPMultiBlockDataWriter::FillDataTypes | ( | vtkCompositeDataSet * | ) | [protected, virtual] |
Determine the data types for each of the leaf nodes. In parallel, all satellites send the datatypes it has at all the leaf nodes to the root. The root uses this information to identify leaf nodes that are non-null on more than 1 processes. Such a node is a conflicting node and writer writes out an XML meta-file with a multipiece inserted at locations for such conflicting nodes.
Reimplemented from vtkXMLCompositeDataWriter.
int vtkXMLPMultiBlockDataWriter::WriteNonCompositeData | ( | vtkDataObject * | dObj, | |
vtkXMLDataElement * | datasetXML, | |||
int & | writerIdx | |||
) | [protected, virtual] |
Overridden to do some extra workn the root node to handle the case where a leaf node in the multiblock hierarchy is non-null on more than 1 processes. In that case, we insert a MultiPiece node at that location with the non-null leaves as its children.
Reimplemented from vtkXMLCompositeDataWriter.
Definition at line 70 of file vtkXMLPMultiBlockDataWriter.h.