#include <iostream>
#include "DGtal/io/boards/Board3DTo2D.h"
#include "DGtal/io/DrawWithDisplay3DModifier.h"
#include "DGtal/io/Color.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()
{
board << shape_set;
board <<
SetMode3D( shape.className(),
"DrawAdjacencies" );
board << shape;
board <<
SetMode3D( shape2.className(),
"DrawAdjacencies" );
board.
saveCairo(
"dgtalBoard3DTo2D-3-objects.png", Board3DTo2D::CairoPNG, 600, 400);
}