Medical Imaging Interaction Toolkit  2024.06.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 UpdateStepSize ()
 
void OnResetSlider ()
 
void OnSpanChanged (double lower, double upper)
 

Public Member Functions

 QmitkTransferFunctionWidget (QWidget *parent=nullptr, Qt::WindowFlags f={})
 
 ~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
 
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 = {} 
)

◆ ~QmitkTransferFunctionWidget()

QmitkTransferFunctionWidget::~QmitkTransferFunctionWidget ( )
override

Member Function Documentation

◆ OnResetSlider

void QmitkTransferFunctionWidget::OnResetSlider ( )
slot

◆ OnSpanChanged

void QmitkTransferFunctionWidget::OnSpanChanged ( double  lower,
double  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

◆ UpdateStepSize

void QmitkTransferFunctionWidget::UpdateStepSize ( )
slot

Member Data Documentation

◆ histogramCache

mitk::SimpleHistogramCache QmitkTransferFunctionWidget::histogramCache
protected

Definition at line 74 of file QmitkTransferFunctionWidget.h.

◆ tfpToChange

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

Definition at line 72 of file QmitkTransferFunctionWidget.h.


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