42 #include "DGtal/base/Common.h"
43 #include "DGtal/io/readers/PointListReader.h"
44 #include "DGtal/io/DrawWithDisplay3DModifier.h"
45 #include "DGtal/io/viewers/Viewer3D.h"
46 #include "DGtal/io/Color.h"
48 #include "DGtal/helpers/StdDefs.h"
49 #include "ConfigExamples.h"
54 using namespace DGtal;
59 int main(
int argc,
char** argv )
61 std::string inputFilename = examplesPath +
"samples/pointList3d.pl";
62 QApplication application(argc,argv);
67 for(
unsigned int i=0; i<vectPoints.size();i++){
68 viewer << vectPoints.at(i);
72 vector<unsigned int> vPos;
78 for(
unsigned int i=0; i<vectPoints.size();i++){
79 viewer << vectPoints.at(i);
82 viewer << Viewer3D<>::updateDisplay;
83 return application.exec();
Structure representing an RGB triple with alpha component.
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.
Aim: Implements method to read a set of points represented in each line of a file.