37 #include "DGtal/base/Common.h"
38 #include "DGtal/helpers/StdDefs.h"
39 #include "ConfigExamples.h"
43 #include "DGtal/io/boards/Board2D.h"
47 using namespace DGtal;
59 std::string
square = examplesPath +
"samples/smallSquare.dat";
63 std::fstream inputStream;
64 inputStream.open (
square.c_str(), std::ios::in);
65 c.initFromVectorStream(inputStream);
77 aBoard <<
SetMode(aDomain.className(),
"Paving") << aDomain;
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 <<)....
Aim: model of CConstBidirectionalRange that adapts any range of elements bounded by two iterators [it...
Aim: describes, in a cellular space of dimension n, a closed or open sequence of signed d-cells (or d...
void saveEPS(const char *filename, PageSize size=Board::BoundingBox, double margin=10.0) const
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....
int main(int argc, char **argv)