#include <STLBinaryReader.H>

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