Example of digital point visualization with PolyscopeViewer.
- See also
- Visualization of DigitalSet and digital objects
Digital point visualization with PolyscopeViewer.
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/io/viewers/PolyscopeViewer.h"
int main(
int argc,
char** argv )
{
PolyscopeViewer v;
shape_set.erase(
Point(3,3,3));
shape_set.erase(
Point(6,6,6));
v << shape_set;
return 0;
}
void show() override
Starts the event loop and display of elements.
static void addNorm1Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
static void addNorm2Ball(TDigitalSet &aSet, const Point &aCenter, UnsignedInteger aRadius)
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.
HyperRectDomain< Space > Domain
Z2i::DigitalSet DigitalSet