Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkTransferFunctionWidget Class Reference

#include <QmitkTransferFunctionWidget.h>

Inheritance diagram for QmitkTransferFunctionWidget:
Collaboration diagram for QmitkTransferFunctionWidget:

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 () override
 
void SetDataNode (mitk::DataNode *node, mitk::TimeStepType timestep=0, 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
 

Detailed Description

Definition at line 36 of file QmitkTransferFunctionWidget.h.

Constructor & Destructor Documentation

◆ QmitkTransferFunctionWidget()

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

◆ ~QmitkTransferFunctionWidget()

QmitkTransferFunctionWidget::~QmitkTransferFunctionWidget ( )
override

Member Function Documentation

◆ OnResetSlider

void QmitkTransferFunctionWidget::OnResetSlider ( )
slot

◆ OnSpanChanged

void QmitkTransferFunctionWidget::OnSpanChanged ( int  lower,
int  upper 
)
slot

◆ OnUpdateCanvas

void QmitkTransferFunctionWidget::OnUpdateCanvas ( )
slot

◆ SetColorFunctionEnabled()

void QmitkTransferFunctionWidget::SetColorFunctionEnabled ( bool  enable)

◆ SetDataNode()

void QmitkTransferFunctionWidget::SetDataNode ( mitk::DataNode node,
mitk::TimeStepType  timestep = 0,
const mitk::BaseRenderer renderer = nullptr 
)

◆ SetGradientOpacityFunctionEnabled()

void QmitkTransferFunctionWidget::SetGradientOpacityFunctionEnabled ( bool  enable)

◆ SetScalarLabel()

void QmitkTransferFunctionWidget::SetScalarLabel ( const QString &  scalarLabel)

◆ SetScalarOpacityFunctionEnabled()

void QmitkTransferFunctionWidget::SetScalarOpacityFunctionEnabled ( bool  enable)

◆ SetXValueColor

void QmitkTransferFunctionWidget::SetXValueColor ( const QString  text)
slot

◆ SetXValueGradient

void QmitkTransferFunctionWidget::SetXValueGradient ( const QString  text)
slot

◆ SetXValueScalar

void QmitkTransferFunctionWidget::SetXValueScalar ( const QString  text)
slot

◆ SetYValueGradient

void QmitkTransferFunctionWidget::SetYValueGradient ( const QString  text)
slot

◆ SetYValueScalar

void QmitkTransferFunctionWidget::SetYValueScalar ( const QString  text)
slot

◆ ShowColorFunction()

void QmitkTransferFunctionWidget::ShowColorFunction ( bool  show)

◆ ShowGradientOpacityFunction()

void QmitkTransferFunctionWidget::ShowGradientOpacityFunction ( bool  show)

◆ ShowScalarOpacityFunction()

void QmitkTransferFunctionWidget::ShowScalarOpacityFunction ( bool  show)

◆ UpdateRanges

void QmitkTransferFunctionWidget::UpdateRanges ( )
slot

Member Data Documentation

◆ histogramCache

mitk::SimpleHistogramCache QmitkTransferFunctionWidget::histogramCache
protected

Definition at line 76 of file QmitkTransferFunctionWidget.h.

◆ m_RangeSliderMax

int QmitkTransferFunctionWidget::m_RangeSliderMax
protected

Definition at line 74 of file QmitkTransferFunctionWidget.h.

◆ m_RangeSliderMin

int QmitkTransferFunctionWidget::m_RangeSliderMin
protected

Definition at line 73 of file QmitkTransferFunctionWidget.h.

◆ tfpToChange

mitk::TransferFunctionProperty::Pointer QmitkTransferFunctionWidget::tfpToChange
protected

Definition at line 71 of file QmitkTransferFunctionWidget.h.


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