marPoint.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: marPoint.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__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;                //Ray's direction
00047         bool inside;    //Point's location
00048         double intensity;
00049         int type;
00050 
00051 };
00052 
00053 #endif // __MAR__KERNEL__POINT__HXX__
00054 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1