PolyFiletoPoly Class Reference
[C++/Common/DataSource/FiletoPoly]

The purpose of this class is to read a Polydata file and present the data in PolyData format. More...

#include <PolyFiletoPoly.h>

Inheritance diagram for PolyFiletoPoly:

Inheritance graph
[legend]
Collaboration diagram for PolyFiletoPoly:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PolyFiletoPoly (const char *pathname)
 Ctor.
virtual ~PolyFiletoPoly ()
 Dtor.
vtkDataSetGetReaderOutput () const
 Give the output of the input reader.
void SetReleaseDataFlag (bool dynamic)
 Specify the memory management scheme (i.e.

Detailed Description

The purpose of this class is to read a Polydata file and present the data in PolyData format.

The PointData is a surface in {x, y, z}. The Cell data is represented by triangles (vtkCell::GetCellType() gives VTK_TRIANGLE) of the PointData. There is no Scalar data.

Definition at line 22 of file PolyFiletoPoly.h.


Constructor & Destructor Documentation

PolyFiletoPoly::PolyFiletoPoly ( const char *  pathname  ) 

Ctor.

Construct a dataflow that reads a PolyData file and outputs PolyData.

Parameters:
pathname The File descriptor of the input.

virtual PolyFiletoPoly::~PolyFiletoPoly (  )  [virtual]

Dtor.

Clean up the dataflow objects.


Member Function Documentation

vtkDataSet* PolyFiletoPoly::GetReaderOutput (  )  const [virtual]

Give the output of the input reader.

Returns:
The output of the input reader in the data type of the reader.

Implements FiletoPoly.

void PolyFiletoPoly::SetReleaseDataFlag ( bool  dynamic  )  [virtual]

Specify the memory management scheme (i.e.

static or dynamic).

Parameters:
dynamic If the scheme is to be dynamic then true.

Reimplemented from FiletoPoly.


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