42#include "DGtal/base/Common.h"
43#include "DGtal/io/boards/Board2D.h"
44#include "DGtal/io/Color.h"
45#include "DGtal/io/colormaps/GradientColorMap.h"
46#include "DGtal/shapes/Shapes.h"
47#include "DGtal/helpers/StdDefs.h"
68 shape_set.
erase( c1 );
69 shape_set.
erase( c2 );
83 string specificStyle = p1.
className() +
"/Paving";
85 it != shape_set.
end();
88 unsigned int d = (
unsigned int) ceil( ( *it - c1 ).norm() );
95 board.
saveSVG(
"dgtalBoard2D-4-colormaps.svg");
96 board.
saveEPS(
"dgtalBoard2D-4-colormaps.eps");
97 board.
saveTikZ(
"dgtalBoard2D-4-colormaps.tikz");
100 board.
saveCairo(
"dgtalBoard2D-4-colormaps-cairo.pdf", Board2D::CairoPDF);
101 board.
saveCairo(
"dgtalBoard2D-4-colormaps-cairo.png", Board2D::CairoPNG);
102 board.
saveCairo(
"dgtalBoard2D-4-colormaps-cairo.ps", Board2D::CairoPS);
103 board.
saveCairo(
"dgtalBoard2D-4-colormaps-cairo.svg", Board2D::CairoSVG);
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
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...
ConstIterator end() const
ConstIterator begin() const
Size erase(const Point &p)
Container::const_iterator ConstIterator
ConstIterator type of the container;.
Aim: This class template may be used to (linearly) convert scalar values in a given range into a colo...
void addColor(const Color &color)
std::string className() const
std::string className() const
static void addNorm1Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
void beginBlock(const std::string &keyword="")
void saveTikZ(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
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.
Custom style class redefining the pen color and the fill color. You may use Board2D::Color::None for ...
Modifier class in a Board2D stream. Useful to choose your own mode for a given class....