#include <STLReader.H>
Public Member Functions | |
STLReader () | |
Constructor - read from standard input. | |
virtual | ~STLReader () |
Destructor. | |
virtual string * | GetHeader () const =0 |
Return header information. | |
virtual void | GetNtri (int &a_ntri) const =0 |
Return number of elements. | |
virtual void | GetNtriMatch (bool &a_ntriMatch) const =0 |
Return whether number of elements from header matches file. | |
virtual RefCountedPtr< STLMesh > | GetMesh () const =0 |
Return pointer to the mesh. | |
Protected Member Functions | |
virtual void | ReadData (istream &a_file, const int offset)=0 |
Protected Attributes | |
int | m_ntri |
bool | m_ntriMatch |
RefCountedPtr< STLMesh > | m_stlmesh |
Private Member Functions | |
void | operator= (const STLReader &a_inputReader) |
STLReader::STLReader | ( | ) | [inline] |
Constructor - read from standard input.
virtual STLReader::~STLReader | ( | ) | [inline, virtual] |
Destructor.
virtual string* STLReader::GetHeader | ( | ) | const [pure virtual] |
virtual void STLReader::GetNtri | ( | int & | a_ntri | ) | const [pure virtual] |
virtual void STLReader::GetNtriMatch | ( | bool & | a_ntriMatch | ) | const [pure virtual] |
Return whether number of elements from header matches file.
Implemented in STLAsciiReader, and STLBinaryReader.
virtual RefCountedPtr<STLMesh> STLReader::GetMesh | ( | ) | const [pure virtual] |
virtual void STLReader::ReadData | ( | istream & | a_file, | |
const int | offset | |||
) | [protected, pure virtual] |
Implemented in STLAsciiReader, and STLBinaryReader.
void STLReader::operator= | ( | const STLReader & | a_inputReader | ) | [inline, private] |
References MayDay::Abort().
int STLReader::m_ntri [protected] |
Reimplemented in STLAsciiReader, and STLBinaryReader.
bool STLReader::m_ntriMatch [protected] |
Reimplemented in STLAsciiReader, and STLBinaryReader.
RefCountedPtr<STLMesh> STLReader::m_stlmesh [protected] |
Reimplemented in STLAsciiReader, and STLBinaryReader.