Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / model / GridApparance.h
diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/GridApparance.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/GridApparance.h
new file mode 100755 (executable)
index 0000000..569f130
--- /dev/null
@@ -0,0 +1,47 @@
+#ifndef GRIDAPPARANCE_H_\r
+#define GRIDAPPARANCE_H_\r
+#include "envGraph.h"\r
+#include "Color.h"\r
+\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class CBI_GRAPH GridApparance\r
+    {\r
+    public:\r
+       GridApparance(int nbrsLinesX=0,int nbrsLinesY=0,Color lineColor=Color::GRAY);\r
+\r
+       void setColor(Color lineColor);\r
+       void setNbLinesX(int nbLinesX);\r
+       void setNbLinesY(int nbLinesY);\r
+       void setGrid(int nbLinesX,int nbLinesY);\r
+\r
+       inline Color getColor() const {\r
+           return lineColor;\r
+       }\r
+\r
+       inline int getNbLinesX() const {\r
+           return nbrLinesX;\r
+       }\r
+\r
+       inline int getNbLinesY() const {\r
+           return nbrLinesY;\r
+       }\r
+\r
+    private :\r
+       Color lineColor;\r
+       int nbrLinesX;\r
+       int nbrLinesY;\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r