#include <iostream>
#include "DGtal/base/Common.h"
using namespace std;
using namespace DGtal;
#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 std;
using namespace DGtal;
using namespace Z3i;
int main()
{
K.init( plow, pup, true );
board << voxelB << voxelA;
SCell surfelB = K.sCell(
Point( 1, 0, 1 ),
false );
board << surfelA << surfelB << surfelC << surfelD << surfelE;
board << linelA << linelB << linelC;
SCell ssurfelXZ = K.sCell(
Point( 5, 6, 5 ),
false );
SCell ssurfelXY = K.sCell(
Point( 5, 5, 6 ),
false );
SCell ssurfelZY = K.sCell(
Point( 6, 5, 5 ),
false );
board << center;
SCell ssurfelXZo = K.sCell(
Point( 5, 4, 5 ),
false );
SCell ssurfelXYo = K.sCell(
Point( 5, 5, 4 ),
false );
SCell ssurfelZYo = K.sCell(
Point( 4, 5, 5 ),
false );
board << ssurfelXZ << ssurfelXY << ssurfelZY;
board << ssurfelXZo << ssurfelXYo << ssurfelZYo;
board << pointelA << pointelB << pointelC << linelAC;
board.
saveCairo(
"dgtalBoard3DTo2D-KSCell.png", Board3DTo2D::CairoPNG, 600, 400);
}