39 #include "DGtal/io/boards/Board3DTo2D.h"
40 #include "DGtal/base/Common.h"
41 #include "DGtal/helpers/StdDefs.h"
42 #include "DGtal/shapes/Shapes.h"
46 using namespace DGtal;
60 K.
init( plow, pup,
true );
70 board << voxelB << voxelA;
78 board << surfelA << surfelB << surfelC << surfelD << surfelE;
83 board << linelA << linelB << linelC;
97 board << ssurfelXZ << ssurfelXY << ssurfelZY;
98 board << ssurfelXZo << ssurfelXYo << ssurfelZYo;
106 board << pointelA << pointelB << pointelC << linelAC;
Class for PDF, PNG, PS, EPS, SVG export drawings with Cairo with 3D->2D projection.
std::string className() const
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.
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
Point center(const std::vector< Point > &points)
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.
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
int main(int argc, char **argv)