#include <Plot2d_Histogram.h>
|
| Plot2d_Histogram () |
|
| Plot2d_Histogram (const Plot2d_Histogram &) |
|
virtual | ~Plot2d_Histogram () |
|
Plot2d_Histogram & | operator= (const Plot2d_Histogram &) |
|
virtual int | rtti () |
|
virtual QwtPlotItem * | createPlotItem () |
|
virtual void | autoFill (const QwtPlot *) |
|
virtual void | updatePlotItem (QwtPlotItem *) |
|
void | setData (const QList< double > &, const QList< double > &) |
|
QwtIntervalSeriesData | getData () const |
|
void | setColor (const QColor &) |
|
QColor | getColor () const |
|
void | setWidth (const double) |
|
double | getWidth (const bool) const |
|
| Plot2d_Object () |
|
| Plot2d_Object (const Plot2d_Object &) |
|
virtual | ~Plot2d_Object () |
|
Plot2d_Object & | operator= (const Plot2d_Object &) |
|
virtual QString | getTableTitle () const |
|
void | setHorTitle (const QString &) |
|
QString | getHorTitle () const |
|
void | setVerTitle (const QString &) |
|
QString | getVerTitle () const |
|
void | setHorUnits (const QString &) |
|
QString | getHorUnits () const |
|
void | setVerUnits (const QString &) |
|
QString | getVerUnits () const |
|
void | setName (const QString &) |
|
QString | getName () const |
|
void | setScale (double) |
|
double | getScale () const |
|
void | addPoint (double, double, const QString &=QString()) |
|
void | addPoint (const Plot2d_Point &) |
|
void | insertPoint (int, double, double, const QString &=QString()) |
|
void | insertPoint (int, const Plot2d_Point &) |
|
void | deletePoint (int) |
|
void | clearAllPoints () |
|
pointList | getPointList () const |
|
void | setPointList (const pointList &points) |
|
Plot2d_Point & | getPoint (int index) |
|
void | setData (const double *, const double *, long, const QStringList &=QStringList()) |
|
double * | horData () const |
|
double * | verData () const |
|
long | getData (double **, double **) const |
|
void | setText (const int, const QString &) |
|
QString | text (const int) const |
|
int | nbPoints () const |
|
bool | isEmpty () const |
|
void | setAutoAssign (bool) |
|
bool | isAutoAssign () const |
|
void | setXAxis (QwtPlot::Axis) |
|
QwtPlot::Axis | getXAxis () const |
|
void | setYAxis (QwtPlot::Axis) |
|
QwtPlot::Axis | getYAxis () const |
|
virtual double | getMinX () const |
|
virtual double | getMaxX () const |
|
virtual double | getMinY () const |
|
virtual double | getMaxY () const |
|
void | setSelected (const bool) |
|
bool | isSelected () const |
|
◆ Plot2d_Histogram() [1/2]
Plot2d_Histogram::Plot2d_Histogram |
( |
| ) |
|
◆ Plot2d_Histogram() [2/2]
◆ ~Plot2d_Histogram()
Plot2d_Histogram::~Plot2d_Histogram |
( |
| ) |
|
|
virtual |
◆ autoFill()
void Plot2d_Histogram::autoFill |
( |
const QwtPlot * |
thePlot | ) |
|
|
virtual |
◆ createPlotItem()
◆ existColor()
bool Plot2d_Histogram::existColor |
( |
const QwtPlot * |
thePlot, |
|
|
const QColor & |
theColor |
|
) |
| |
|
protected |
◆ getColor()
QColor Plot2d_Histogram::getColor |
( |
| ) |
const |
Returns color of histogram
References myColor.
◆ getData()
QwtIntervalSeriesData Plot2d_Histogram::getData |
( |
| ) |
const |
◆ getMinInterval()
double Plot2d_Histogram::getMinInterval |
( |
const QList< double > & |
theVals | ) |
|
|
static |
Return min interval from values
◆ getNextColor()
QColor Plot2d_Histogram::getNextColor |
( |
const QwtPlot * |
thePlot | ) |
|
|
protected |
◆ getWidth()
double Plot2d_Histogram::getWidth |
( |
const bool |
isDef | ) |
const |
Returns custom or automatic width for a histogram bar
References myDefWidth, and myWidth.
◆ operator=()
◆ rtti()
int Plot2d_Histogram::rtti |
( |
| ) |
|
|
virtual |
Get typeid for the plot2d histogram class
Implements Plot2d_Object.
◆ setColor()
void Plot2d_Histogram::setColor |
( |
const QColor & |
theColor | ) |
|
◆ setData()
void Plot2d_Histogram::setData |
( |
const QList< double > & |
theXVals, |
|
|
const QList< double > & |
theYVals |
|
) |
| |
◆ setWidth()
void Plot2d_Histogram::setWidth |
( |
const double |
theWidth | ) |
|
Sets custom width of a histogram bar
References myWidth.
◆ updatePlotItem()
void Plot2d_Histogram::updatePlotItem |
( |
QwtPlotItem * |
theItem | ) |
|
|
virtual |
◆ myColor
QColor Plot2d_Histogram::myColor |
|
private |
◆ myDefWidth
double Plot2d_Histogram::myDefWidth |
|
private |
◆ myWidth
double Plot2d_Histogram::myWidth |
|
private |
The documentation for this class was generated from the following files: