6 #ifndef COGS_TRIANGULATION_H 7 #define COGS_TRIANGULATION_H 10 #include <glm/gtc/type_ptr.hpp> 25 uint32_t GetFaceCount()
const;
26 uint32_t GetIndexCount()
const;
28 void SetFaceCount(
const uint32_t &new_count);
29 void SetIndexCount(
const uint32_t &new_count);
31 void SetFaces(
const std::vector<glm::uvec3> &faces);
33 std::vector<glm::uvec3> &GetFaces();
34 const std::vector<glm::uvec3> &GetFaces()
const;
36 uint32_t *GetIndices();
37 const uint32_t *GetIndices()
const;
41 std::vector<glm::tvec3<uint32_t>> faces_;
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
A Triangulation is a vector of faces (triplets of indices from a point-cloud).
Definition: Triangulation.h:22