Example of digital point visualization with Viewer3D.
- See also
- Visualization of DigitalSet and digital objects
Digital point visualization with Viewer3D.
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/io/viewers/Viewer3D.h"
using namespace Z3i;
int main(
int argc,
char** argv )
{
QApplication application(argc,argv);
MyViewer viewer;
shape_set.erase(
Point(3,3,3));
shape_set.erase(
Point(6,6,6));
viewer << shape_set << MyViewer::updateDisplay;
return application.exec();
}
Aim: A utility class for constructing different shapes (balls, diamonds, and others).
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
DGtal is the top-level namespace which contains all DGtal functions and types.
HyperRectDomain< Space > Domain
Z2i::DigitalSet DigitalSet