marPoint.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__POINT__HXX__
00018 #define __MAR__KERNEL__POINT__HXX__
00019
00020
00021 #include "marTypes.h"
00022
00023 class MAR_KERNEL_EXPORT marPoint
00024 {
00025 public:
00026 marPoint(double x, double y);
00027 ~marPoint();
00028 double getX();
00029 double getY();
00030 void setPoint(double x, double y);
00031 void setGradient(double g);
00032 double getGradient();
00033 int getDirection();
00034 bool getInside();
00035 void setDirection(int direction);
00036 void setInside (bool ins);
00037 void setIntensity(double intensity);
00038 double getIntensity();
00039 void setType(int type);
00040 int getType();
00041
00042 private:
00043 double x;
00044 double y;
00045 double gradient;
00046 int dir;
00047 bool inside;
00048 double intensity;
00049 int type;
00050
00051 };
00052
00053 #endif // __MAR__KERNEL__POINT__HXX__
00054