55#include "DGtal/base/Common.h"
56#include "DGtal/helpers/StdDefs.h"
57#include "DGtal/io/viewers/PolyscopeViewer.h"
73 const std::string& name,
size_t index,
75 void* polyscopeStructure
77 ((void)
index); ((void) data); ((void) polyscopeStructure);
78 std::cout <<
"Item name: " << name << std::endl;
89 K.
init( p1, p2,
true );
101 viewer.draw(surfel1,
"Surfel 1");
102 viewer.draw(surfel2,
"Surfel 2");
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.
static const constexpr Sign NEG
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.
static const constexpr Sign POS
DGtal is the top-level namespace which contains all DGtal functions and types.
Data required to display an object.
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
void OnClick(const std::string &name, size_t index, const DisplayData< MyViewer::RealPoint > &data, void *polyscopeStructure)
unsigned int index(DGtal::uint32_t n, unsigned int b)
MyViewer::Callback Callback
PolyscopeViewer< Space, KSpace > MyViewer