Example of a custom display (with Board3DTo2D)
- See also
- Changing the style for displaying drawable elements.
Example of several custom display (with Board3DTo2D).
#include <iostream>
#include "DGtal/io/boards/Board3DTo2D.h"
#include "DGtal/io/DrawWithDisplay3DModifier.h"
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Shapes.h"
using namespace std;
using namespace Z3i;
{
board <<
SetMode3D( p1.className(),
"PavingWired" );
board << p1 << p2 << p3;
board << p4 << p5 ;
board <<
SetMode3D( p1.className(),
"Both" );
board << p6;
board << p0;
}
std::string className() const