#include <vtkXMLMultiBlockDataWriter.h>
vtkXMLMultiBlockDataWriter is a vtkXMLCompositeDataWriter subclass to handle vtkMultiBlockDataSet.
Definition at line 27 of file vtkXMLMultiBlockDataWriter.h.
Public Types | |
typedef vtkXMLCompositeDataWriter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetDefaultFileExtension () |
Static Public Member Functions | |
static vtkXMLMultiBlockDataWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkXMLMultiBlockDataWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkXMLMultiBlockDataWriter () | |
~vtkXMLMultiBlockDataWriter () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | WriteComposite (vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx) |
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
Definition at line 31 of file vtkXMLMultiBlockDataWriter.h.
vtkXMLMultiBlockDataWriter::vtkXMLMultiBlockDataWriter | ( | ) | [protected] |
vtkXMLMultiBlockDataWriter::~vtkXMLMultiBlockDataWriter | ( | ) | [protected] |
static vtkXMLMultiBlockDataWriter* vtkXMLMultiBlockDataWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkXMLPMultiBlockDataWriter.
virtual const char* vtkXMLMultiBlockDataWriter::GetClassName | ( | ) | [virtual] |
static int vtkXMLMultiBlockDataWriter::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 vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
virtual int vtkXMLMultiBlockDataWriter::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 vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
static vtkXMLMultiBlockDataWriter* vtkXMLMultiBlockDataWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
void vtkXMLMultiBlockDataWriter::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 vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
virtual const char* vtkXMLMultiBlockDataWriter::GetDefaultFileExtension | ( | ) | [inline, virtual] |
Get the default file extension for files written by this writer.
Reimplemented from vtkXMLCompositeDataWriter.
Definition at line 36 of file vtkXMLMultiBlockDataWriter.h.
virtual int vtkXMLMultiBlockDataWriter::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkXMLCompositeDataWriter.
virtual int vtkXMLMultiBlockDataWriter::WriteComposite | ( | vtkCompositeDataSet * | compositeData, | |
vtkXMLDataElement * | element, | |||
int & | writerIdx | |||
) | [protected, virtual] |
Internal method called recursively to create the xml tree for the children of compositeData as well as write the actual data set files. element will only have added nested information. writerIdx is the global piece index used to create unique filenames for each file written. This function returns 0 if no files were written from compositeData.
Implements vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.