X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FLine2Ds.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcommon%2FLine2Ds.h;h=a6b7dacd4d5a1797fc9287bb416933383725ad1c;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/common/Line2Ds.h b/WCudaMSE/API_Bilat_Image_GL/INC/common/Line2Ds.h new file mode 100755 index 0000000..a6b7dac --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/common/Line2Ds.h @@ -0,0 +1,60 @@ +#ifndef LINE_2DS_H +#define LINE_2DS_H + +#include "Primitives_A.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class Line2Ds: public Primitives_A + { + public: + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + Line2Ds(int x1, int y1, int x2, int y2); + + Line2Ds(const Line2Ds& source); + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + + virtual ~Line2Ds(); + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + public: + + /** + * Overide + */ + virtual void accept(PrimitiveVisitors_I &visitor); + + /*--------------------------------------*\ + |* Attributs *| + \*-------------------------------------*/ + + public: + + //Input + int x1; + int y1; + int x2; + int y2; + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/ +