ssPolyDataRecordReader Class Reference
[C++/Common/Vtk/ReaderWriter]

The purpose of this class is to read a file of PolyData records and present the data as output. More...

#include <ssPolyDataRecordReader.h>

Inheritance diagram for ssPolyDataRecordReader:

Inheritance graph
[legend]
Collaboration diagram for ssPolyDataRecordReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeMacro (ssPolyDataRecordReader, ssRawDataReader)
void PrintSelf (ostream &os, vtkIndent indent)
 Print the state of this object.
virtual vtkPolyDataGetOutput (int idx)
 Give the indicated output of this object.
virtual vtkPolyDataGetOutput ()
 Give the first output of this object.
void SetOutput (vtkPolyData *output)
 Specify the output.
bool PopRecord ()
 If at least one record has been read since the last call to this function then this will be indicated by this function.

Static Public Member Functions

static ssPolyDataRecordReaderNew ()
 Instantiate a new object of this type.

Protected Member Functions

 ssPolyDataRecordReader ()
 Ctor.
virtual ~ssPolyDataRecordReader ()
 Dtor.
virtual void Execute ()
 Execute the data flow.

Detailed Description

The purpose of this class is to read a file of PolyData records and present the data as output.

Definition at line 19 of file ssPolyDataRecordReader.h.


Constructor & Destructor Documentation

ssPolyDataRecordReader::ssPolyDataRecordReader (  )  [protected]

Ctor.

virtual ssPolyDataRecordReader::~ssPolyDataRecordReader (  )  [protected, virtual]

Dtor.


Member Function Documentation

static ssPolyDataRecordReader* ssPolyDataRecordReader::New (  )  [static]

Instantiate a new object of this type.

This is the only method that objects of this type may be created.

Returns:
The new object.

Reimplemented from ssRawDataReader.

ssPolyDataRecordReader::vtkTypeMacro ( ssPolyDataRecordReader  ,
ssRawDataReader   
)

void ssPolyDataRecordReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Print the state of this object.

Parameters:
os The output stream.
indent The indentation level. Used for formating output.

Reimplemented from ssRawDataReader.

virtual vtkPolyData* ssPolyDataRecordReader::GetOutput ( int  idx  )  [virtual]

Give the indicated output of this object.

Parameters:
idx The output index.
Returns:
The output.

virtual vtkPolyData* ssPolyDataRecordReader::GetOutput (  )  [virtual]

Give the first output of this object.

Equivalent to this->GetOutput(0).

Returns:
The output.

void ssPolyDataRecordReader::SetOutput ( vtkPolyData output  ) 

Specify the output.

Parameters:
output The required output.

bool ssPolyDataRecordReader::PopRecord (  ) 

If at least one record has been read since the last call to this function then this will be indicated by this function.

This function will deincrement the recordFlag variable each time it is called.

Returns:
If One or more records have been read then true; otherwise false.

virtual void ssPolyDataRecordReader::Execute (  )  [protected, virtual]

Execute the data flow.

This routine will read one record and present it to the output.


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