31#if defined(Board3D_RECURSES)
32#error Recursive header files inclusion detected in Board3D.h
35#define Board3D_RECURSES
48#include "DGtal/base/Common.h"
49#include "DGtal/base/CountedPtr.h"
50#include "DGtal/io/Display3D.h"
51#include "DGtal/io/DrawWithDisplay3DModifier.h"
52#include "DGtal/io/Color.h"
80 template <
typename Space = Z3i::Space,
typename KSpace = Z3i::KSpace>
121 const bool isNormalized =
false);
145 template <
typename TDrawableWithDisplay3D>
200 template <
typename Space,
typename KSpace>
209#include "DGtal/io/boards/Board3D.ih"
217#undef Board3D_RECURSES
The class Board3D is a type of Display3D which export the figures in the format OBJ/MTL when calling ...
unsigned int getMaterialIndex(const DGtal::Color &aColor)
std::map< DGtal::Color, unsigned int > myMaterialMap
Material Map.
unsigned int myMaterialIndex
Last Material index.
std::string className() const
Board3D(const KSpace &KSEmb)
Board3D & operator<<(const DGtal::Color &aColor)
void selfDisplay(std::ostream &out) const
void saveOBJ(const std::string &filename, const bool isNormalized=false)
std::stringstream myMTLBuffer
Material buffer.
Board3D & operator<<(const TDrawableWithDisplay3D &object)
DGtal::Color myDefaultColor
default color
Structure representing an RGB triple with alpha component.
Aim: This semi abstract class defines the stream mechanism to display 3d primitive (like BallVector,...
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)