DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Board2D.cpp
1 
29 
30 #include "DGtal/io/boards/Board2D.h"
32 
33 using namespace std;
34 
36 // class Board2D
38 
40 // Standard services - public :
41 
46 {
47 }
48 
54 DGtal::Board2D::Board2D( const Color & aBackgroundColor )
55  : LibBoard::Board( aBackgroundColor ),
56  myDomainDrawMode( GRID ),
57  myDrawObjectAdjacencies( false ),
58  myStyles()
59 {
61 }
62 
69  : LibBoard::Board( other ),
70  myDomainDrawMode( other.myDomainDrawMode ),
71  myDrawObjectAdjacencies( other.myDrawObjectAdjacencies ),
72  myStyles( other.myStyles )
73 {
74 }
75 
83 {
84  if ( this != &other )
85  {
87  myDomainDrawMode = other.myDomainDrawMode;
88  myDrawObjectAdjacencies = other.myDrawObjectAdjacencies;
89  myStyles = other.myStyles;
90  }
91  return *this;
92 }
93 
94 
96 // Interface - public :
97 
102 void
103 DGtal::Board2D::selfDisplay ( std::ostream & out ) const
104 {
105  out << "[Board2D]";
106 }
107 
112 bool
114 {
115  return true;
116 }
117 
118 
119 
121 // Internals - private :
122 
123 // //