46 #include "DGtal/io/readers/MeshReader.h"
49 #include "DGtal/io/Display3D.h"
50 #include "DGtal/io/viewers/Viewer3D.h"
52 #include "DGtal/base/Common.h"
53 #include "DGtal/io/Color.h"
54 #include "ConfigExamples.h"
57 using namespace DGtal;
60 int main(
int argc,
char** argv )
62 QApplication application(argc,argv);
66 std::string inputFilename = examplesPath +
"samples/tref.off";
69 anImportedMesh << inputFilename;
71 trace.
info()<<
"importating done..."<< endl;
74 viewer << anImportedMesh;
75 viewer << Viewer3D<>::updateDisplay;
77 return 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....
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)
DGtal is the top-level namespace which contains all DGtal functions and types.