Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkXMLUnstructuredGridWriter Class Reference

#include <vtkXMLUnstructuredGridWriter.h>

Inheritance diagram for vtkXMLUnstructuredGridWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLUnstructuredGridWriter:

Collaboration graph
[legend]
List of all members.

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

Definition at line 36 of file vtkXMLUnstructuredGridWriter.h.

Public Types

typedef vtkXMLUnstructuredDataWriter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetInput (vtkUnstructuredGrid *input)
vtkUnstructuredGrid * GetInput ()
const char * GetDefaultFileExtension ()

Static Public Member Functions

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

Protected Member Functions

 vtkXMLUnstructuredGridWriter ()
 ~vtkXMLUnstructuredGridWriter ()
const char * GetDataSetName ()
void SetInputUpdateExtent (int piece, int numPieces, int ghostLevel)
void WriteInlinePieceAttributes ()
void WriteInlinePiece (vtkIndent indent)
int WriteAppendedMode (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

unsigned long * NumberOfCellsPositions
unsigned long ** CellsPositions


Member Typedef Documentation

typedef vtkXMLUnstructuredDataWriter vtkXMLUnstructuredGridWriter::Superclass
 

Reimplemented from vtkXMLUnstructuredDataWriter.

Definition at line 39 of file vtkXMLUnstructuredGridWriter.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredGridWriter::vtkXMLUnstructuredGridWriter (   )  [protected]
 

vtkXMLUnstructuredGridWriter::~vtkXMLUnstructuredGridWriter (   )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkXMLUnstructuredDataWriter.

static int vtkXMLUnstructuredGridWriter::IsTypeOf (  const char *  type  )  [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 vtkXMLUnstructuredDataWriter.

virtual int vtkXMLUnstructuredGridWriter::IsA (  const char *  type  )  [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 vtkXMLUnstructuredDataWriter.

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

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.

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

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

Reimplemented from vtkObject.

void vtkXMLUnstructuredGridWriter::SetInput (  vtkUnstructuredGrid *  input  ) 
 

Get/Set the writer's input.

vtkUnstructuredGrid* vtkXMLUnstructuredGridWriter::GetInput (   ) 
 

const char* vtkXMLUnstructuredGridWriter::GetDefaultFileExtension (   )  [virtual]
 

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

Implements vtkXMLWriter.

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

Implements vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::SetInputUpdateExtent (  int  piece,
int  numPieces,
int  ghostLevel
)  [protected, virtual]
 

Implements vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

int vtkXMLUnstructuredGridWriter::WriteAppendedMode (  vtkIndent  indent  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataWriter.

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

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.

virtual vtkIdType vtkXMLUnstructuredGridWriter::GetNumberOfInputCells (   )  [protected, virtual]
 

Implements vtkXMLUnstructuredDataWriter.

void vtkXMLUnstructuredGridWriter::CalculateSuperclassFraction (  float *  fractions  )  [protected]
 


Member Data Documentation

unsigned long* vtkXMLUnstructuredGridWriter::NumberOfCellsPositions [protected]
 

Definition at line 71 of file vtkXMLUnstructuredGridWriter.h.

unsigned long** vtkXMLUnstructuredGridWriter::CellsPositions [protected]
 

Definition at line 72 of file vtkXMLUnstructuredGridWriter.h.


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