Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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.

Created by:
  • King, Brad
CVS contributions (if > 5%):
  • King, Brad (74%)
  • Henderson, Amy (24%)
CVS logs (CVSweb):
  • .cxx (/IO/vtkXMLUnstructuredDataWriter.cxx)
  • .h (/IO/vtkXMLUnstructuredDataWriter.h)

Definition at line 43 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)
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

int IsTypeOf (const char *type)
vtkXMLUnstructuredDataWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLUnstructuredDataWriter ()
 ~vtkXMLUnstructuredDataWriter ()
vtkPointSetGetInputAsPointSet ()
virtual const char * GetDataSetName ()=0
virtual void SetInputUpdateExtent (int piece, int numPieces, int ghostLevel)=0
int WriteData ()
virtual int WriteInlineMode (vtkIndent indent)
virtual void WriteInlinePieceAttributes ()
virtual void WriteInlinePiece (vtkIndent indent)
virtual int WriteAppendedMode (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)
unsigned long * WriteCellsAppended (const char *name, vtkDataArray *types, vtkIndent indent)
void WriteCellsAppendedData (vtkCellArray *cells, vtkDataArray *types, unsigned long *positions)
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 * PointsPositions
unsigned long * NumberOfPointsPositions
unsigned long ** PointDataPositions
unsigned long ** CellDataPositions
vtkIdTypeArrayCellPoints
vtkIdTypeArrayCellOffsets


Member Typedef Documentation

typedef vtkXMLWriter vtkXMLUnstructuredDataWriter::Superclass
 

Reimplemented from vtkXMLWriter.

Reimplemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

Definition at line 46 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.

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.

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.

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, pure virtual]
 

Implemented in vtkXMLPolyDataWriter, and vtkXMLUnstructuredGridWriter.

int vtkXMLUnstructuredDataWriter::WriteData  )  [protected, virtual]
 

Implements vtkXMLWriter.

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

unsigned long* vtkXMLUnstructuredDataWriter::WriteCellsAppended const char *  name,
vtkDataArray types,
vtkIndent  indent
[protected]
 

void vtkXMLUnstructuredDataWriter::WriteCellsAppendedData vtkCellArray cells,
vtkDataArray types,
unsigned long *  positions
[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 106 of file vtkXMLUnstructuredDataWriter.h.

int vtkXMLUnstructuredDataWriter::WritePiece [protected]
 

Definition at line 109 of file vtkXMLUnstructuredDataWriter.h.

int vtkXMLUnstructuredDataWriter::GhostLevel [protected]
 

Definition at line 112 of file vtkXMLUnstructuredDataWriter.h.

unsigned long* vtkXMLUnstructuredDataWriter::PointsPositions [protected]
 

Definition at line 115 of file vtkXMLUnstructuredDataWriter.h.

unsigned long* vtkXMLUnstructuredDataWriter::NumberOfPointsPositions [protected]
 

Definition at line 116 of file vtkXMLUnstructuredDataWriter.h.

unsigned long** vtkXMLUnstructuredDataWriter::PointDataPositions [protected]
 

Definition at line 117 of file vtkXMLUnstructuredDataWriter.h.

unsigned long** vtkXMLUnstructuredDataWriter::CellDataPositions [protected]
 

Definition at line 118 of file vtkXMLUnstructuredDataWriter.h.

vtkIdTypeArray* vtkXMLUnstructuredDataWriter::CellPoints [protected]
 

Definition at line 121 of file vtkXMLUnstructuredDataWriter.h.

vtkIdTypeArray* vtkXMLUnstructuredDataWriter::CellOffsets [protected]
 

Definition at line 122 of file vtkXMLUnstructuredDataWriter.h.


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