ExtractControlPoints2D.h
Go to the documentation of this file.00001 #ifndef __ExtractControlPoints2D_h_INCLUDED__
00002 #define __ExtractControlPoints2D_h_INCLUDED__
00003
00004 #include "AutoControlPoints.h"
00005 #include "marTypes.h"
00006
00007 class creaMaracasVisu_EXPORT ExtractControlPoints2D
00008 {
00009 public:
00010 ExtractControlPoints2D ( );
00011 ~ExtractControlPoints2D ( );
00012 void ResetControlPoints ( );
00013 void SetContour ( std::vector<double>*pInX,
00014 std::vector<double>*pInY,
00015 std::vector<double>*pInZ );
00016 void GetControlPoints ( std::vector<double>*pOutX,
00017 std::vector<double>*pOutY,
00018 std::vector<double>*pOutZ );
00019 void GetInitialControlPoints ( std::vector<double>*pOutX,
00020 std::vector<double>*pOutY,
00021 std::vector<double>*pOutZ );
00022
00023 void SetSamplingControlPoints ( double val );
00024 void GetSamplingControlPoints ( std::vector<double>*pOutX,
00025 std::vector<double>*pOutY,
00026 std::vector<double>*pOutZ );
00027 void SetNumberOfSplineInterpolation ( double val);
00028
00029 private:
00030 double _numinterspline;
00031 double _numsampling;
00032 std::vector<double> _InX;
00033 std::vector<double> _InY;
00034 std::vector<double> _InZ;
00035 };
00036
00037 #endif
00038
00039