Chombo + EB  3.2
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
STLBinaryReader Class Reference

#include <STLBinaryReader.H>

Inheritance diagram for STLBinaryReader:
Inheritance graph
[legend]

Public Member Functions

 STLBinaryReader ()
 Constructor - read from standard input. More...
 
 STLBinaryReader (const string &a_filename)
 Constructor - read from file name. More...
 
 ~STLBinaryReader ()
 Destructor. More...
 
string * GetHeader () const
 Return header information. More...
 
void GetNtri (int &a_ntri) const
 Return number of elements. More...
 
void GetNtriMatch (bool &a_ntriMatch) const
 Return whether number of elements from header matches file. More...
 
RefCountedPtr< STLMeshGetMesh () const
 Return pointer to the mesh. More...
 
- Public Member Functions inherited from STLReader
 STLReader ()
 Constructor - read from standard input. More...
 
virtual ~STLReader ()
 Destructor. More...
 

Protected Member Functions

void ReadData (istream &a_file, const int offset)
 

Protected Attributes

string * m_header
 
int m_ntri
 
bool m_ntriMatch
 
RefCountedPtr< STLMeshm_stlmesh
 
- Protected Attributes inherited from STLReader
int m_ntri
 
bool m_ntriMatch
 
RefCountedPtr< STLMeshm_stlmesh
 

Private Member Functions

void operator= (const STLBinaryReader &a_inputReader)
 

Constructor & Destructor Documentation

STLBinaryReader::STLBinaryReader ( )

Constructor - read from standard input.

STLBinaryReader::STLBinaryReader ( const string &  a_filename)

Constructor - read from file name.

STLBinaryReader::~STLBinaryReader ( )

Destructor.

Member Function Documentation

string* STLBinaryReader::GetHeader ( ) const
virtual

Return header information.

Implements STLReader.

void STLBinaryReader::GetNtri ( int &  a_ntri) const
virtual

Return number of elements.

Implements STLReader.

void STLBinaryReader::GetNtriMatch ( bool &  a_ntriMatch) const
virtual

Return whether number of elements from header matches file.

Implements STLReader.

RefCountedPtr<STLMesh> STLBinaryReader::GetMesh ( ) const
virtual

Return pointer to the mesh.

Implements STLReader.

void STLBinaryReader::ReadData ( istream &  a_file,
const int  offset 
)
protectedvirtual

Implements STLReader.

void STLBinaryReader::operator= ( const STLBinaryReader a_inputReader)
inlineprivate

References MayDay::Abort().

Member Data Documentation

string* STLBinaryReader::m_header
protected
int STLBinaryReader::m_ntri
protected
bool STLBinaryReader::m_ntriMatch
protected
RefCountedPtr<STLMesh> STLBinaryReader::m_stlmesh
protected

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