Go to the documentation of this file.
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"
51 using namespace DGtal;
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" );
167 functions::collapse( X, X.begin(), X.end(), P,
true,
true,
true );
174 board.
saveTikZ(
"cubical-complex-illustrations-collapse.tikz" );
std::string className() const
Return the style name used for drawing this object.
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
Z2i this namespace gathers the standard of types for 2D imagery.
Structure representing an RGB triple with alpha component.
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.
void beginBlock(const std::string &keyword="")
void insertCell(const Cell &aCell, const Data &data=Data())
void clear(const DGtal::Color &color=DGtal::Color::None)
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 ...
CubicalComplex< KSpace, Map > CC
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
void saveTikZ(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
Aim: This class represents an arbitrary cubical complex living in some Khalimsky space....
std::string className() const
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...