VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkXMLHierarchicalBoxDataFileConverter Class Reference

converts older *.vth, *.vthb files to newer format. More...

#include <vtkXMLHierarchicalBoxDataFileConverter.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLHierarchicalBoxDataFileConverterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
bool Convert ()
virtual void SetInputFileName (const char *)
virtual char * GetInputFileName ()
virtual void SetOutputFileName (const char *)
virtual char * GetOutputFileName ()

Static Public Member Functions

static
vtkXMLHierarchicalBoxDataFileConverter
New ()
static int IsTypeOf (const char *type)
static
vtkXMLHierarchicalBoxDataFileConverter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLHierarchicalBoxDataFileConverter ()
 ~vtkXMLHierarchicalBoxDataFileConverter ()
vtkXMLDataElementParseXML (const char *filename)
int GetOriginAndSpacing (vtkXMLDataElement *ePrimary, double origin[3], double *&spacing)
virtual void SetFilePath (const char *)

Protected Attributes

char * InputFileName
char * OutputFileName
char * FilePath

Detailed Description

converts older *.vth, *.vthb files to newer format.

vtkXMLHierarchicalBoxDataFileConverter is a utility class to convert v0.1 and v1.0 of the VTK XML hierarchical file format to the v1.1. Users can then use vtkXMLUniformGridAMRReader to read the dataset into VTK.

Tests:
vtkXMLHierarchicalBoxDataFileConverter (Tests)

Definition at line 35 of file vtkXMLHierarchicalBoxDataFileConverter.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 39 of file vtkXMLHierarchicalBoxDataFileConverter.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 vtkObject.

static int vtkXMLHierarchicalBoxDataFileConverter::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 vtkObject.

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

Reimplemented from vtkObject.

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkXMLHierarchicalBoxDataFileConverter::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 vtkObject.

virtual void vtkXMLHierarchicalBoxDataFileConverter::SetInputFileName ( const char *  ) [virtual]

Set the input filename.

Set the input filename.

virtual void vtkXMLHierarchicalBoxDataFileConverter::SetOutputFileName ( const char *  ) [virtual]

Set the output filename.

Set the output filename.

Converts the input file to new format and writes out the output file.

int vtkXMLHierarchicalBoxDataFileConverter::GetOriginAndSpacing ( vtkXMLDataElement ePrimary,
double  origin[3],
double *&  spacing 
) [protected]
virtual void vtkXMLHierarchicalBoxDataFileConverter::SetFilePath ( const char *  ) [protected, virtual]

Member Data Documentation

Definition at line 68 of file vtkXMLHierarchicalBoxDataFileConverter.h.

Definition at line 69 of file vtkXMLHierarchicalBoxDataFileConverter.h.

Definition at line 70 of file vtkXMLHierarchicalBoxDataFileConverter.h.


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