Struct Mesh¶
- Defined in File mesh.h
Struct Documentation¶
-
struct
Mesh
¶ Holds the vertex, normals, color and triangle index information of a mesh.
Public Functions
-
Mesh
()¶
-
Mesh
(FloatingPoint _block_size, const Point &_origin)¶
-
virtual
~Mesh
()¶
-
bool
hasVertices
() const¶
-
bool
hasNormals
() const¶
-
bool
hasColors
() const¶
-
bool
hasTriangles
() const¶
-
size_t
size
() const¶
-
void
clear
()¶
-
void
clearTriangles
()¶
-
void
clearNormals
()¶
-
void
clearColors
()¶
-
void
resize
(const size_t size, const bool has_normals = true, const bool has_colors = true, const bool has_indices = true)¶
-
void
reserve
(const size_t size, const bool has_normals = true, const bool has_colors = true, const bool has_triangles = true)¶
Public Members
-
Pointcloud
vertices
¶
-
VertexIndexList
indices
¶
-
Pointcloud
normals
¶
-
FloatingPoint
block_size
¶
-
bool
updated
¶
Public Static Attributes
-
constexpr FloatingPoint
kInvalidBlockSize
= -1.0¶
-