1 #ifndef TRANSFER_MARKERS_HPP
2 #define TRANSFER_MARKERS_HPP
6 #include <TransferFunction.hpp>
8 #include <QAbstractTableModel>
11 #include <QItemDelegate>
12 #include <QModelIndex>
43 bool showRgba,
QObject* parent = 0);
50 Qt::ItemFlags flags(
const QModelIndex& index)
const;
54 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
56 const std::vector<double>& getMarkers()
const {
59 const std::vector<QColor>& getColors()
const {
71 QString colorText(
int idx)
const;
72 bool setColorText(
int idx,
QString txt);
74 std::vector<double> markers;
75 std::vector<QColor> colors;
83 #endif // TRANSFER_MARKERS_HPP
Definition: TransferMarkers.hpp:38
Definition: TransferMarkers.hpp:24
Interpolation
Type of interpolation.
Definition: TransferFunction.hpp:28