]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModelBullEye.h
BUG view MPR
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourModelBullEye.h
1 #ifndef manualContourModelBullEye_h
2 #define manualContourModelBullEye_h
3
4 #include "manualContourModel.h"
5 #include "manualContourModelBullEyeSector.h"
6
7 //--------------------------------------------------------
8 //eed004
9 class creaMaracasVisu_EXPORT manualContourModelBullEye : public manualContourModel
10 {
11 public:
12         manualContourModelBullEye();
13         virtual ~manualContourModelBullEye();
14         virtual manualContourModelBullEye *Clone();
15         void    CopyAttributesTo( manualContourModelBullEye *cloneObject);
16         virtual void Save(FILE *ff);
17         virtual void Open(FILE *ff);
18
19         int             GetNumberOfPointsSplineSectorBulleEje();
20         void    SetNumberOfPointsSplineSectorBulleEje(int);
21         void    AddSector(      double radioA,
22                                                 double radioB,
23                                                 double ang,
24                                                 double angDelta);
25         void GetSector(         int id, 
26                                                 double *radioA,
27                                                 double *radioB,
28                                                 double *ang,
29                                                 double *angDelta);
30         manualContourModelBullEyeSector * GetModelSector(int id);
31
32         void    ResetSectors();
33         int             GetSizeOfSectorLst();
34         virtual void UpdateSpline(); // virtual
35         virtual std::vector<manualContourModel*> ExploseModel(  );
36
37
38
39 private:
40         int                                                                                        _numberPointsSlineBySector;
41         std::vector<manualContourModelBullEyeSector *> _lstModelBullEyeSector;
42
43 /* Borrame Eduardo
44         std::vector<double>             _lstRadioA;
45         std::vector<double>             _lstRadioB;
46         std::vector<double>             _lstAng;
47         std::vector<double>             _lstAngDelta;
48 */
49
50         virtual int             GetTypeModel();  
51 };
52
53 #endif // manualContourModelBullEye_h