Example of digital set visualization with Board3DTo2D.
- See also
- Visualization of DigitalSet and digital objects
Digital set visualization with Board3DTo2D.
#include <iostream>
#include "DGtal/io/boards/Board3DTo2D.h"
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
using namespace Z3i;
{
shape_set.erase(
Point(3,3,3));
shape_set.erase(
Point(6,6,6));
board << shape_set;
}
Class for PDF, PNG, PS, EPS, SVG export drawings with Cairo with 3D->2D projection.
void saveCairo(const char *filename, CairoType type, int bWidth, int bHeight)
Aim: A utility class for constructing different shapes (balls, diamonds, and others).
DGtal is the top-level namespace which contains all DGtal functions and types.
CameraDirection class to set camera direction.
CameraPosition class to set camera position.
CameraUpVector class to set camera up-vector.
HyperRectDomain< Space > Domain
Z2i::DigitalSet DigitalSet