marIsocontour.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: marIsocontour.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:55:08 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notice for more information.
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__

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1