X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FLineH.h;fp=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FLineH.h;h=aa6956f2a2811376ad52731565483d12968b91a5;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/LineH.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/LineH.h new file mode 100755 index 0000000..aa6956f --- /dev/null +++ b/WCudaMSE/API_Bilat_Graph2D/INC/model/LineH.h @@ -0,0 +1,29 @@ +#ifndef LINEH_H_ +#define LINEH_H_ +#include "Segment.h" +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_GRAPH LineH : public Segment + { + public: + /** + * Create a Horiztonal segment from coordinates A=(x1, y), B=(x2, y) + */ + LineH(Title title, Apparance apparance, float y,float x1,float x2); + virtual ~LineH(); + + void setY(float y); + void setX(float x1,float x2); + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/