30 #include "DGtal/base/Common.h"
31 #include "DGtal/io/viewers/Viewer3D.h"
32 #include "DGtal/io/DrawWithDisplay3DModifier.h"
33 #include "DGtal/io/Color.h"
34 #include "DGtal/helpers/StdDefs.h"
35 #include "DGtal/shapes/Shapes.h"
39 using namespace DGtal;
45 int main(
int argc,
char** argv )
48 QApplication application(argc,argv);
50 viewer.setWindowTitle(
"simpleViewer");
53 std::vector<Z3i::RealPoint> polyg1;
63 std::vector<Z3i::RealPoint> polyg2;
71 viewer << Viewer3D<>::updateDisplay;
73 bool res = application.exec();
74 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void addPolygon(const std::vector< RealPoint > &vertices)
void createNewPolygonList(std::string s="")
Aim: Implements basic operations that will be used in Point and Vector classes.
void beginBlock(const std::string &keyword="")
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.
int main(int argc, char **argv)