Isis::HistogramItem Class Reference
#include <HistogramItem.h>
Inherits QObject, and QwtPlotItem.
List of all members.
Public Types |
enum | HistogramAttribute { Auto = 0,
Xfy = 1
} |
Public Member Functions |
| HistogramItem (const QString &title=QString::null) |
| Constructor 2.
|
| HistogramItem (const QwtText &title) |
| Constructor 1.
|
virtual | ~HistogramItem () |
| Destructor.
|
void | setData (const QwtIntervalData &data) |
| Overridden method to set the data in the histogram.
|
const QwtIntervalData & | data () const |
| Returns this item's data.
|
QList< QPointF > | getVertices () const |
| This method returns a list of points which are the vertices of the selected area (by the rubberband) on the cvp.
|
void | setVertices (const QList< QPoint > &points) |
| This method sets the vertices of the selected area on the cvp.
|
CubeViewport * | getViewPort () const |
| This method returns the cube view port associated with the curve.
|
void | setViewPort (CubeViewport *cvp) |
| This method sets the view port.
|
void | setColor (const QColor &) |
| Set the color of the hist.
|
QColor | color () const |
| Return the color of the item.
|
virtual QwtDoubleRect | boundingRect () const |
| Returns the bounding rectangle of the item.
|
virtual int | rtti () const |
virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const |
void | setBaseline (double reference) |
double | baseline () const |
| Returns the baseline.
|
void | setHistogramAttribute (HistogramAttribute, bool on=true) |
bool | testHistogramAttribute (HistogramAttribute) const |
Protected Member Functions |
virtual void | drawBar (QPainter *, Qt::Orientation o, const QRect &) const |
| This method draws the bars of the bar graph.
|
Detailed Description
- Author:
- ????-??-?? Unknown
Member Enumeration Documentation
Constructor & Destructor Documentation
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] |
Member Function Documentation
double Isis::HistogramItem::baseline |
( |
|
) |
const |
Returns the baseline.
- Returns:
- double
QwtDoubleRect Isis::HistogramItem::boundingRect |
( |
|
) |
const [virtual] |
Returns the bounding rectangle of the item.
- Returns:
- QwtDoubleRect
QColor Isis::HistogramItem::color |
( |
|
) |
const |
Return the color of the item.
- Returns:
- QColor
const QwtIntervalData & Isis::HistogramItem::data |
( |
|
) |
const |
Returns this item's data.
- Returns:
- const QwtIntervalData&
void Isis::HistogramItem::draw |
( |
QPainter * |
painter, |
|
|
const QwtScaleMap & |
xMap, |
|
|
const QwtScaleMap & |
yMap, |
|
|
const QRect & |
| |
|
) |
| | const [virtual] |
void Isis::HistogramItem::drawBar |
( |
QPainter * |
painter, |
|
|
Qt::Orientation |
o, |
|
|
const QRect & |
rect | |
|
) |
| | const [protected, virtual] |
This method draws the bars of the bar graph.
- Parameters:
-
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*
int Isis::HistogramItem::rtti |
( |
|
) |
const [virtual] |
void Isis::HistogramItem::setBaseline |
( |
double |
reference |
) |
|
void Isis::HistogramItem::setColor |
( |
const QColor & |
color |
) |
|
void Isis::HistogramItem::setData |
( |
const QwtIntervalData & |
data |
) |
|
void Isis::HistogramItem::setHistogramAttribute |
( |
HistogramAttribute |
attribute, |
|
|
bool |
on = true | |
|
) |
| | |
void Isis::HistogramItem::setVertices |
( |
const QList< QPoint > & |
points |
) |
|
This method sets the vertices of the selected area on the cvp.
- Parameters:
-
void Isis::HistogramItem::setViewPort |
( |
CubeViewport * |
cvp |
) |
|
This method sets the view port.
- Parameters:
-
The documentation for this class was generated from the following files: