pFunctionPoint.h

Go to the documentation of this file.
00001 #ifndef __pFunctionPoint_h__
00002 #define __pFunctionPoint_h__
00003 
00004 // ----------------------------------------------------------------------------
00005 // WX headers inclusion.
00006 // For compilers that support precompilation, includes <wx/wx.h>.
00007 // ----------------------------------------------------------------------------
00008 
00009 #include <wx/wxprec.h>
00010 #ifdef __BORLANDC__
00011 #pragma hdrstop
00012 #endif
00013 #ifndef WX_PRECOMP
00014 #include <wx/wx.h>
00015 #endif
00016 
00017 
00018 //----------------------------------------------------------------------------
00019 // Includes
00020 //----------------------------------------------------------------------------
00021 
00022 
00023 //----------------------------------------------------------------------------
00024 // Class definition
00025 //----------------------------------------------------------------------------
00026 
00027 class pFunctionPoint : public wxObject {
00028 
00029         //----------------------------------------------------------------------------
00030         // Methods definition
00031         //----------------------------------------------------------------------------
00032 public:
00038         pFunctionPoint(int  x , int  y ) ;
00039 
00040         /*
00041         * Returns the x-value of the point
00042         * @ realX
00043         */
00044         int getRealX ();
00049         int getRealY ();
00054         void setRealX(int x)
00055         {
00056                 realX=x;
00057         }
00062         void setRealY(int y)
00063         {
00064                 realY=y;
00065         }
00066         /*
00067         * Sets the state of having an asigned color
00068         */
00069         void setHasColor (bool hasColor);
00070         /*
00071         * Indicates if the point has an asigned color for the level 
00072         */
00073         bool getHasColorForLevel();
00074 
00075 
00076         //----------------------------------------------------------------------------
00077         // Attributes declration
00078         //----------------------------------------------------------------------------
00079 
00080 private:
00081         /*
00082         * The x-value of the point
00083         */
00084         int realX;
00085         /*
00086         * The y-value of the point
00087         */          
00088         int realY;
00089         /*
00090         *  Indicates if the point has an asigned color for the level
00091         */
00092         bool hasColorForLevel;
00093 
00094         DECLARE_CLASS (pFunctionPoint)
00095 };
00096 
00097 #endif
00098 
00099 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1