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

Write VTK XML UnstructuredGrid files. More...

#include <vtkXMLUnstructuredGridWriter.h>

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

List of all members.

Public Types

typedef
vtkXMLUnstructuredDataWriter 
Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLUnstructuredGridWriter ()
 ~vtkXMLUnstructuredGridWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual void AllocatePositionArrays ()
virtual void DeletePositionArrays ()
const char * GetDataSetName ()
void WriteInlinePieceAttributes ()
void WriteInlinePiece (vtkIndent indent)
void WriteAppendedPieceAttributes (int index)
void WriteAppendedPiece (int index, vtkIndent indent)
void WriteAppendedPieceData (int index)
virtual vtkIdType GetNumberOfInputCells ()
void CalculateSuperclassFraction (float *fractions)

Protected Attributes

vtkTypeInt64 * NumberOfCellsPositions
OffsetsManagerArrayCellsOM

Detailed Description

Write VTK XML UnstructuredGrid files.

vtkXMLUnstructuredGridWriter writes the VTK XML UnstructuredGrid file format. One unstructured grid input can be written into one file in any number of streamed pieces (if supported by the rest of the pipeline). The standard extension for this writer's file format is "vtu". This writer is also used to write a single piece of the parallel file format.

See also:
vtkXMLPUnstructuredGridWriter
Tests:
vtkXMLUnstructuredGridWriter (Tests)

Definition at line 41 of file vtkXMLUnstructuredGridWriter.h.


Member Typedef Documentation

Reimplemented from vtkXMLUnstructuredDataWriter.

Definition at line 44 of file vtkXMLUnstructuredGridWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkXMLUnstructuredGridWriter::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 vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::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 vtkXMLUnstructuredDataWriter.

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.

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

Implements vtkXMLWriter.

virtual int vtkXMLUnstructuredGridWriter::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 void vtkXMLUnstructuredGridWriter::AllocatePositionArrays ( ) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataWriter.

virtual void vtkXMLUnstructuredGridWriter::DeletePositionArrays ( ) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::WriteInlinePiece ( vtkIndent  indent) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataWriter.

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::WriteAppendedPiece ( int  index,
vtkIndent  indent 
) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::WriteAppendedPieceData ( int  index) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataWriter.


Member Data Documentation

Definition at line 81 of file vtkXMLUnstructuredGridWriter.h.

Definition at line 82 of file vtkXMLUnstructuredGridWriter.h.


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