vtkXMLUnstructuredDataWriter Class Reference

#include <vtkXMLUnstructuredDataWriter.h>

Inheritance diagram for vtkXMLUnstructuredDataWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLUnstructuredDataWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Superclass for VTK XML unstructured data writers.

vtkXMLUnstructuredDataWriter provides VTK XML writing functionality that is common among all the unstructured data formats.

Definition at line 32 of file vtkXMLUnstructuredDataWriter.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)
int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetNumberOfPieces (int)
virtual int GetNumberOfPieces ()
virtual void SetWritePiece (int)
virtual int GetWritePiece ()
virtual void SetGhostLevel (int)
virtual int GetGhostLevel ()

Static Public Member Functions

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

Protected Member Functions

 vtkXMLUnstructuredDataWriter ()
 ~vtkXMLUnstructuredDataWriter ()
vtkPointSetGetInputAsPointSet ()
virtual const char * GetDataSetName ()=0
virtual void SetInputUpdateExtent (int piece, int numPieces, int ghostLevel)
virtual int WriteHeader ()
virtual int WriteAPiece ()
virtual int WriteFooter ()
virtual void AllocatePositionArrays ()
virtual void DeletePositionArrays ()
virtual int WriteInlineMode (vtkIndent indent)
virtual void WriteInlinePieceAttributes ()
virtual void WriteInlinePiece (vtkIndent indent)
virtual void WriteAppendedPieceAttributes (int index)
virtual void WriteAppendedPiece (int index, vtkIndent indent)
virtual void WriteAppendedPieceData (int index)
void WriteCellsInline (const char *name, vtkCellArray *cells, vtkDataArray *types, vtkIndent indent)
void WriteCellsAppended (const char *name, vtkDataArray *types, vtkIndent indent, OffsetsManagerGroup *cellsManager)
void WriteCellsAppendedData (vtkCellArray *cells, vtkDataArray *types, int timestep, OffsetsManagerGroup *cellsManager)
void ConvertCells (vtkCellArray *cells)
virtual vtkIdType GetNumberOfInputPoints ()
virtual vtkIdType GetNumberOfInputCells ()=0
void CalculateDataFractions (float *fractions)
void CalculateCellFractions (float *fractions, vtkIdType typesSize)

Protected Attributes

int NumberOfPieces
int WritePiece
int GhostLevel
unsigned long * NumberOfPointsPositions
OffsetsManagerGroupPointsOM
OffsetsManagerArrayPointDataOM
OffsetsManagerArrayCellDataOM
vtkIdTypeArrayCellPoints
vtkIdTypeArrayCellOffsets
int CurrentPiece

Member Typedef Documentation

Reimplemented from vtkXMLWriter.

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

Definition at line 35 of file vtkXMLUnstructuredDataWriter.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredDataWriter::vtkXMLUnstructuredDataWriter (  )  [protected]

vtkXMLUnstructuredDataWriter::~vtkXMLUnstructuredDataWriter (  )  [protected]


Member Function Documentation

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

Reimplemented from vtkXMLWriter.

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented from vtkXMLWriter.

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

virtual void vtkXMLUnstructuredDataWriter::SetNumberOfPieces ( int   )  [virtual]

Get/Set the number of pieces used to stream the image through the pipeline while writing to the file.

virtual int vtkXMLUnstructuredDataWriter::GetNumberOfPieces (  )  [virtual]

Get/Set the number of pieces used to stream the image through the pipeline while writing to the file.

virtual void vtkXMLUnstructuredDataWriter::SetWritePiece ( int   )  [virtual]

Get/Set the piece to write to the file. If this is negative or equal to the NumberOfPieces, all pieces will be written.

virtual int vtkXMLUnstructuredDataWriter::GetWritePiece (  )  [virtual]

Get/Set the piece to write to the file. If this is negative or equal to the NumberOfPieces, all pieces will be written.

virtual void vtkXMLUnstructuredDataWriter::SetGhostLevel ( int   )  [virtual]

Get/Set the ghost level used to pad each piece.

virtual int vtkXMLUnstructuredDataWriter::GetGhostLevel (  )  [virtual]

Get/Set the ghost level used to pad each piece.

int vtkXMLUnstructuredDataWriter::ProcessRequest ( vtkInformation request,
vtkInformationVector **  inInfo,
vtkInformationVector outInfo 
) [virtual]

Upstream/Downstream requests form the generalized interface through which executives invoke a algorithm's functionality. Upstream requests correspond to information flow from the algorithm's outputs to its inputs. Downstream requests correspond to information flow from the algorithm's inputs to its outputs. A downstream request is defined by the contents of the request information object. The input to the request is stored in the input information vector passed to ProcessRequest. The results of an downstream request are stored in the output information vector passed to ProcessRequest. An upstream request is defined by the contents of the request information object. The input to the request is stored in the output information vector passed to ProcessRequest. The results of an upstream request are stored in the input information vector passed to ProcessRequest. It returns the boolean status of the pipeline (false means failure).

Reimplemented from vtkXMLWriter.

vtkPointSet* vtkXMLUnstructuredDataWriter::GetInputAsPointSet (  )  [protected]

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

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

virtual int vtkXMLUnstructuredDataWriter::WriteHeader (  )  [protected, virtual]

virtual int vtkXMLUnstructuredDataWriter::WriteAPiece (  )  [protected, virtual]

virtual int vtkXMLUnstructuredDataWriter::WriteFooter (  )  [protected, virtual]

virtual void vtkXMLUnstructuredDataWriter::AllocatePositionArrays (  )  [protected, virtual]

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

virtual int vtkXMLUnstructuredDataWriter::WriteInlineMode ( vtkIndent  indent  )  [protected, virtual]

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

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

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

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

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

void vtkXMLUnstructuredDataWriter::WriteCellsInline ( const char *  name,
vtkCellArray cells,
vtkDataArray types,
vtkIndent  indent 
) [protected]

void vtkXMLUnstructuredDataWriter::WriteCellsAppended ( const char *  name,
vtkDataArray types,
vtkIndent  indent,
OffsetsManagerGroup cellsManager 
) [protected]

void vtkXMLUnstructuredDataWriter::WriteCellsAppendedData ( vtkCellArray cells,
vtkDataArray types,
int  timestep,
OffsetsManagerGroup cellsManager 
) [protected]

void vtkXMLUnstructuredDataWriter::ConvertCells ( vtkCellArray cells  )  [protected]

virtual vtkIdType vtkXMLUnstructuredDataWriter::GetNumberOfInputPoints (  )  [protected, virtual]

virtual vtkIdType vtkXMLUnstructuredDataWriter::GetNumberOfInputCells (  )  [protected, pure virtual]

void vtkXMLUnstructuredDataWriter::CalculateDataFractions ( float *  fractions  )  [protected]

void vtkXMLUnstructuredDataWriter::CalculateCellFractions ( float *  fractions,
vtkIdType  typesSize 
) [protected]


Member Data Documentation

Definition at line 103 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 106 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 109 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 112 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 115 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 116 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 117 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 120 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 121 of file vtkXMLUnstructuredDataWriter.h.

Definition at line 123 of file vtkXMLUnstructuredDataWriter.h.


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

Generated on Wed Jun 3 19:49:24 2009 for VTK by  doxygen 1.5.6