Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkTransferFunctionWidget.h>
Public Slots | |
void | SetXValueScalar (const QString text) |
void | SetYValueScalar (const QString text) |
void | SetXValueGradient (const QString text) |
void | SetYValueGradient (const QString text) |
void | SetXValueColor (const QString text) |
void | OnUpdateCanvas () |
void | UpdateRanges () |
void | OnResetSlider () |
void | OnSpanChanged (int lower, int upper) |
Public Member Functions | |
QmitkTransferFunctionWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
~QmitkTransferFunctionWidget () | |
void | SetDataNode (mitk::DataNode *node, const mitk::BaseRenderer *renderer=nullptr) |
void | SetScalarLabel (const QString &scalarLabel) |
void | ShowScalarOpacityFunction (bool show) |
void | ShowColorFunction (bool show) |
void | ShowGradientOpacityFunction (bool show) |
void | SetScalarOpacityFunctionEnabled (bool enable) |
void | SetColorFunctionEnabled (bool enable) |
void | SetGradientOpacityFunctionEnabled (bool enable) |
Protected Attributes | |
mitk::TransferFunctionProperty::Pointer | tfpToChange |
int | m_RangeSliderMin |
int | m_RangeSliderMax |
mitk::SimpleHistogramCache | histogramCache |
Definition at line 40 of file QmitkTransferFunctionWidget.h.
QmitkTransferFunctionWidget::QmitkTransferFunctionWidget | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = nullptr |
||
) |
Definition at line 21 of file QmitkTransferFunctionWidget.cpp.
References OnResetSlider(), OnSpanChanged(), SetXValueColor(), SetXValueGradient(), SetXValueScalar(), SetYValueGradient(), and SetYValueScalar().
QmitkTransferFunctionWidget::~QmitkTransferFunctionWidget | ( | ) |
Definition at line 50 of file QmitkTransferFunctionWidget.cpp.
|
slot |
Definition at line 239 of file QmitkTransferFunctionWidget.cpp.
References m_RangeSliderMax, m_RangeSliderMin, and UpdateRanges().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 230 of file QmitkTransferFunctionWidget.cpp.
References UpdateRanges().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 149 of file QmitkTransferFunctionWidget.cpp.
References tfpToChange, and UpdateRanges().
Referenced by SetDataNode().
void QmitkTransferFunctionWidget::SetColorFunctionEnabled | ( | bool | enable | ) |
Definition at line 85 of file QmitkTransferFunctionWidget.cpp.
void QmitkTransferFunctionWidget::SetDataNode | ( | mitk::DataNode * | node, |
const mitk::BaseRenderer * | renderer = nullptr |
||
) |
Definition at line 95 of file QmitkTransferFunctionWidget.cpp.
References mitk::DataNode::GetData(), mitk::SimpleHistogram::GetMax(), mitk::SimpleHistogram::GetMin(), mitk::DataNode::GetProperty(), histogramCache, m_RangeSliderMax, m_RangeSliderMin, MITK_WARN, mitk::TransferFunctionProperty::New(), OnUpdateCanvas(), mitk::DataNode::SetProperty(), and tfpToChange.
void QmitkTransferFunctionWidget::SetGradientOpacityFunctionEnabled | ( | bool | enable | ) |
Definition at line 90 of file QmitkTransferFunctionWidget.cpp.
void QmitkTransferFunctionWidget::SetScalarLabel | ( | const QString & | scalarLabel | ) |
Definition at line 54 of file QmitkTransferFunctionWidget.cpp.
void QmitkTransferFunctionWidget::SetScalarOpacityFunctionEnabled | ( | bool | enable | ) |
Definition at line 80 of file QmitkTransferFunctionWidget.cpp.
|
slot |
Definition at line 206 of file QmitkTransferFunctionWidget.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 188 of file QmitkTransferFunctionWidget.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 170 of file QmitkTransferFunctionWidget.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 197 of file QmitkTransferFunctionWidget.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by QmitkTransferFunctionWidget().
|
slot |
Definition at line 179 of file QmitkTransferFunctionWidget.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by QmitkTransferFunctionWidget().
void QmitkTransferFunctionWidget::ShowColorFunction | ( | bool | show | ) |
Definition at line 70 of file QmitkTransferFunctionWidget.cpp.
void QmitkTransferFunctionWidget::ShowGradientOpacityFunction | ( | bool | show | ) |
Definition at line 75 of file QmitkTransferFunctionWidget.cpp.
void QmitkTransferFunctionWidget::ShowScalarOpacityFunction | ( | bool | show | ) |
Definition at line 65 of file QmitkTransferFunctionWidget.cpp.
|
slot |
Definition at line 215 of file QmitkTransferFunctionWidget.cpp.
Referenced by OnResetSlider(), OnSpanChanged(), and OnUpdateCanvas().
|
protected |
Definition at line 80 of file QmitkTransferFunctionWidget.h.
Referenced by SetDataNode().
|
protected |
Definition at line 78 of file QmitkTransferFunctionWidget.h.
Referenced by OnResetSlider(), and SetDataNode().
|
protected |
Definition at line 77 of file QmitkTransferFunctionWidget.h.
Referenced by OnResetSlider(), and SetDataNode().
|
protected |
Definition at line 75 of file QmitkTransferFunctionWidget.h.
Referenced by OnUpdateCanvas(), and SetDataNode().