tk::STLTxtMeshReader class

STLTxtMeshReader : tk::Reader.

Mesh reader class facilitating reading a mesh from a file in ASCII STL format.

Base classes

class Reader

Constructors, destructors, conversion operators

STLTxtMeshReader(const std::string filename, STLMesh& mesh) explicit
Constructor.

Public functions

void readMesh()
Read ASCII STL mesh.

Function documentation

tk::STLTxtMeshReader::STLTxtMeshReader(const std::string filename, STLMesh& mesh) explicit

Constructor.

Parameters
filename in File to read STL data from
mesh in/out STLMesh object to store STL mesh