32#include "DGtal/base/Common.h"
33#include "DGtal/helpers/StdDefs.h"
34#include "DGtal/shapes/Mesh.h"
35#include "DGtal/io/viewers/PolyscopeViewer.h"
51int main(
int argc,
char** argv )
55 for (
int i = 0; i < argc; ++i )
84 listIndex.push_back(7);
85 listIndex.push_back(8);
86 listIndex.push_back(9);
87 listIndex.push_back(10);
88 listIndex.push_back(11);
89 listIndex.push_back(12);
Structure representing an RGB triple with alpha component.
Aim: This class is defined to represent a surface mesh through a set of vertices and faces....
void addQuadFace(Index indexVertex1, Index indexVertex2, Index indexVertex3, Index indexVertex4, const DGtal::Color &aColor=DGtal::Color::White)
void addFace(const MeshFace &aFace, const DGtal::Color &aColor=DGtal::Color::White)
std::vector< Index > MeshFace
void addTriangularFace(Index indexVertex1, Index indexVertex2, Index indexVertex3, const DGtal::Color &aColor=DGtal::Color::White)
void addVertex(const TPoint &vertex)
void show() override
Starts the event loop and display of elements.
void beginBlock(const std::string &keyword="")
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.