Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkTransferFunctionGeneratorWidget Class Reference

#include <QmitkTransferFunctionGeneratorWidget.h>

Inheritance diagram for QmitkTransferFunctionGeneratorWidget:
Collaboration diagram for QmitkTransferFunctionGeneratorWidget:

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::HistogramTypehistoGramm
 
QString presetFileName
 

Detailed Description

Definition at line 30 of file QmitkTransferFunctionGeneratorWidget.h.

Constructor & Destructor Documentation

QmitkTransferFunctionGeneratorWidget::QmitkTransferFunctionGeneratorWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)
QmitkTransferFunctionGeneratorWidget::~QmitkTransferFunctionGeneratorWidget ( )

Definition at line 311 of file QmitkTransferFunctionGeneratorWidget.cpp.

Member Function Documentation

int QmitkTransferFunctionGeneratorWidget::AddPreset ( const QString &  presetName)

Definition at line 64 of file QmitkTransferFunctionGeneratorWidget.cpp.

void QmitkTransferFunctionGeneratorWidget::OnPreset ( int  mode)
protectedslot
void QmitkTransferFunctionGeneratorWidget::OnSavePreset ( )
slot
double QmitkTransferFunctionGeneratorWidget::ScaleDelta ( int  d) const
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::SetPresetsTabEnabled ( bool  enable)

Definition at line 72 of file QmitkTransferFunctionGeneratorWidget.cpp.

void QmitkTransferFunctionGeneratorWidget::SetThresholdTabEnabled ( bool  enable)

Definition at line 77 of file QmitkTransferFunctionGeneratorWidget.cpp.

void QmitkTransferFunctionGeneratorWidget::SignalTransferFunctionModeChanged ( int  )
signal
void QmitkTransferFunctionGeneratorWidget::SignalUpdateCanvas ( )
signal

Member Data Documentation

double QmitkTransferFunctionGeneratorWidget::deltaMax
protected
double QmitkTransferFunctionGeneratorWidget::deltaMin
protected
double QmitkTransferFunctionGeneratorWidget::deltaScale
protected

Definition at line 73 of file QmitkTransferFunctionGeneratorWidget.h.

Referenced by ScaleDelta(), and SetDataNode().

const mitk::Image::HistogramType* QmitkTransferFunctionGeneratorWidget::histoGramm
protected
double QmitkTransferFunctionGeneratorWidget::histoMaximum
protected
double QmitkTransferFunctionGeneratorWidget::histoMinimum
protected
QString QmitkTransferFunctionGeneratorWidget::presetFileName
protected
mitk::TransferFunctionProperty::Pointer QmitkTransferFunctionGeneratorWidget::tfpToChange
protected
double QmitkTransferFunctionGeneratorWidget::thDelta
protected
double QmitkTransferFunctionGeneratorWidget::thPos
protected

The documentation for this class was generated from the following files: