]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModelBullEyeSector.h
DFCH: imageUndoRedo + Manual Paint: It doesn't works :s :s
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourModelBullEyeSector.h
1 #ifndef manualContourModelBullEyeSector_h
2 #define manualContourModelBullEyeSector_h
3
4 #include "manualContourModel.h"
5
6
7 //--------------------------------------------------------
8
9 class manualContourModelBullEyeSector : public manualContourModel
10 {
11 public:
12         manualContourModelBullEyeSector();
13         virtual ~manualContourModelBullEyeSector();
14         virtual manualContourModelBullEyeSector *Clone();
15         void    CopyAttributesTo( manualContourModelBullEyeSector *cloneObject);
16         void    SetSector(      double radioA,
17                                                 double radioB,
18                                                 double ang,
19                                                 double angDelta);
20         void GetSector(         double *radioA,
21                                                 double *radioB,
22                                                 double *ang,
23                                                 double *angDelta);
24         void SetSize(double ww,double hh);
25         void SetCenter(double cx,double cy);
26         virtual void GetSpline_i_Point(int i, double *x, double *y, double *z);
27         virtual void Save(FILE *ff);
28         virtual void Open(FILE *ff);
29
30 private:
31         double          _radioA;
32         double          _radioB;
33         double          _ang;
34         double          _angDelta;
35         double          _ww;
36         double          _hh;
37         double          _cx;
38         double          _cy;
39
40         virtual int             GetTypeModel();  
41 };
42
43
44 #endif // manualContourModelBullEyeSector_h