X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FmanualContour%2FmanualBaseModel.h;h=25057a2bf126302ecd3c59d44a0a3ed068c8dd02;hb=ca35b13e046343c8b50cbd6b833828b06c9d1608;hp=7a227bc06026318818000fbbd2f53f88ecbe46c0;hpb=865d74f8d9ea0b80a3bc4de0be2b73d85399c2b5;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.h index 7a227bc..25057a2 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualBaseModel.h @@ -42,7 +42,7 @@ #include #include -#include "wxVTKRenderWindowInteractor.h" +#include "creawxVTKRenderWindowInteractor.h" #include #include "wxVtkBaseView.h" @@ -84,7 +84,7 @@ public: virtual int GetIdPoint(double x, double y, double z, int i_range,int type); virtual manualPoint* GetManualPoint(int id); virtual int GetSizeLstPoints(); - virtual double GetPathSize(); + virtual double GetPathSize(double *spc); virtual void Transform_Ax_Plus_B (double Ax, double Bx, double Ay, double By); virtual void GetSpline_i_Point(int i, double *x, double *y, double *z); virtual void GetSpline_t_Point(double t, double *x, double *y, double *z); @@ -101,7 +101,7 @@ public: // @return std::vector // virtual std::vector ExploseModel( ); - virtual double GetPathArea(); + virtual double GetPathArea(double *spc); virtual void GetNearestPointAndNormal(double *p, double *rp, double *rn); virtual void SetCloseContour(bool closeContour); @@ -124,7 +124,10 @@ public: * Assigns the parameter value to the label * @param newLabel New label of the contour */ - virtual void SetLabel(std::string newLabel); + void SetLabel(std::string newLabel); + std::string GetLabel(); + void SetLabel2(std::string newLabel); + std::string GetLabel2(); /* * Assigns the parameter value to the real size @@ -132,10 +135,6 @@ public: */ virtual void SetRealSize(double newRealSize); - /** - * Returns the label of the contour - */ - virtual std::string GetLabel(); /** * Returns the real size in milimeters of the contour @@ -158,6 +157,12 @@ protected: int _sizePointsContour; std::vector _lstPoints; + /** + * Represents the label associated with the contour + */ + std::string _label; + std::string _label2; + };