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

writer for vtkUniformGridAMR. More...

#include <vtkXMLUniformGridAMRWriter.h>

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

List of all members.

Public Types

typedef vtkXMLCompositeDataWriter Superclass

Public Member Functions

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

Static Public Member Functions

static vtkXMLUniformGridAMRWriterNew ()
static int IsTypeOf (const char *type)
static vtkXMLUniformGridAMRWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Detailed Description

writer for vtkUniformGridAMR.

vtkXMLUniformGridAMRWriter is a vtkXMLCompositeDataWriter subclass to handle vtkUniformGridAMR datasets (including vtkNonOverlappingAMR and vtkOverlappingAMR).

Tests:
vtkXMLUniformGridAMRWriter (Tests)

Definition at line 32 of file vtkXMLUniformGridAMRWriter.h.


Member Typedef Documentation


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 vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.

static int vtkXMLUniformGridAMRWriter::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 vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.

virtual int vtkXMLUniformGridAMRWriter::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 vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.

virtual vtkObjectBase* vtkXMLUniformGridAMRWriter::NewInstanceInternal ( ) const [protected, virtual]
void vtkXMLUniformGridAMRWriter::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 vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.

virtual const char* vtkXMLUniformGridAMRWriter::GetDefaultFileExtension ( ) [inline, virtual]

Get the default file extension for files written by this writer.

Reimplemented from vtkXMLCompositeDataWriter.

Reimplemented in vtkXMLHierarchicalBoxDataWriter.

Definition at line 41 of file vtkXMLUniformGridAMRWriter.h.

virtual int vtkXMLUniformGridAMRWriter::GetDataSetMajorVersion ( ) [inline, protected, virtual]

Methods to define the file's major and minor version numbers. VTH/VTHB version number 1.1 is used for overlapping/non-overlapping AMR datasets.

Reimplemented from vtkXMLCompositeDataWriter.

Definition at line 54 of file vtkXMLUniformGridAMRWriter.h.

virtual int vtkXMLUniformGridAMRWriter::GetDataSetMinorVersion ( ) [inline, protected, virtual]

Methods to define the file's major and minor version numbers. VTH/VTHB version number 1.1 is used for overlapping/non-overlapping AMR datasets.

Reimplemented from vtkXMLCompositeDataWriter.

Definition at line 55 of file vtkXMLUniformGridAMRWriter.h.

virtual int vtkXMLUniformGridAMRWriter::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 vtkXMLUniformGridAMRWriter::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.


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