#include <GradientEditor.h>

Public Slots | |
| void | pointsUpdated () |
| void | showTransferFunction () |
| void | showHistogram (const int *) |
| void | clearHistogram () |
Signals | |
| void | gradientStopsChanged (const QGradientStops &stops) |
Public Member Functions | |
| GradientEditor (QWidget *parent, Qt::WindowFlags flags) | |
| void | setGradientStops (const QGradientStops &stops) |
| void | loadTransferFunction (std::string filename) |
| void | saveTransferFunction (std::string filename) |
Definition at line 50 of file GradientEditor.h.
| GradientEditor::GradientEditor | ( | QWidget * | parent, | |
| Qt::WindowFlags | flags | |||
| ) |
Definition at line 46 of file GradientEditor.cpp.
References ShadeWidget::ARGBShade, ShadeWidget::BlueShade, ShadeWidget::GreenShade, pointsUpdated(), and ShadeWidget::RedShade.
| void GradientEditor::setGradientStops | ( | const QGradientStops & | stops | ) |
Definition at line 157 of file GradientEditor.cpp.
| void GradientEditor::pointsUpdated | ( | ) | [slot] |
Definition at line 89 of file GradientEditor.cpp.
References ShadeWidget::colorAt(), gradientStopsChanged(), ShadeWidget::points(), and ShadeWidget::setGradientStops().
Referenced by GradientEditor(), and loadTransferFunction().
| void GradientEditor::showTransferFunction | ( | ) | [inline, slot] |
Definition at line 63 of file GradientEditor.h.
| void GradientEditor::showHistogram | ( | const int * | density | ) | [slot] |
| void GradientEditor::clearHistogram | ( | ) | [slot] |
| void GradientEditor::gradientStopsChanged | ( | const QGradientStops & | stops | ) | [signal] |
Referenced by pointsUpdated().
| void GradientEditor::loadTransferFunction | ( | std::string | filename | ) |
Definition at line 181 of file GradientEditor.cpp.
References ALPHA, ShadeWidget::getName(), pointsUpdated(), ShadeWidget::setPoints(), and SHADES_COUNT.

| void GradientEditor::saveTransferFunction | ( | std::string | filename | ) |
Definition at line 229 of file GradientEditor.cpp.
References ShadeWidget::getGradientStops(), ShadeWidget::points(), and SHADES_COUNT.

1.5.4