41#include "DGtal/base/Common.h"
42#include "DGtal/helpers/StdDefs.h"
44#include "DGtal/topology/KhalimskySpaceND.h"
45#include "DGtal/topology/CubicalComplex.h"
46#include "DGtal/io/boards/Board2D.h"
81 board.
saveTikZ(
"cubical-complex-illustrations-X.tikz" );
93 board.
saveTikZ(
"cubical-complex-illustrations-S.tikz" );
105 board.
saveTikZ(
"cubical-complex-illustrations-closure.tikz" );
117 board.
saveTikZ(
"cubical-complex-illustrations-star.tikz" );
129 board.
saveTikZ(
"cubical-complex-illustrations-link.tikz" );
141 board.
saveTikZ(
"cubical-complex-illustrations-bd.tikz" );
153 board.
saveTikZ(
"cubical-complex-illustrations-int.tikz" );
174 board.
saveTikZ(
"cubical-complex-illustrations-collapse.tikz" );
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Structure representing an RGB triple with alpha component.
static const Color Magenta
Aim: This class represents an arbitrary cubical complex living in some Khalimsky space....
CubicalComplex closure(const CubicalComplex &S, bool hintClosed=false) const
ConstIterator end() const
std::string className() const
CubicalComplex boundary(bool hintClosed=false) const
CubicalComplex link(const CubicalComplex &S, bool hintClosed=false, bool hintOpen=false) const
CubicalComplex star(const CubicalComplex &S, bool hintOpen=false) const
CubicalComplex interior() const
void insertCell(const Cell &aCell, const Data &data=Data())
ConstIterator begin() const
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...
Cell uSpel(Point p) const
From the digital coordinates of a point in Zn, builds the corresponding spel (cell of maximal dimensi...
bool init(const Point &lower, const Point &upper, bool isClosed)
Specifies the upper and lower bounds for the maximal cells in this space.
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
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)
Z2i this namespace gathers the standard of types for 2D imagery.
uint64_t collapse(CubicalComplex< TKSpace, TCellContainer > &K, CellConstIterator S_itB, CellConstIterator S_itE, const CellMapIteratorPriority &priority, bool hintIsSClosed=false, bool hintIsKClosed=false, bool verbose=false)
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 ...
std::string className() const
Return the style name used for drawing this object.
CubicalComplex< KSpace, Map > CC