VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkXMLMultiBlockDataWriter Class Reference

writer for vtkMultiBlockDataSet. More...

#include <vtkXMLMultiBlockDataWriter.h>

Inheritance diagram for vtkXMLMultiBlockDataWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkXMLMultiBlockDataWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkXMLCompositeDataWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLMultiBlockDataWriterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetDefaultFileExtension ()

Static Public Member Functions

static vtkXMLMultiBlockDataWriterNew ()
static int IsTypeOf (const char *type)
static vtkXMLMultiBlockDataWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLMultiBlockDataWriter ()
 ~vtkXMLMultiBlockDataWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int WriteComposite (vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx)

Detailed Description

writer for vtkMultiBlockDataSet.

vtkXMLMultiBlockDataWriter is a vtkXMLCompositeDataWriter subclass to handle vtkMultiBlockDataSet.

Tests:
vtkXMLMultiBlockDataWriter (Tests)

Definition at line 31 of file vtkXMLMultiBlockDataWriter.h.


Member Typedef Documentation

Reimplemented from vtkXMLCompositeDataWriter.

Reimplemented in vtkXMLPMultiBlockDataWriter.

Definition at line 35 of file vtkXMLMultiBlockDataWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


The documentation for this class was generated from the following file: