vtkXMLDataSetWriter Class Reference

#include <vtkXMLDataSetWriter.h>

Inheritance diagram for vtkXMLDataSetWriter:

Inheritance graph
Collaboration diagram for vtkXMLDataSetWriter:

Collaboration graph

List of all members.

Detailed Description

Write any type of VTK XML file.

vtkXMLDataSetWriter is a wrapper around the VTK XML file format writers. Given an input vtkDataSet, the correct writer is automatically selected based on the type of input.

See also:
vtkXMLImageDataWriter vtkXMLStructuredGridWriter vtkXMLRectilinearGridWriter vtkXMLPolyDataWriter vtkXMLUnstructuredGridWriter
vtkXMLDataSetWriter (Tests)

Definition at line 38 of file vtkXMLDataSetWriter.h.

Public Types

typedef vtkXMLWriter Superclass

Public Member Functions

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

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLDataSetWriterSafeDownCast (vtkObject *o)
static vtkXMLDataSetWriterNew ()

Protected Member Functions

 vtkXMLDataSetWriter ()
 ~vtkXMLDataSetWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int WriteInternal ()
const char * GetDataSetName ()
const char * GetDefaultFileExtension ()
virtual void ProgressCallback (vtkAlgorithm *w)

Static Protected Member Functions

static void ProgressCallbackFunction (vtkObject *, unsigned long, void *, void *)

Protected Attributes


Member Typedef Documentation

Reimplemented from vtkXMLWriter.

Definition at line 41 of file vtkXMLDataSetWriter.h.

Constructor & Destructor Documentation

vtkXMLDataSetWriter::vtkXMLDataSetWriter (  )  [protected]

vtkXMLDataSetWriter::~vtkXMLDataSetWriter (  )  [protected]

Member Function Documentation

virtual const char* vtkXMLDataSetWriter::GetClassName (  )  [virtual]

Reimplemented from vtkXMLWriter.

static int vtkXMLDataSetWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLWriter.

virtual int vtkXMLDataSetWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLWriter.

static vtkXMLDataSetWriter* vtkXMLDataSetWriter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkXMLWriter.

void vtkXMLDataSetWriter::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 vtkXMLWriter.

static vtkXMLDataSetWriter* vtkXMLDataSetWriter::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

vtkDataSet* vtkXMLDataSetWriter::GetInput (  ) 

Get/Set the writer's input.

Reimplemented from vtkXMLWriter.

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

virtual int vtkXMLDataSetWriter::WriteInternal (  )  [protected, virtual]

Reimplemented from vtkXMLWriter.

const char* vtkXMLDataSetWriter::GetDataSetName (  )  [protected, virtual]

Implements vtkXMLWriter.

const char* vtkXMLDataSetWriter::GetDefaultFileExtension (  )  [protected, virtual]

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

Implements vtkXMLWriter.

static void vtkXMLDataSetWriter::ProgressCallbackFunction ( vtkObject ,
unsigned  long,
void *  ,
void *   
) [static, protected]

virtual void vtkXMLDataSetWriter::ProgressCallback ( vtkAlgorithm w  )  [protected, virtual]

Member Data Documentation

Definition at line 73 of file vtkXMLDataSetWriter.h.

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

Generated on Sat Dec 27 14:00:27 2008 for VTK by  doxygen 1.5.6