DGtal 1.3.0
Loading...
Searching...
No Matches
CDrawableWithBoard3DTo2D.h
1
17#pragma once
18
30#if defined(CDrawableWithBoard3DTo2D_RECURSES)
31#error Recursive header files inclusion detected in CDrawableWithBoard3DTo2D.h
32#else // defined(CDrawableWithBoard3DTo2D_RECURSES)
34#define CDrawableWithBoard3DTo2D_RECURSES
35
36#if !defined CDrawableWithBoard3DTo2D_h
38#define CDrawableWithBoard3DTo2D_h
39
41// Inclusions
42#include <iostream>
43#include "boost/concept_check.hpp"
44#include "DGtal/base/Common.h"
45#include "DGtal/io/CDrawableWithDisplay3D.h"
47
48namespace DGtal
49{
50 namespace concepts
51 {
53 // class CDrawableWithBoard3DTo2D
98 template < class S, class KS> class Board3DTo2D;
99
100 template <typename T, typename S, typename KS >
102 {
103
105 {
106 //Drawable model should have a className() returning a string
108
109 //Drawable model should be associated to global functions draw and defaultStyle.
110 //draw(myD3D, myT);
111 //concepts::ConceptUtils::sameType( myD, defaultStyle( myT) );
112 }
113
114 // ------------------------- Private Datas --------------------------------
115 private:
116
119
121 std::string myS;
122
123 // ------------------------- Internals ------------------------------------
124 private:
125
126 }; // end of concept CDrawableWithBoard3DTo2D
127 } // namespace concepts
128} // namespace DGtal
129
130
131
132// //
134
135#endif // !defined CDrawableWithBoard3DTo2D_h
136
137#undef CDrawableWithBoard3DTo2D_RECURSES
138#endif // else defined(CDrawableWithBoard3DTo2D_RECURSES)
Class for PDF, PNG, PS, EPS, SVG export drawings with Cairo with 3D->2D projection.
Definition: Board3DTo2D.h:71
Aim: The concept CDrawableWithBoard3DTo2D specifies what are the classes that admit an export with Bo...
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117
DGtal is the top-level namespace which contains all DGtal functions and types.
DrawableWithBoard3DTo2D * myD
the drawable object