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

Write any type of VTK XML file. More...

#include <vtkXMLDataSetWriter.h>

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

List of all members.

Public Types

typedef vtkXMLWriter Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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

vtkCallbackCommandProgressObserver

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
Examples:
vtkXMLDataSetWriter (Examples)
Tests:
vtkXMLDataSetWriter (Tests)

Definition at line 42 of file vtkXMLDataSetWriter.h.


Member Typedef Documentation

Reimplemented from vtkXMLWriter.

Definition at line 45 of file vtkXMLDataSetWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXMLWriter.

Reimplemented from vtkXMLWriter.

virtual vtkObjectBase* vtkXMLDataSetWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkXMLWriter.

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.

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

Reimplemented from vtkAlgorithm.

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 77 of file vtkXMLDataSetWriter.h.


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