|
CellModules
|
3D object representation: contains the vertices, UV coordinates, normals and faces More...
#include <obj3D.hpp>
Public Types | |
| enum | TriangleData { V , VT , VN } |
| using | UV = std::array< double, 2 > |
| using | triangle_t = std::array< size_t, 3 > |
Public Attributes | |
| std::vector< Vector3D > | vertices |
| std::vector< UV > | uv |
| std::vector< Vector3D > | normals |
| std::vector< std::array< triangle_t, 3 > > | faces |
3D object representation: contains the vertices, UV coordinates, normals and faces
| using MecaCell::Obj3D::triangle_t = std::array<size_t, 3> |
| using MecaCell::Obj3D::UV = std::array<double, 2> |
| std::vector<std::array<triangle_t, 3> > MecaCell::Obj3D::faces |
| std::vector<Vector3D> MecaCell::Obj3D::normals |
| std::vector<UV> MecaCell::Obj3D::uv |
| std::vector<Vector3D> MecaCell::Obj3D::vertices |