VTK
|
writer for vtkUniformGridAMR. More...
#include <vtkXMLUniformGridAMRWriter.h>
Public Types | |
typedef vtkXMLCompositeDataWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkXMLUniformGridAMRWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetDefaultFileExtension () |
Static Public Member Functions | |
static vtkXMLUniformGridAMRWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkXMLUniformGridAMRWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 () |
writer for vtkUniformGridAMR.
vtkXMLUniformGridAMRWriter is a vtkXMLCompositeDataWriter subclass to handle vtkUniformGridAMR datasets (including vtkNonOverlappingAMR and vtkOverlappingAMR).
Definition at line 32 of file vtkXMLUniformGridAMRWriter.h.
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.
Definition at line 36 of file vtkXMLUniformGridAMRWriter.h.
vtkXMLUniformGridAMRWriter::vtkXMLUniformGridAMRWriter | ( | ) | [protected] |
vtkXMLUniformGridAMRWriter::~vtkXMLUniformGridAMRWriter | ( | ) | [protected] |
static vtkXMLUniformGridAMRWriter* vtkXMLUniformGridAMRWriter::New | ( | ) | [static] |
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.
static vtkXMLUniformGridAMRWriter* vtkXMLUniformGridAMRWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.
virtual vtkObjectBase* vtkXMLUniformGridAMRWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.
Reimplemented from vtkXMLCompositeDataWriter.
Reimplemented in vtkXMLPUniformGridAMRWriter, vtkXMLPHierarchicalBoxDataWriter, and vtkXMLHierarchicalBoxDataWriter.
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.