32#include "DGtal/base/Common.h"
42#include "DGtal/base/Common.h"
43#include "DGtal/helpers/StdDefs.h"
44#include "DGtal/shapes/Shapes.h"
45#include "DGtal/io/viewers/PolyscopeViewer.h"
55int main(
int argc,
char** argv )
62 K.
init( plow, pup,
true );
73 viewer << voxelB<< voxelA;
81 viewer << surfelA << surfelB << surfelC << surfelD << surfelE;
86 viewer << linelA << linelB << linelC;
99 viewer << ssurfelXZ << ssurfelXY << ssurfelZY;
100 viewer << ssurfelXZo << ssurfelXYo << ssurfelZYo;
107 viewer << pointelA << pointelB << pointelC << linelAC;
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...
bool init(const Point &lower, const Point &upper, bool isClosed)
Specifies the upper and lower bounds for the maximal cells in this space.
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
void show() override
Starts the event loop and display of elements.
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.