pFunctionPoint Class Reference

#include <pFunctionPoint.h>

List of all members.

Public Member Functions

 pFunctionPoint (int x, int y)
int getRealX ()
int getRealY ()
void setRealX (int x)
void setRealY (int y)
void setHasColor (bool hasColor)
bool getHasColorForLevel ()

Private Attributes

int realX
int realY
bool hasColorForLevel


Detailed Description

Definition at line 27 of file pFunctionPoint.h.


Constructor & Destructor Documentation

pFunctionPoint::pFunctionPoint ( int  x,
int  y 
)

Create a point of the function.

Parameters:
x The x value
y The y value

Definition at line 29 of file pFunctionPoint.cxx.

00030 {
00031         realX = x;
00032         realY = y;
00033         hasColorForLevel = false;
00034 }


Member Function Documentation

int pFunctionPoint::getRealX (  ) 

Definition at line 42 of file pFunctionPoint.cxx.

References realX.

Referenced by pLogicalFunction::AddPoint(), pGraphicalFunction::addSplinesPoints(), pLogicalFunction::changePoint(), pLogicalFunction::DeletePoint(), pPlotterLayer::drawFunction(), pPlotterLayer::drawLineToMousePoint(), pGraphicalFunction::getBefore(), pLogicalFunction::getIndexOf(), pGraphicalFunction::GetNextXY(), HistogramWidget::getTransferenceFunctionPoint(), pGraphicalFunction::isInLine(), pPlotterWindow::onMouseMove(), pLogicalFunction::orderPoints(), pLogicalFunction::save(), pLogicalFunction::setEndPoints(), pLogicalFunction::setMaxPoints(), pLogicalFunction::setMinPoints(), pGraphicalFunction::setMinShowed(), pLogicalFunction::setStartPoints(), pLogicalFunction::validPointOnFunction(), and pGraphicalFunction::zooming().

00043 {
00044         return realX;
00045 }

Here is the caller graph for this function:

int pFunctionPoint::getRealY (  ) 

Returns the y-value of the point @ realY

Returns the x-value of the point @ realY

Definition at line 50 of file pFunctionPoint.cxx.

References realY.

Referenced by pGraphicalFunction::addSplinesPoints(), pLogicalFunction::DeletePoint(), pPlotterLayer::drawFunction(), pPlotterLayer::drawLineToMousePoint(), pLogicalFunction::getIndexOf(), pGraphicalFunction::GetNextXY(), HistogramWidget::getTransferenceFunctionPoint(), pGraphicalFunction::isInLine(), pLogicalFunction::orderPoints(), pLogicalFunction::save(), pLogicalFunction::setEndPoints(), pLogicalFunction::setMaxPoints(), pLogicalFunction::setMinPoints(), pGraphicalFunction::setMinShowed(), pLogicalFunction::setStartPoints(), pLogicalFunction::validPointOnFunction(), and pGraphicalFunction::zooming().

00051 {
00052         return realY;
00053 }

Here is the caller graph for this function:

void pFunctionPoint::setRealX ( int  x  )  [inline]

Sets the x-value of the point

Parameters:
x 

Definition at line 54 of file pFunctionPoint.h.

References realX.

Referenced by pPlotterWindow::onMouseMove().

00055         {
00056                 realX=x;
00057         }

Here is the caller graph for this function:

void pFunctionPoint::setRealY ( int  y  )  [inline]

Sets the y-value of the point

Parameters:
y 

Definition at line 62 of file pFunctionPoint.h.

References realY.

00063         {
00064                 realY=y;
00065         }

void pFunctionPoint::setHasColor ( bool  hasColor  ) 

Definition at line 57 of file pFunctionPoint.cxx.

References hasColorForLevel.

00058 {
00059         hasColorForLevel = hasColor;
00060 }

bool pFunctionPoint::getHasColorForLevel (  ) 

Definition at line 64 of file pFunctionPoint.cxx.

References hasColorForLevel.

00065 {
00066         return hasColorForLevel;
00067 }


Member Data Documentation

int pFunctionPoint::realX [private]

Definition at line 84 of file pFunctionPoint.h.

Referenced by getRealX(), and setRealX().

int pFunctionPoint::realY [private]

Definition at line 88 of file pFunctionPoint.h.

Referenced by getRealY(), and setRealY().

bool pFunctionPoint::hasColorForLevel [private]

Definition at line 92 of file pFunctionPoint.h.

Referenced by getHasColorForLevel(), and setHasColor().


The documentation for this class was generated from the following files:
Generated on Wed Jul 29 16:36:05 2009 for creaMaracasVisu_lib by  doxygen 1.5.3