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

vtkXMLPolyDataWriter Class Reference

#include <vtkXMLPolyDataWriter.h>

Inheritance diagram for vtkXMLPolyDataWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLPolyDataWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Write VTK XML PolyData files.

vtkXMLPolyDataWriter writes the VTK XML PolyData file format. One polygonal data 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 "vtp". This writer is also used to write a single piece of the parallel file format.

See also:
vtkXMLPPolyDataWriter
Tests:
vtkXMLPolyDataWriter (Tests)

Definition at line 39 of file vtkXMLPolyDataWriter.h.
vtkPolyDataGetInput ()
static vtkXMLPolyDataWriterNew ()

Public Types

typedef vtkXMLUnstructuredDataWriter Superclass

Public Member Functions

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

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLPolyDataWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLPolyDataWriter ()
 ~vtkXMLPolyDataWriter ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
const char * GetDataSetName ()
virtual void AllocatePositionArrays ()
virtual void DeletePositionArrays ()
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

unsigned long * NumberOfVertsPositions
unsigned long * NumberOfLinesPositions
unsigned long * NumberOfStripsPositions
unsigned long * NumberOfPolysPositions
OffsetsManagerArrayVertsOM
OffsetsManagerArrayLinesOM
OffsetsManagerArrayStripsOM
OffsetsManagerArrayPolysOM


Member Typedef Documentation

typedef vtkXMLUnstructuredDataWriter vtkXMLPolyDataWriter::Superclass
 

Reimplemented from vtkXMLUnstructuredDataWriter.

Definition at line 42 of file vtkXMLPolyDataWriter.h.


Constructor & Destructor Documentation

vtkXMLPolyDataWriter::vtkXMLPolyDataWriter  )  [protected]
 

vtkXMLPolyDataWriter::~vtkXMLPolyDataWriter  )  [protected]
 


Member Function Documentation

virtual const char* vtkXMLPolyDataWriter::GetClassName  )  [virtual]
 

Reimplemented from vtkXMLUnstructuredDataWriter.

static int vtkXMLPolyDataWriter::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 vtkXMLPolyDataWriter::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 vtkXMLPolyDataWriter* vtkXMLPolyDataWriter::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLPolyDataWriter::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Enumerate big and little endian byte order settings.

Reimplemented from vtkXMLUnstructuredDataWriter.

static vtkXMLPolyDataWriter* vtkXMLPolyDataWriter::New  )  [static]
 

Get/Set the writer's input.

Reimplemented from vtkAlgorithm.

vtkPolyData* vtkXMLPolyDataWriter::GetInput  ) 
 

Get/Set the writer's input.

Reimplemented from vtkXMLWriter.

const char* vtkXMLPolyDataWriter::GetDefaultFileExtension  )  [virtual]
 

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

Implements vtkXMLWriter.

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

const char* vtkXMLPolyDataWriter::GetDataSetName  )  [protected, virtual]
 

Implements vtkXMLUnstructuredDataWriter.

virtual void vtkXMLPolyDataWriter::AllocatePositionArrays  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

void vtkXMLPolyDataWriter::WriteInlinePieceAttributes  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

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

Reimplemented from vtkXMLUnstructuredDataWriter.

virtual vtkIdType vtkXMLPolyDataWriter::GetNumberOfInputCells  )  [protected, virtual]
 

Implements vtkXMLUnstructuredDataWriter.

void vtkXMLPolyDataWriter::CalculateSuperclassFraction float *  fractions  )  [protected]
 


Member Data Documentation

unsigned long* vtkXMLPolyDataWriter::NumberOfVertsPositions [protected]
 

Definition at line 79 of file vtkXMLPolyDataWriter.h.

unsigned long* vtkXMLPolyDataWriter::NumberOfLinesPositions [protected]
 

Definition at line 80 of file vtkXMLPolyDataWriter.h.

unsigned long* vtkXMLPolyDataWriter::NumberOfStripsPositions [protected]
 

Definition at line 81 of file vtkXMLPolyDataWriter.h.

unsigned long* vtkXMLPolyDataWriter::NumberOfPolysPositions [protected]
 

Definition at line 82 of file vtkXMLPolyDataWriter.h.

OffsetsManagerArray* vtkXMLPolyDataWriter::VertsOM [protected]
 

Definition at line 84 of file vtkXMLPolyDataWriter.h.

OffsetsManagerArray* vtkXMLPolyDataWriter::LinesOM [protected]
 

Definition at line 85 of file vtkXMLPolyDataWriter.h.

OffsetsManagerArray* vtkXMLPolyDataWriter::StripsOM [protected]
 

Definition at line 86 of file vtkXMLPolyDataWriter.h.

OffsetsManagerArray* vtkXMLPolyDataWriter::PolysOM [protected]
 

Definition at line 87 of file vtkXMLPolyDataWriter.h.


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