X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FCurveDiscret.h;fp=WCudaMSE%2FAPI_Bilat_Graph2D%2FINC%2Fmodel%2FCurveDiscret.h;h=3ad9bc37fd20118deb7e8d0789b77ce4546fba64;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/CurveDiscret.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/CurveDiscret.h new file mode 100755 index 0000000..3ad9bc3 --- /dev/null +++ b/WCudaMSE/API_Bilat_Graph2D/INC/model/CurveDiscret.h @@ -0,0 +1,33 @@ +#ifndef CURVEDISCRET_H_ +#define CURVEDISCRET_H_ + +#include "Polylines.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class CBI_GRAPH CurveDiscret : public Polylines + { + public: + + CurveDiscret(Title title, Apparance apparance, shared_array tabValues, int nbPoints); + + virtual ~CurveDiscret(); + + void setTabValues(shared_array tabValues); + + private : + + static shared_array toTabPoint(shared_array tabValues, int nbPoints); + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/