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