36 std::vector<Vector3D> vertices;
41 std::vector<Material> materials;
46 std::vector<Cell> cells;
53 void parseVertex(std::string line);
58 void parseMaterial(std::string line);
63 void parseCell(std::string line);
69 std::vector<std::string> splitString(std::string line);
74 bool isExtension(
const std::string &str,
const std::string &suffix);
80 Model(std::string filename);
Vector3D getCentre()
Definition: model.cpp:252
Header file for the Material class.
int getMaterialCount()
Definition: model.cpp:228
std::vector< Vector3D > getVertices()
Definition: model.cpp:218
int getVertexCount()
Definition: model.cpp:234
Header file for the Vector3D class.
Header file for the Cell class and subclasses.
Definition: vector3d.h:17
void copyToFile(std::string filename)
Definition: model.cpp:274
std::vector< Cell > getCells()
Definition: model.cpp:223
std::string getCellList()
Definition: model.cpp:246
bool getIsSTL()
Definition: model.cpp:208
std::string getFilename()
Definition: model.cpp:203
void saveToFile(std::string filename)
Definition: model.cpp:282
std::vector< Material > getMaterials()
Definition: model.cpp:213
int getCellCount()
Definition: model.cpp:240