]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/Contour/ExtractControlPoints2D.h
392de942876ac609b9118fa3869f03b1a52391b6
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / Contour / ExtractControlPoints2D.h
1 #ifndef __ExtractControlPoints2D_h_INCLUDED__
2 #define __ExtractControlPoints2D_h_INCLUDED__
3
4 #include "AutoControlPoints.h"
5 #include "marTypes.h"
6
7 class creaMaracasVisu_EXPORT ExtractControlPoints2D
8 {
9         public:
10                         ExtractControlPoints2D  ( );
11                         ~ExtractControlPoints2D ( );
12                         void ResetControlPoints ( );
13                         void SetContour                                 ( std::vector<double>*pInX,
14                                                                                           std::vector<double>*pInY,
15                                                                                           std::vector<double>*pInZ );
16                         void GetControlPoints                   ( std::vector<double>*pOutX,
17                                                                                           std::vector<double>*pOutY,
18                                                                                           std::vector<double>*pOutZ );
19                         void GetInitialControlPoints    ( std::vector<double>*pOutX,
20                                                                                           std::vector<double>*pOutY,
21                                                                                           std::vector<double>*pOutZ );
22                         
23                         void SetSamplingControlPoints           ( double val );
24                         void GetSamplingControlPoints           ( std::vector<double>*pOutX,
25                                                                                                   std::vector<double>*pOutY,
26                                                                                                   std::vector<double>*pOutZ );
27                         void SetNumberOfSplineInterpolation ( double val);
28         
29         private:
30                         double _numinterspline;
31                         double _numsampling;
32                         std::vector<double> _InX;
33                         std::vector<double> _InY;
34                         std::vector<double> _InZ;
35 };
36
37 #endif
38  
39