17 #ifndef __QmlmMitkTransferFunctionItem_h
18 #define __QmlmMitkTransferFunctionItem_h
31 #include <QPushButton>
44 Q_PROPERTY(
double min READ getMin WRITE setMin NOTIFY minChanged);
45 Q_PROPERTY(
double max READ getMax WRITE setMax NOTIFY maxChanged);
46 Q_PROPERTY(
double currentMin READ getCurrentMin WRITE setCurrentMin NOTIFY currentMinChanged);
47 Q_PROPERTY(
double currentMax READ getCurrentMax WRITE setCurrentMax NOTIFY currentMaxChanged);
57 void OnUpdateCanvas();
61 void wheelEvent(QWheelEvent* event)
override;
63 void OnSpanChanged (
int lower,
int upper);
71 void setMin(
double min);
72 void setMax(
double max);
73 void setCurrentMin(
double currentMin);
74 void setCurrentMax(
double currentMax);
78 double getCurrentMin();
79 double getCurrentMax();
98 void currentMinChanged();
99 void currentMaxChanged();
QmlMitkColorTransferFunctionCanvas * m_ColorItem
#define MITKQMLITEMS_EXPORT
static QmlMitkTransferFunctionItem * instance
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
QmlMitkPiecewiseFunctionCanvas * m_OpacityItem
mitk::TransferFunctionProperty::Pointer tfpToChange
virtual void SetDataNode(DataNode *dataNode) override
mitk::SimpleHistogramCache histogramCache
Class for nodes of the DataTree.