Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkTransferFunctionGeneratorWidget.h>
Public Slots | |
void | OnSavePreset () |
void | OnLoadPreset () |
void | OnDeltaLevelWindow (int dx, int dy) |
void | OnDeltaThreshold (int dx, int dy) |
Signals | |
void | SignalTransferFunctionModeChanged (int) |
void | SignalUpdateCanvas () |
Public Member Functions | |
QmitkTransferFunctionGeneratorWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
~QmitkTransferFunctionGeneratorWidget () | |
void | SetDataNode (mitk::DataNode *node) |
int | AddPreset (const QString &presetName) |
void | SetPresetsTabEnabled (bool enable) |
void | SetThresholdTabEnabled (bool enable) |
void | SetBellTabEnabled (bool enable) |
Protected Slots | |
void | OnPreset (int mode) |
Protected Member Functions | |
double | ScaleDelta (int d) const |
Protected Attributes | |
mitk::TransferFunctionProperty::Pointer | tfpToChange |
double | histoMinimum |
double | histoMaximum |
double | thPos |
double | thDelta |
double | deltaScale |
double | deltaMax |
double | deltaMin |
const mitk::Image::HistogramType * | histoGramm |
QString | presetFileName |
Definition at line 30 of file QmitkTransferFunctionGeneratorWidget.h.
QmitkTransferFunctionGeneratorWidget::QmitkTransferFunctionGeneratorWidget | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = nullptr |
||
) |
Definition at line 31 of file QmitkTransferFunctionGeneratorWidget.cpp.
References histoGramm, OnDeltaLevelWindow(), OnDeltaThreshold(), OnLoadPreset(), OnPreset(), OnSavePreset(), presetFileName, SignalTransferFunctionModeChanged(), and thDelta.
QmitkTransferFunctionGeneratorWidget::~QmitkTransferFunctionGeneratorWidget | ( | ) |
Definition at line 311 of file QmitkTransferFunctionGeneratorWidget.cpp.
int QmitkTransferFunctionGeneratorWidget::AddPreset | ( | const QString & | presetName | ) |
Definition at line 64 of file QmitkTransferFunctionGeneratorWidget.cpp.
|
slot |
Definition at line 180 of file QmitkTransferFunctionGeneratorWidget.cpp.
References deltaMax, deltaMin, mitk::RenderingManager::GetInstance(), histoMaximum, histoMinimum, mitk::RenderingManager::RequestUpdateAll(), ScaleDelta(), SignalUpdateCanvas(), stepFunctionGlocke(), tfpToChange, thDelta, thPos, and transformationGlocke().
Referenced by QmitkTransferFunctionGeneratorWidget().
|
slot |
Definition at line 252 of file QmitkTransferFunctionGeneratorWidget.cpp.
References deltaMax, deltaMin, mitk::RenderingManager::GetInstance(), histoMaximum, histoMinimum, mitk::RenderingManager::RequestUpdateAll(), ScaleDelta(), SignalUpdateCanvas(), stepFunctionThreshold(), tfpToChange, thDelta, and thPos.
Referenced by QmitkTransferFunctionGeneratorWidget().
|
slot |
Definition at line 114 of file QmitkTransferFunctionGeneratorWidget.cpp.
References mitk::TransferFunctionPropertySerializer::DeserializeTransferFunction(), mitk::RenderingManager::GetInstance(), MITK_INFO, presetFileName, mitk::RenderingManager::RequestUpdateAll(), SignalUpdateCanvas(), and tfpToChange.
Referenced by QmitkTransferFunctionGeneratorWidget().
|
protectedslot |
Definition at line 140 of file QmitkTransferFunctionGeneratorWidget.cpp.
Referenced by QmitkTransferFunctionGeneratorWidget().
|
slot |
Definition at line 87 of file QmitkTransferFunctionGeneratorWidget.cpp.
References MITK_INFO, presetFileName, mitk::TransferFunctionPropertySerializer::SerializeTransferFunction(), and tfpToChange.
Referenced by QmitkTransferFunctionGeneratorWidget().
|
protected |
Definition at line 175 of file QmitkTransferFunctionGeneratorWidget.cpp.
References deltaScale.
Referenced by OnDeltaLevelWindow(), and OnDeltaThreshold().
void QmitkTransferFunctionGeneratorWidget::SetBellTabEnabled | ( | bool | enable | ) |
Definition at line 82 of file QmitkTransferFunctionGeneratorWidget.cpp.
void QmitkTransferFunctionGeneratorWidget::SetDataNode | ( | mitk::DataNode * | node | ) |
Definition at line 315 of file QmitkTransferFunctionGeneratorWidget.cpp.
References deltaMax, deltaMin, deltaScale, mitk::DataNode::GetData(), mitk::DataNode::GetProperty(), mitk::ImageStatisticsHolder::GetScalarValueMax(), mitk::ImageStatisticsHolder::GetScalarValueMin(), histoGramm, histoMaximum, histoMinimum, MITK_WARN, mitk::TransferFunctionProperty::New(), mitk::DataNode::SetProperty(), tfpToChange, and thPos.
void QmitkTransferFunctionGeneratorWidget::SetPresetsTabEnabled | ( | bool | enable | ) |
Definition at line 72 of file QmitkTransferFunctionGeneratorWidget.cpp.
void QmitkTransferFunctionGeneratorWidget::SetThresholdTabEnabled | ( | bool | enable | ) |
Definition at line 77 of file QmitkTransferFunctionGeneratorWidget.cpp.
|
signal |
Referenced by QmitkTransferFunctionGeneratorWidget().
|
signal |
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and OnLoadPreset().
|
protected |
Definition at line 74 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and SetDataNode().
|
protected |
Definition at line 75 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and SetDataNode().
|
protected |
Definition at line 73 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by ScaleDelta(), and SetDataNode().
|
protected |
Definition at line 77 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by QmitkTransferFunctionGeneratorWidget(), and SetDataNode().
|
protected |
Definition at line 68 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and SetDataNode().
|
protected |
Definition at line 67 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and SetDataNode().
|
protected |
Definition at line 79 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnLoadPreset(), OnSavePreset(), and QmitkTransferFunctionGeneratorWidget().
|
protected |
Definition at line 65 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), OnLoadPreset(), OnSavePreset(), and SetDataNode().
|
protected |
Definition at line 71 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and QmitkTransferFunctionGeneratorWidget().
|
protected |
Definition at line 70 of file QmitkTransferFunctionGeneratorWidget.h.
Referenced by OnDeltaLevelWindow(), OnDeltaThreshold(), and SetDataNode().