40 #include "DGtal/base/Common.h"
41 #include "DGtal/helpers/StdDefs.h"
43 #include "DGtal/shapes/Mesh.h"
45 #include "DGtal/io/viewers/Viewer3D.h"
49 using namespace DGtal;
53 int main(
int argc,
char** argv )
57 QApplication application(argc,argv);
93 listIndex.push_back(7);
94 listIndex.push_back(8);
95 listIndex.push_back(9);
96 listIndex.push_back(10);
97 listIndex.push_back(11);
98 listIndex.push_back(12);
106 viewer << Viewer3D<>::updateDisplay;
108 bool res = application.exec();
Structure representing an RGB triple with alpha component.
virtual void setLineColor(DGtal::Color aColor)
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)
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
int main(int argc, char **argv)
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.