This is the (qwt) plot item for a histogram.
More...
#include <HistogramItem.h>
Inherits QObject, and QwtPlotItem.
|
virtual void | drawBar (QPainter *, Qt::Orientation o, const QRect &) const |
| This method draws the bars of the bar graph.
|
|
This is the (qwt) plot item for a histogram.
This draws bars for each of the histogram bins.
- Author
- ????-??-?? Unknown
Isis::HistogramItem::HistogramItem |
( |
const QString & |
title = QString::null | ) |
|
|
explicit |
Constructor 2.
- Parameters
-
Isis::HistogramItem::HistogramItem |
( |
const QwtText & |
title | ) |
|
|
explicit |
Constructor 1.
- Parameters
-
Isis::HistogramItem::~HistogramItem |
( |
| ) |
|
|
virtual |
double Isis::HistogramItem::baseline |
( |
| ) |
const |
Returns the baseline.
- Returns
- double
Referenced by draw().
QRectF Isis::HistogramItem::boundingRect |
( |
| ) |
const |
|
virtual |
Returns the bounding rectangle of the item.
- Returns
- QwtDoubleRect
References Xfy.
QColor Isis::HistogramItem::color |
( |
| ) |
const |
const QwtIntervalSeriesData & Isis::HistogramItem::data |
( |
| ) |
const |
Returns this item's data.
- Returns
Referenced by draw().
void Isis::HistogramItem::draw |
( |
QPainter * |
painter, |
|
|
const QwtScaleMap & |
xMap, |
|
|
const QwtScaleMap & |
yMap, |
|
|
const QRectF & |
|
|
) |
| const |
|
virtual |
void Isis::HistogramItem::drawBar |
( |
QPainter * |
painter, |
|
|
Qt::Orientation |
o, |
|
|
const QRect & |
rect |
|
) |
| const |
|
protectedvirtual |
This method draws the bars of the bar graph.
- Parameters
-
References color().
Referenced by draw().
QList< QPointF > Isis::HistogramItem::getVertices |
( |
| ) |
const |
This method returns a list of points which are the vertices of the selected area (by the rubberband) on the cvp.
- Returns
- QList<QPoint>
This method returns the cube view port associated with the curve.
- Returns
- CubeViewport*
Referenced by setVertices().
int Isis::HistogramItem::rtti |
( |
| ) |
const |
|
virtual |
void Isis::HistogramItem::setBaseline |
( |
double |
reference | ) |
|
void Isis::HistogramItem::setColor |
( |
const QColor & |
color | ) |
|
void Isis::HistogramItem::setData |
( |
const QwtIntervalSeriesData & |
data | ) |
|
void Isis::HistogramItem::setHistogramAttribute |
( |
HistogramAttribute |
attribute, |
|
|
bool |
on = true |
|
) |
| |
void Isis::HistogramItem::setVertices |
( |
const QList< QPoint > & |
points | ) |
|
This method sets the view port.
- Parameters
-
The documentation for this class was generated from the following files: