DGtal 1.4.0
Loading...
Searching...
No Matches
viewer3D-1-points.cpp
1
38#include <iostream>
39
40#include "DGtal/base/Common.h"
41#include "DGtal/helpers/StdDefs.h"
42#include "DGtal/io/viewers/Viewer3D.h"
44
45using namespace std;
46using namespace DGtal;
47using namespace Z3i;
48
49
51// Standard services - public :
52
53int main( int argc, char** argv )
54{
55
56 QApplication application(argc,argv);
57
58 Point p1( 0, 0, 0 );
59 Point p2( 5, 5 ,5 );
60 Point p3( 2, 3, 4 );
61 Domain domain( p1, p2 );
62
63 typedef Viewer3D<> MyViewer;
64 MyViewer viewer;
65 viewer.show();
66 viewer << domain;
67 viewer << p1 << p2 << p3;
68
70 return application.exec();
71}
72// //
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
DGtal is the top-level namespace which contains all DGtal functions and types.
STL namespace.
int main()
Definition testBits.cpp:56
Domain domain