STLReader Class Reference

#include <STLReader.H>

Inheritance diagram for STLReader:

Inheritance graph
[legend]

List of all members.

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< STLMeshGetMesh () 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< 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 (  )  [inline, virtual]

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 
) [protected, pure virtual]

Implemented in STLAsciiReader, and STLBinaryReader.

void STLReader::operator= ( const STLReader a_inputReader  )  [inline, private]

References MayDay::Abort().


Member Data Documentation

int STLReader::m_ntri [protected]

Reimplemented in STLAsciiReader, and STLBinaryReader.

bool STLReader::m_ntriMatch [protected]

Reimplemented in STLAsciiReader, and STLBinaryReader.

Reimplemented in STLAsciiReader, and STLBinaryReader.


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

Generated on Tue Jun 27 04:03:56 2017 for Chombo + EB by  doxygen 1.5.5