47 #include "DGtal/base/Common.h"
48 #include "DGtal/io/boards/Board2D.h"
49 #include "DGtal/shapes/Shapes.h"
50 #include "DGtal/helpers/StdDefs.h"
54 using namespace DGtal;
73 board <<
domain << shape_set;
74 board.
saveSVG(
"dgtalBoard2D-2-sets-1.svg");
75 board.
saveEPS(
"dgtalBoard2D-2-sets-1.eps");
76 board.
saveTikZ(
"dgtalBoard2D-2-sets-1.tikz");
79 board.
saveCairo(
"dgtalBoard2D-2-sets-1-cairo.pdf", Board2D::CairoPDF);
80 board.
saveCairo(
"dgtalBoard2D-2-sets-1-cairo.png", Board2D::CairoPNG);
81 board.
saveCairo(
"dgtalBoard2D-2-sets-1-cairo.ps", Board2D::CairoPS);
82 board.
saveCairo(
"dgtalBoard2D-2-sets-1-cairo.svg", Board2D::CairoSVG);
92 board.
saveSVG(
"dgtalBoard2D-2-sets-2.svg");
93 board.
saveEPS(
"dgtalBoard2D-2-sets-2.eps");
94 board.
saveTikZ(
"dgtalBoard2D-2-sets-2.tikz");
97 board.
saveCairo(
"dgtalBoard2D-2-sets-2-cairo.pdf", Board2D::CairoPDF);
98 board.
saveCairo(
"dgtalBoard2D-2-sets-2-cairo.png", Board2D::CairoPNG);
99 board.
saveCairo(
"dgtalBoard2D-2-sets-2-cairo.ps", Board2D::CairoPS);
100 board.
saveCairo(
"dgtalBoard2D-2-sets-2-cairo.svg", Board2D::CairoSVG);
110 board.
saveSVG(
"dgtalBoard2D-2-sets-3.svg");
111 board.
saveEPS(
"dgtalBoard2D-2-sets-3.eps");
112 board.
saveTikZ(
"dgtalBoard2D-2-sets-3.tikz");
115 board.
saveCairo(
"dgtalBoard2D-2-sets-3-cairo.pdf", Board2D::CairoPDF);
116 board.
saveCairo(
"dgtalBoard2D-2-sets-3-cairo.png", Board2D::CairoPNG);
117 board.
saveCairo(
"dgtalBoard2D-2-sets-3-cairo.ps", Board2D::CairoPS);
118 board.
saveCairo(
"dgtalBoard2D-2-sets-3-cairo.svg", Board2D::CairoSVG);
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Size erase(const Point &p)
Aim: An object (or digital object) represents a set in some digital space associated with a digital t...
std::string className() const
Aim: A utility class for constructing different shapes (balls, diamonds, and others).
void beginBlock(const std::string &keyword="")
void saveTikZ(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void clear(const DGtal::Color &color=DGtal::Color::None)
void saveEPS(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void saveSVG(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
void saveCairo(const char *filename, CairoType type=CairoPNG, PageSize size=Board::BoundingBox, double margin=10.0) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Modifier class in a Board2D stream. Useful to choose your own mode for a given class....