|
open_iA 2024.7
|
Class representing a transfer function in a histogram chart. More...
#include <iAChartFunctionTransfer.h>
Signals | |
| void | changed () |
Public Member Functions | |
| iAChartTransferFunction (iAChartWithFunctionsWidget *histogram, QColor color) | |
| void | addColorPoint (int x, double red=-1.0, double green=-1.0, double blue=-1.0) override |
| int | addPoint (int mouseX, int mouseY) override |
| void | changeColor () override |
| void | draw (QPainter &painter) override |
| void | draw (QPainter &painter, QColor color, int lineWidth) override |
| void | drawOnTop (QPainter &painter) override |
| void | enableRangeSliderHandles (bool rangeSliderHandles) |
| int | getSelectedPoint () const override |
| bool | isColored () const override |
| bool | isDeletable (int index) const override |
| bool | isEndPoint (int index) const override |
| void | mouseReleaseEventAfterNewPoint (QMouseEvent *event) override |
| void | moveSelectedPoint (int mouseX, int mouseY) override |
| virtual QString | name () const override |
| size_t | numPoints () const override |
| void | removePoint (int index) override |
| void | reset () override |
| int | selectPoint (int mouseX, int mouseY) override |
| void | setTF (iATransferFunction *tf) |
| iATransferFunction * | tf () |
| void | triggerOnChange () |
Public Member Functions inherited from iAChartFunction | |
| iAChartFunction (iAChartWithFunctionsWidget *chart) | |
| virtual void | mouseReleaseEvent (QMouseEvent *) |
Additional Inherited Members | |
Static Public Member Functions inherited from iAChartFunction | |
| static int | pointRadius (bool selected) |
| size of a point in pixels | |
Public Attributes inherited from iAChartFunction | |
| iAChartWithFunctionsWidget * | m_chart |
Static Public Attributes inherited from iAChartFunction | |
| static const QColor | DefaultColor |
| static const int | LineWidthSelected = 2 |
| static const int | LineWidthUnselected = 1 |
| static const int | PointRadius = 6 |
| static const int | PointRadiusSelected = 10 |
Class representing a transfer function in a histogram chart.
Draws itself, and allows adding, removing and modifying point (color and opacity).
| iAChartTransferFunction::iAChartTransferFunction | ( | iAChartWithFunctionsWidget * | histogram, |
| QColor | color ) |
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Reimplemented from iAChartFunction.
|
signal |
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
| void iAChartTransferFunction::enableRangeSliderHandles | ( | bool | rangeSliderHandles | ) |
|
inlineoverridevirtual |
Implements iAChartFunction.
|
inlineoverridevirtual |
Reimplemented from iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Reimplemented from iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
|
overridevirtual |
Implements iAChartFunction.
| void iAChartTransferFunction::setTF | ( | iATransferFunction * | tf | ) |
| iATransferFunction * iAChartTransferFunction::tf | ( | ) |
| void iAChartTransferFunction::triggerOnChange | ( | ) |