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

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)
int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf (ostream &os, vtkIndent indent)
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 vtkXMLUnstructuredDataWriterSafeDownCast (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

typedef vtkXMLWriter vtkXMLUnstructuredDataWriter::Superclass
 

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 *  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 vtkXMLWriter.

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Enumerate big and little endian byte order settings.

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]
 

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 ,
vtkInformationVector **  ,
vtkInformationVector
[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]
 

Implements vtkXMLWriter.

Implemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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]
 

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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]
 

Implemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

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

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


Member Data Documentation

int vtkXMLUnstructuredDataWriter::NumberOfPieces [protected]
 

Definition at line 103 of file vtkXMLUnstructuredDataWriter.h.

int vtkXMLUnstructuredDataWriter::WritePiece [protected]
 

Definition at line 106 of file vtkXMLUnstructuredDataWriter.h.

int vtkXMLUnstructuredDataWriter::GhostLevel [protected]
 

Definition at line 109 of file vtkXMLUnstructuredDataWriter.h.

unsigned long* vtkXMLUnstructuredDataWriter::NumberOfPointsPositions [protected]
 

Definition at line 112 of file vtkXMLUnstructuredDataWriter.h.

OffsetsManagerGroup* vtkXMLUnstructuredDataWriter::PointsOM [protected]
 

Definition at line 115 of file vtkXMLUnstructuredDataWriter.h.

OffsetsManagerArray* vtkXMLUnstructuredDataWriter::PointDataOM [protected]
 

Definition at line 116 of file vtkXMLUnstructuredDataWriter.h.

OffsetsManagerArray* vtkXMLUnstructuredDataWriter::CellDataOM [protected]
 

Definition at line 117 of file vtkXMLUnstructuredDataWriter.h.

vtkIdTypeArray* vtkXMLUnstructuredDataWriter::CellPoints [protected]
 

Definition at line 120 of file vtkXMLUnstructuredDataWriter.h.

vtkIdTypeArray* vtkXMLUnstructuredDataWriter::CellOffsets [protected]
 

Definition at line 121 of file vtkXMLUnstructuredDataWriter.h.

int vtkXMLUnstructuredDataWriter::CurrentPiece [protected]
 

Definition at line 123 of file vtkXMLUnstructuredDataWriter.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:34:36 2008 for VTK by  doxygen 1.4.3-20050530