1 /*=========================================================================
4 Module: $RCSfile: marIsocontour.h,v $
6 Date: $Date: 2009/05/14 13:55:08 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__ISOCONTOUR__HXX__
18 #define __MAR__KERNEL__ISOCONTOUR__HXX__
23 class MAR_KERNEL_EXPORT marIsocontour
27 marIsocontour(double intmax);
28 virtual ~marIsocontour();
30 void getCG(double *x, double *y);
31 void insertPoint(double x, double y);
32 void getPoint(int i, double *x, double *y);
33 void setPoint(int i, double x, double y);
35 double getMaxIntensity();
36 void setMaxIntensity(double intmax);
38 void setType(int type);
40 void setDir(int i, int direction);
41 void setInside(int i, bool ins);
42 bool getInside(int i);
43 void removeLastPoint();
47 std::vector<marPoint *> listContour;
52 #endif // __MAR__KERNEL__ISOCONTOUR__HXX__