VTK
|
writer for vtkMultiBlockDataSet. More...
#include <vtkXMLMultiBlockDataWriter.h>
Public Types | |
typedef vtkXMLCompositeDataWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXMLMultiBlockDataWriter * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkXMLMultiBlockDataWriter () | |
~vtkXMLMultiBlockDataWriter () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | WriteComposite (vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx) |
writer for vtkMultiBlockDataSet.
vtkXMLMultiBlockDataWriter is a vtkXMLCompositeDataWriter subclass to handle vtkMultiBlockDataSet.
Definition at line 31 of file vtkXMLMultiBlockDataWriter.h.
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
Definition at line 35 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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
virtual vtkObjectBase* vtkXMLMultiBlockDataWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPMultiBlockDataWriter.
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 40 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.