Medical Imaging Interaction Toolkit  2023.12.00
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 () override
 
void SetDataNode (mitk::DataNode *node, mitk::TimeStepType timestep=0)
 
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 26 of file QmitkTransferFunctionGeneratorWidget.h.

Constructor & Destructor Documentation

◆ QmitkTransferFunctionGeneratorWidget()

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

◆ ~QmitkTransferFunctionGeneratorWidget()

QmitkTransferFunctionGeneratorWidget::~QmitkTransferFunctionGeneratorWidget ( )
override

Member Function Documentation

◆ AddPreset()

int QmitkTransferFunctionGeneratorWidget::AddPreset ( const QString &  presetName)

◆ OnDeltaLevelWindow

void QmitkTransferFunctionGeneratorWidget::OnDeltaLevelWindow ( int  dx,
int  dy 
)
slot

◆ OnDeltaThreshold

void QmitkTransferFunctionGeneratorWidget::OnDeltaThreshold ( int  dx,
int  dy 
)
slot

◆ OnLoadPreset

void QmitkTransferFunctionGeneratorWidget::OnLoadPreset ( )
slot

◆ OnPreset

void QmitkTransferFunctionGeneratorWidget::OnPreset ( int  mode)
protectedslot

◆ OnSavePreset

void QmitkTransferFunctionGeneratorWidget::OnSavePreset ( )
slot

◆ ScaleDelta()

double QmitkTransferFunctionGeneratorWidget::ScaleDelta ( int  d) const
protected

◆ SetBellTabEnabled()

void QmitkTransferFunctionGeneratorWidget::SetBellTabEnabled ( bool  enable)

◆ SetDataNode()

void QmitkTransferFunctionGeneratorWidget::SetDataNode ( mitk::DataNode node,
mitk::TimeStepType  timestep = 0 
)

◆ SetPresetsTabEnabled()

void QmitkTransferFunctionGeneratorWidget::SetPresetsTabEnabled ( bool  enable)

◆ SetThresholdTabEnabled()

void QmitkTransferFunctionGeneratorWidget::SetThresholdTabEnabled ( bool  enable)

◆ SignalTransferFunctionModeChanged

void QmitkTransferFunctionGeneratorWidget::SignalTransferFunctionModeChanged ( int  )
signal

◆ SignalUpdateCanvas

void QmitkTransferFunctionGeneratorWidget::SignalUpdateCanvas ( )
signal

Member Data Documentation

◆ deltaMax

double QmitkTransferFunctionGeneratorWidget::deltaMax
protected

Definition at line 70 of file QmitkTransferFunctionGeneratorWidget.h.

◆ deltaMin

double QmitkTransferFunctionGeneratorWidget::deltaMin
protected

Definition at line 71 of file QmitkTransferFunctionGeneratorWidget.h.

◆ deltaScale

double QmitkTransferFunctionGeneratorWidget::deltaScale
protected

Definition at line 69 of file QmitkTransferFunctionGeneratorWidget.h.

◆ histoGramm

const mitk::Image::HistogramType* QmitkTransferFunctionGeneratorWidget::histoGramm
protected

Definition at line 73 of file QmitkTransferFunctionGeneratorWidget.h.

◆ histoMaximum

double QmitkTransferFunctionGeneratorWidget::histoMaximum
protected

Definition at line 64 of file QmitkTransferFunctionGeneratorWidget.h.

◆ histoMinimum

double QmitkTransferFunctionGeneratorWidget::histoMinimum
protected

Definition at line 63 of file QmitkTransferFunctionGeneratorWidget.h.

◆ presetFileName

QString QmitkTransferFunctionGeneratorWidget::presetFileName
protected

Definition at line 75 of file QmitkTransferFunctionGeneratorWidget.h.

◆ tfpToChange

mitk::TransferFunctionProperty::Pointer QmitkTransferFunctionGeneratorWidget::tfpToChange
protected

Definition at line 61 of file QmitkTransferFunctionGeneratorWidget.h.

◆ thDelta

double QmitkTransferFunctionGeneratorWidget::thDelta
protected

Definition at line 67 of file QmitkTransferFunctionGeneratorWidget.h.

◆ thPos

double QmitkTransferFunctionGeneratorWidget::thPos
protected

Definition at line 66 of file QmitkTransferFunctionGeneratorWidget.h.


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