marIsocontour.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __MAR__KERNEL__ISOCONTOUR__HXX__
00018 #define __MAR__KERNEL__ISOCONTOUR__HXX__
00019
00020 #include "marPoint.h"
00021 #include <vector>
00022
00023 class MAR_KERNEL_EXPORT marIsocontour
00024 {
00025 public:
00026 marIsocontour();
00027 marIsocontour(double intmax);
00028 virtual ~marIsocontour();
00029
00030 void getCG(double *x, double *y);
00031 void insertPoint(double x, double y);
00032 void getPoint(int i, double *x, double *y);
00033 void setPoint(int i, double x, double y);
00034 int getSize();
00035 double getMaxIntensity();
00036 void setMaxIntensity(double intmax);
00037 int getType();
00038 void setType(int type);
00039 int getDir(int i);
00040 void setDir(int i, int direction);
00041 void setInside(int i, bool ins);
00042 bool getInside(int i);
00043 void removeLastPoint();
00044
00045
00046 private:
00047 std::vector<marPoint *> listContour;
00048 double intmax;
00049 int type;
00050 };
00051
00052 #endif // __MAR__KERNEL__ISOCONTOUR__HXX__