]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/kernel/marPoint.h
BUG macOs
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / marPoint.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: marPoint.h,v $
5   Language:  C++
6   Date:      $Date: 2008/10/31 16:32:56 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
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.
15
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__POINT__HXX__
18 #define __MAR__KERNEL__POINT__HXX__
19
20
21 #include "marTypes.h"
22
23 class MAR_KERNEL_EXPORT marPoint  
24 {
25 public:
26         marPoint(double x, double y);
27         ~marPoint();
28         double getX();
29         double getY();
30         void setPoint(double x, double y);
31         void setGradient(double g);
32         double getGradient();
33         int getDirection();
34         bool getInside();
35         void setDirection(int direction);
36         void setInside (bool ins);
37         void setIntensity(double intensity);
38         double getIntensity();
39         void setType(int type);
40         int getType();
41
42 private:
43         double x;
44         double y;
45         double gradient;
46         int dir;                //Ray's direction
47         bool inside;    //Point's location
48         double intensity;
49         int type;
50
51 };
52
53 #endif // __MAR__KERNEL__POINT__HXX__
54