Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / model / LineH.h
diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/LineH.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/LineH.h
new file mode 100755 (executable)
index 0000000..aa6956f
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef LINEH_H_\r
+#define LINEH_H_\r
+#include "Segment.h"\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class CBI_GRAPH LineH : public Segment\r
+    {\r
+    public:\r
+       /**\r
+        * Create a Horiztonal segment from coordinates A=(x1, y), B=(x2, y)\r
+        */\r
+       LineH(Title title, Apparance apparance, float y,float x1,float x2);\r
+       virtual ~LineH();\r
+\r
+       void setY(float y);\r
+       void setX(float x1,float x2);\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r