1 /*=========================================================================
4 Module: $RCSfile: marPoint.h,v $
6 Date: $Date: 2008/10/31 16:32:56 $
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__POINT__HXX__
18 #define __MAR__KERNEL__POINT__HXX__
23 class MAR_KERNEL_EXPORT marPoint
26 marPoint(double x, double y);
30 void setPoint(double x, double y);
31 void setGradient(double g);
35 void setDirection(int direction);
36 void setInside (bool ins);
37 void setIntensity(double intensity);
38 double getIntensity();
39 void setType(int type);
46 int dir; //Ray's direction
47 bool inside; //Point's location
53 #endif // __MAR__KERNEL__POINT__HXX__