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

#include <STLReader.H>

Inheritance diagram for STLReader:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

virtual void ReadData (istream &a_file, const int offset)=0
 

Protected Attributes

int m_ntri
 
bool m_ntriMatch
 
RefCountedPtr< STLMeshm_stlmesh
 

Private Member Functions

void operator= (const STLReader &a_inputReader)
 

Constructor & Destructor Documentation

STLReader::STLReader ( )
inline

Constructor - read from standard input.

virtual STLReader::~STLReader ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual string* STLReader::GetHeader ( ) const
pure virtual

Return header information.

Implemented in STLAsciiReader, and STLBinaryReader.

virtual void STLReader::GetNtri ( int &  a_ntri) const
pure virtual

Return number of elements.

Implemented in STLAsciiReader, and STLBinaryReader.

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

Return pointer to the mesh.

Implemented in STLAsciiReader, and STLBinaryReader.

virtual void STLReader::ReadData ( istream &  a_file,
const int  offset 
)
protectedpure virtual

Implemented in STLAsciiReader, and STLBinaryReader.

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

References MayDay::Abort().

Member Data Documentation

int STLReader::m_ntri
protected
bool STLReader::m_ntriMatch
protected
RefCountedPtr<STLMesh> STLReader::m_stlmesh
protected

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