#include <FiletoPoly.h>
Inheritance diagram for FiletoPoly:
Public Member Functions | |
FiletoPoly (const char *pathname) | |
Ctor. | |
virtual | ~FiletoPoly () |
Dtor. | |
bool | go () const |
Is this object Go? | |
bool | ok () const |
Is this object ok? | |
vtkPolyData * | GetOutput () const |
Give the filter output. | |
vtkPolyData * | GetDecimatedOutput () |
Give the decimated filter output. | |
void | decimate (float arg) |
Specify the decimation factor to use for the above output. | |
float | decimate () const |
Give the decimation factor currently in use. | |
virtual vtkDataSet * | GetReaderOutput () const=0 |
Give the output of the input reader. | |
std::string | classType () const |
Give the class type. | |
virtual void | ReleaseDataFlagOn () |
Release memory as it has been used (i.e. | |
virtual void | ReleaseDataFlagOff () |
Keep memory once it has been allocated (i.e. | |
virtual void | SetReleaseDataFlag (bool dynamic) |
Specify the memory management policy. | |
virtual bool | GetReleaseDataFlag () const |
Give the memory management policy. | |
void | DebugOn () |
Set the class debugging to on. | |
void | DebugOff () |
Set the class debugging to off. | |
unsigned int | GetDebug () const |
Give the debugging status of the object. | |
Protected Attributes | |
const char * | pathname |
The data source file. | |
vtkPolyData * | output |
The output port. | |
GoNogo | state |
The major state of this object. | |
std::string | className |
The name of the class. | |
vtkDecimatePro * | decimator |
The Decimator. |
The FiletoPoly sub classes will read data in a certain format and convert it to data from a PolyDataSource. The classes derived from this are the enumeration of the several data types that can be read and converted to a PolyDataSource.
Definition at line 24 of file FiletoPoly.h.
FiletoPoly::FiletoPoly | ( | const char * | pathname | ) |
Ctor.
pathname | The FQN of the input file. |
virtual FiletoPoly::~FiletoPoly | ( | ) | [virtual] |
Dtor.
bool FiletoPoly::go | ( | ) | const |
Is this object Go?
bool FiletoPoly::ok | ( | ) | const |
Is this object ok?
vtkPolyData* FiletoPoly::GetOutput | ( | ) | const |
Give the filter output.
vtkPolyData* FiletoPoly::GetDecimatedOutput | ( | ) |
Give the decimated filter output.
void FiletoPoly::decimate | ( | float | arg | ) |
Specify the decimation factor to use for the above output.
arg | The variable, 0.0 <= arg < 1.0, representing the decimation factor. A value of 0.0 is no decimation and 1.0 is 100% decimation. |
float FiletoPoly::decimate | ( | ) | const |
Give the decimation factor currently in use.
virtual vtkDataSet* FiletoPoly::GetReaderOutput | ( | ) | const [pure virtual] |
Give the output of the input reader.
Implemented in PolyFiletoPoly, and StructuredPointsFiletoPoly.
std::string FiletoPoly::classType | ( | ) | const |
Give the class type.
virtual void FiletoPoly::ReleaseDataFlagOn | ( | ) | [virtual] |
Release memory as it has been used (i.e.
dynamic memory management).
virtual void FiletoPoly::ReleaseDataFlagOff | ( | ) | [virtual] |
Keep memory once it has been allocated (i.e.
static memnory management).
virtual void FiletoPoly::SetReleaseDataFlag | ( | bool | dynamic | ) | [virtual] |
Specify the memory management policy.
dynamic | If dynamic management is specified then true. |
Reimplemented in PolyFiletoPoly, and StructuredPointsFiletoPoly.
virtual bool FiletoPoly::GetReleaseDataFlag | ( | ) | const [virtual] |
Give the memory management policy.
void FiletoPoly::DebugOn | ( | ) |
Set the class debugging to on.
void FiletoPoly::DebugOff | ( | ) |
Set the class debugging to off.
unsigned int FiletoPoly::GetDebug | ( | ) | const |
Give the debugging status of the object.
const char* FiletoPoly::pathname [protected] |
vtkPolyData* FiletoPoly::output [protected] |
GoNogo FiletoPoly::state [protected] |
std::string FiletoPoly::className [protected] |
The name of the class.
Set by the drevied class to the correct name.
Definition at line 149 of file FiletoPoly.h.
vtkDecimatePro* FiletoPoly::decimator [protected] |