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::STLReader ( )
inline

Constructor - read from standard input.

◆ ~STLReader()

virtual STLReader::~STLReader ( )
inlinevirtual

Destructor.

References GetHeader(), GetMesh(), GetNtri(), GetNtriMatch(), and ReadData().

Member Function Documentation

◆ GetHeader()

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

Return header information.

Implemented in STLAsciiReader, and STLBinaryReader.

Referenced by ~STLReader().

◆ GetNtri()

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

Return number of elements.

Implemented in STLAsciiReader, and STLBinaryReader.

Referenced by ~STLReader().

◆ GetNtriMatch()

virtual void STLReader::GetNtriMatch ( bool &  a_ntriMatch) const
pure virtual

Return whether number of elements from header matches file.

Implemented in STLAsciiReader, and STLBinaryReader.

Referenced by ~STLReader().

◆ GetMesh()

virtual RefCountedPtr<STLMesh> STLReader::GetMesh ( ) const
pure virtual

Return pointer to the mesh.

Implemented in STLAsciiReader, and STLBinaryReader.

Referenced by ~STLReader().

◆ ReadData()

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

Implemented in STLAsciiReader, and STLBinaryReader.

Referenced by ~STLReader().

◆ operator=()

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

References MayDay::Abort().

Member Data Documentation

◆ m_ntri

int STLReader::m_ntri
protected

◆ m_ntriMatch

bool STLReader::m_ntriMatch
protected

◆ m_stlmesh

RefCountedPtr<STLMesh> STLReader::m_stlmesh
protected

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