32#include "DGtal/base/Common.h"
33#include "DGtal/io/viewers/PolyscopeViewer.h"
34#include "DGtal/io/Color.h"
35#include "DGtal/helpers/StdDefs.h"
36#include "DGtal/shapes/Shapes.h"
57 Point p1( 14, 14, 14 );
58 Point p2( 27, 27, 27 );
62 viewer <<
Color(20, 20, 20, 50);
67 viewer <<
Color(250, 200,0, 50);
72 viewer << shape_set2 ;
76 viewer <<
Color(220, 20,20, 250);
77 viewer << shape_set3 ;
79 Point pp1( -1, -1, -2 );
82 Domain domain2( pp1, pp2 );
84 Point pp4( 2, -1, 5 );
85 Point pp5( -1, 2, 3 );
90 viewer << pp1 << pp2 << pp3;
93 viewer <<
Color(250, 0,0);
94 viewer << pp4 << pp5 ;
95 viewer <<
Color(250, 0,0, 100);
97 viewer <<
Color(250, 200,0, 20);
Structure representing an RGB triple with alpha component.
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
void drawAsGrid(bool toggle=true)
void show() override
Starts the event loop and display of elements.
static void addNorm1Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
static void addNorm2Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.