Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

QwtPlotMappedItem Class Reference

Base class for items on the plot canvas, that are attached to x and y axes. More...

#include <qwt_plot_item.h>

Inheritance diagram for QwtPlotMappedItem:

QwtPlotItem QwtPlotCurve QwtPlotGrid QwtPlotMarker List of all members.

Public Member Functions

 QwtPlotMappedItem (QwtPlot *parent, bool nbl=TRUE)
void setAxis (int xAxis, int yAxis)
void setXAxis (int axis)
int xAxis () const
void setYAxis (int axis)
int yAxis () const

Private Attributes

int d_xAxis
int d_yAxis

Detailed Description

Base class for items on the plot canvas, that are attached to x and y axes.

Definition at line 50 of file qwt_plot_item.h.


Constructor & Destructor Documentation

QwtPlotMappedItem::QwtPlotMappedItem QwtPlot parent,
bool  nbl = TRUE
 

Constructor.

Definition at line 62 of file qwt_plot_item.cpp.

References d_xAxis, and d_yAxis.


Member Function Documentation

void QwtPlotMappedItem::setAxis int  xAxis,
int  yAxis
 

Set x and y axis.

Definition at line 70 of file qwt_plot_item.cpp.

References d_xAxis, d_yAxis, and QwtPlotItem::itemChanged().

Referenced by QwtPlot::initPlot(), QwtPlot::insertCurve(), QwtPlot::insertLineMarker(), and QwtPlot::insertMarker().

void QwtPlotMappedItem::setXAxis int  axis  ) 
 

Set y axis.

Definition at line 82 of file qwt_plot_item.cpp.

References d_xAxis, and QwtPlotItem::itemChanged().

Referenced by QwtPlot::setCurveXAxis(), QwtPlot::setGridXAxis(), and QwtPlot::setMarkerXAxis().

void QwtPlotMappedItem::setYAxis int  axis  ) 
 

Set y axis.

Definition at line 92 of file qwt_plot_item.cpp.

References d_yAxis, and QwtPlotItem::itemChanged().

Referenced by QwtPlot::setCurveYAxis(), QwtPlot::setGridYAxis(), and QwtPlot::setMarkerYAxis().

int QwtPlotMappedItem::xAxis  )  const
 

Returns:
xAxis

Definition at line 102 of file qwt_plot_item.cpp.

References d_xAxis.

Referenced by QwtPlot::closestCurve(), QwtPlot::closestMarker(), QwtPlot::curveXAxis(), QwtPlot::drawCanvasItems(), QwtPlot::drawCurve(), QwtPlot::gridXAxis(), QwtPlot::markerXAxis(), and QwtPlot::updateAxes().

int QwtPlotMappedItem::yAxis  )  const
 

Returns:
xAxis

Definition at line 108 of file qwt_plot_item.cpp.

References d_yAxis.

Referenced by QwtPlot::closestCurve(), QwtPlot::closestMarker(), QwtPlot::curveYAxis(), QwtPlot::drawCanvasItems(), QwtPlot::drawCurve(), QwtPlot::gridYAxis(), QwtPlot::markerYAxis(), and QwtPlot::updateAxes().


Member Data Documentation

int QwtPlotMappedItem::d_xAxis [private]
 

Definition at line 64 of file qwt_plot_item.h.

Referenced by QwtPlotMappedItem(), setAxis(), setXAxis(), and xAxis().

int QwtPlotMappedItem::d_yAxis [private]
 

Definition at line 65 of file qwt_plot_item.h.

Referenced by QwtPlotMappedItem(), setAxis(), setYAxis(), and yAxis().


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 14:11:49 2003 for Qwt Developer's Guide by doxygen 1.3.2