![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Interface for a function which is drawable in a chart. More...
#include <iAPlot.h>
Public Member Functions | |
| virtual QSharedPointer< iAPlotData > | data () |
| Retrieves the data used for drawing. More... | |
| virtual void | draw (QPainter &painter, double binWidth, size_t startBin, size_t endBin, iAMapper const &xMapper, iAMapper const &yMapper) const =0 |
| Draws the plot. More... | |
| iAPlot (QSharedPointer< iAPlotData > data, QColor const &color) | |
| virtual void | setVisible (bool visible) |
| Sets whether the plot should be currently drawn or not. More... | |
| virtual bool | visible () const |
| Whether the plot is currently being drawn. More... | |
| virtual | ~iAPlot () |
Public Member Functions inherited from iAColorable | |
| const QColor | getColor () const |
| iAColorable () | |
| iAColorable (QColor const &color) | |
| virtual void | setColor (QColor const &color) |
| virtual | ~iAColorable () |
Protected Attributes | |
| QSharedPointer< iAPlotData > | m_data |
| bool | m_visible |
Additional Inherited Members | |
Static Public Attributes inherited from iAColorable | |
| static const QColor | DefaultColor |
Interface for a function which is drawable in a chart.
Encapsulates both the data of the function and the drawing method
| iAPlot::iAPlot | ( | QSharedPointer< iAPlotData > | data, |
| QColor const & | color | ||
| ) |
|
virtual |
|
virtual |
Retrieves the data used for drawing.
Reimplemented in iAPlotCollection.
|
pure virtual |
Draws the plot.
Implemented in iAPlotCollection, iABarGraphPlot, and iASelectedBinPlot.
|
virtual |
Sets whether the plot should be currently drawn or not.
|
virtual |
Whether the plot is currently being drawn.
|
protected |
|
protected |
1.8.16