57#include "DGtal/base/Common.h"
58#include "DGtal/helpers/StdDefs.h"
60#include "DGtal/io/viewers/PolyscopeViewer.h"
70int main(
int argc,
char** argv )
77 K.
init( plow, pup,
true );
86 viewer << ptlow << ptup1 << ptup2;
97 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
118 viewer << linel0<< linel1<< linel2 << linel3 ;
119 viewer << linel4<< linel5<< linel6 << linel7 ;
120 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
127 viewer << surfelA << surfelB << surfelC;
132 viewer << vox1 << vox2;
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.
Cell uTranslation(const Cell &p, const Vector &vec) const
Add the vector [vec] to [p].
Cell uPointel(Point p) const
From the digital coordinates of a point in Zn, builds the corresponding pointel (cell of dimension 0)...
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
static Self diagonal(Component val=1)
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.
PolyscopeViewer< Space, KSpace > MyViewer