37#include "DGtal/base/Common.h"
38#include "DGtal/helpers/StdDefs.h"
39#include "ConfigExamples.h"
43#include "DGtal/io/boards/Board2D.h"
59 std::string square = examplesPath +
"samples/smallSquare.dat";
63 std::fstream inputStream;
64 inputStream.open (square.c_str(), std::ios::in);
81 aBoard.
saveEPS(
"DisplayGridCurveTuto.eps");
88 aBoard.
saveEPS(
"DisplayInnerPointsTuto.eps");
94 aBoard.
saveEPS(
"DisplayIncidentPointsTuto.eps");
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
bool initFromVectorStream(std::istream &in)
ConstRangeAdapter< typename Storage::const_iterator, functors::SCellToInnerPoint< KSpace >, Point > InnerPointsRange
IncidentPointsRange getIncidentPointsRange() const
ConstRangeAdapter< typename Storage::const_iterator, functors::SCellToIncidentPoints< KSpace >, std::pair< Point, Point > > IncidentPointsRange
InnerPointsRange getInnerPointsRange() const
std::string className() const
void saveEPS(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
HyperRectDomain< Space > Domain
DGtal is the top-level namespace which contains all DGtal functions and types.
Modifier class in a Board2D stream. Useful to choose your own mode for a given class....