DGtal  1.4.2
Style2DFactory.h
1 
17 #pragma once
18 
31 #if defined(Style2DFactory_RECURSES)
32 #error Recursive header files inclusion detected in Style2DFactory.h
33 #else // defined(Style2DFactory_RECURSES)
35 #define Style2DFactory_RECURSES
36 
37 #if !defined Style2DFactory_h
39 #define Style2DFactory_h
40 
42 // Inclusions
43 
44 #include "DGtal/math/AngleLinearMinimizer.h"
45 #include "DGtal/geometry/curves/ArithmeticalDSS.h"
46 #include "DGtal/geometry/curves/ArithmeticalDSSComputer.h"
47 #include "DGtal/geometry/curves/AlphaThickSegmentComputer.h"
48 #include "DGtal/shapes/fromPoints/CircleFrom2Points.h"
49 #include "DGtal/shapes/fromPoints/CircleFrom3Points.h"
50 #include "DGtal/kernel/sets/DigitalSetBySTLSet.h"
51 #include "DGtal/kernel/sets/DigitalSetBySTLVector.h"
52 #include "DGtal/geometry/curves/FP.h"
53 #include "DGtal/geometry/curves/FreemanChain.h"
54 #include "DGtal/geometry/curves/StabbingLineComputer.h"
55 #include "DGtal/geometry/curves/FrechetShortcut.h"
56 #include "DGtal/kernel/domains/HyperRectDomain.h"
57 #include "DGtal/images/ImageContainerByHashTree.h"
58 #include "DGtal/images/ImageContainerBySTLVector.h"
59 #include "DGtal/topology/KhalimskySpaceND.h"
60 #include "DGtal/topology/KhalimskyPreSpaceND.h"
61 #include "DGtal/topology/Object.h"
62 #include "DGtal/topology/CanonicSCellEmbedder.h"
63 #include "DGtal/topology/CubicalComplex.h"
64 #include "DGtal/kernel/PointVector.h"
65 #include "DGtal/geometry/tools/Preimage2D.h"
66 #include "DGtal/shapes/fromPoints/StraightLineFrom2Points.h"
67 #include "DGtal/arithmetic/LatticePolytope2D.h"
68 #include "DGtal/dec/VectorField.h"
69 #include "DGtal/dec/KForm.h"
70 #include "DGtal/dec/DiscreteExteriorCalculus.h"
71 #include "DGtal/io/colormaps/GradientColorMap.h"
72 #include "DGtal/io/colormaps/HueShadeColorMap.h"
73 
75 
76 namespace DGtal {
77 
79 
80  static void draw( DGtal::Board2D & aBoard, DGtal::DrawableWithBoard2D *style )
81  {
82  style->setStyle(aBoard);
83  }
84  };
85 
86 }
87 
89 // Includes inline functions/methods
90 #include "DGtal/io/Style2DFactory.ih"
91 
92 // //
94 
95 #endif // !defined Style2DFactory_h
96 
97 #undef Style2DFactory_RECURSES
98 #endif // else defined(Style2DFactory_RECURSES)
Aim: This class specializes a 'Board' class so as to display DGtal objects more naturally (with <<)....
Definition: Board2D.h:71
DGtal is the top-level namespace which contains all DGtal functions and types.
virtual void setStyle(Board2D &) const
Definition: Common.h:225
static void draw(DGtal::Board2D &aBoard, DGtal::DrawableWithBoard2D *style)