Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Signals | Public Member Functions | Protected Member Functions
qMRMLVolumeThresholdWidget Class Reference

#include <Libs/MRML/Widgets/qMRMLVolumeThresholdWidget.h>

Inheritance diagram for qMRMLVolumeThresholdWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLVolumeThresholdWidget:
Collaboration graph
[legend]

Public Types

enum  ControlMode { Auto = 0, Manual = 1, Off =2 }
 
typedef qMRMLVolumeWidget Superclass
 Constructors. More...
 
- Public Types inherited from qMRMLVolumeWidget
typedef QWidget Superclass
 Constructors. More...
 

Properties

int autoThreshold
 
double lowerThreshold
 
double lowerThresholdBound
 
double upperThreshold
 
double upperThresholdBound
 

Public Slots

void setAutoThreshold (int autoThreshold)
 Set Auto/Manual mode. More...
 
void setLowerThreshold (double lowerThreshold)
 
Set lowerThreshold More...
 
void setLowerThresholdBound (double lowerThresholdBound)
 
Set lowerThreshold More...
 
void setThreshold (double lowerThreshold, double upperThreshold)
 
Set lowerThreshold/upperThreshold in once More...
 
void setThresholdBounds (double min, double max)
 
Set sliders bounds More...
 
void setUpperThreshold (double upperThreshold)
 
Set upperThreshold More...
 
void setUpperThresholdBound (double upperThresholdBound)
 
Set upperThreshold More...
 
- Public Slots inherited from qMRMLVolumeWidget
void setMRMLVolumeNode (vtkMRMLScalarVolumeNode *displayNode)
 Set the volume to observe. More...
 
void setMRMLVolumeNode (vtkMRMLNode *node)
 

Signals

void autoThresholdValueChanged (int value)
 
Signal sent if the auto/manual value is updated More...
 
void thresholdValuesChanged (double lowerThreshold, double upperThreshold)
 
Signal sent if the lowerThreshold/upperThreshold value is updated More...
 

Public Member Functions

ControlMode autoThreshold () const
 
bool isOff () const
 Is the thresholding activated. More...
 
double lowerThreshold () const
 
Get lowerThreshold More...
 
double lowerThresholdBound () const
 
Get lower threshold bound More...
 
 qMRMLVolumeThresholdWidget (QWidget *parent=nullptr)
 
void setAutoThreshold (ControlMode autoWindowLevel)
 
double upperThreshold () const
 
Get upperThreshold More...
 
double upperThresholdBound () const
 
Get upper threshold bound More...
 
 ~qMRMLVolumeThresholdWidget () override
 
- Public Member Functions inherited from qMRMLVolumeWidget
Q_INVOKABLE vtkMRMLScalarVolumeNodemrmlVolumeNode () const
 
Return the current MRML node of interest More...
 
 qMRMLVolumeWidget (QWidget *parentWidget=nullptr)
 
 ~qMRMLVolumeWidget () override
 

Protected Member Functions

void setMaximum (double max)
 
void setMinimum (double min)
 
Set sliders range More...
 
void updateWidgetFromMRMLDisplayNode () override
 Update the widget from volume display node properties. More...
 
- Protected Member Functions inherited from qMRMLVolumeWidget
vtkMRMLScalarVolumeDisplayNodemrmlDisplayNode () const
 Return the volume display node. More...
 
 qMRMLVolumeWidget (qMRMLVolumeWidgetPrivate *ptr, QWidget *parentWidget=nullptr)
 

Additional Inherited Members

- Protected Slots inherited from qMRMLVolumeWidget
virtual void updateWidgetFromMRMLVolumeNode ()
 
- Protected Attributes inherited from qMRMLVolumeWidget
QScopedPointer< qMRMLVolumeWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 25 of file qMRMLVolumeThresholdWidget.h.

Member Typedef Documentation

◆ Superclass

Constructors.

Definition at line 38 of file qMRMLVolumeThresholdWidget.h.

Member Enumeration Documentation

◆ ControlMode

Enumerator
Auto 
Manual 
Off 

Definition at line 42 of file qMRMLVolumeThresholdWidget.h.

Property Documentation

◆ autoThreshold

int qMRMLVolumeThresholdWidget::autoThreshold
readwrite

Definition at line 29 of file qMRMLVolumeThresholdWidget.h.

◆ lowerThreshold

double qMRMLVolumeThresholdWidget::lowerThreshold
readwrite

Definition at line 30 of file qMRMLVolumeThresholdWidget.h.

◆ lowerThresholdBound

double qMRMLVolumeThresholdWidget::lowerThresholdBound
readwrite

Definition at line 32 of file qMRMLVolumeThresholdWidget.h.

◆ upperThreshold

double qMRMLVolumeThresholdWidget::upperThreshold
readwrite

Definition at line 31 of file qMRMLVolumeThresholdWidget.h.

◆ upperThresholdBound

double qMRMLVolumeThresholdWidget::upperThresholdBound
readwrite

Definition at line 33 of file qMRMLVolumeThresholdWidget.h.

Constructor & Destructor Documentation

◆ qMRMLVolumeThresholdWidget()

qMRMLVolumeThresholdWidget::qMRMLVolumeThresholdWidget ( QWidget *  parent = nullptr)
explicit

◆ ~qMRMLVolumeThresholdWidget()

qMRMLVolumeThresholdWidget::~qMRMLVolumeThresholdWidget ( )
override

Member Function Documentation

◆ autoThreshold()

ControlMode qMRMLVolumeThresholdWidget::autoThreshold ( ) const

◆ autoThresholdValueChanged

void qMRMLVolumeThresholdWidget::autoThresholdValueChanged ( int  value)
signal


Signal sent if the auto/manual value is updated

◆ isOff()

bool qMRMLVolumeThresholdWidget::isOff ( ) const

Is the thresholding activated.

◆ lowerThreshold()

double qMRMLVolumeThresholdWidget::lowerThreshold ( ) const


Get lowerThreshold

◆ lowerThresholdBound()

double qMRMLVolumeThresholdWidget::lowerThresholdBound ( ) const


Get lower threshold bound

◆ setAutoThreshold() [1/2]

void qMRMLVolumeThresholdWidget::setAutoThreshold ( ControlMode  autoWindowLevel)

◆ setAutoThreshold [2/2]

void qMRMLVolumeThresholdWidget::setAutoThreshold ( int  autoThreshold)
slot

Set Auto/Manual mode.

◆ setLowerThreshold

void qMRMLVolumeThresholdWidget::setLowerThreshold ( double  lowerThreshold)
slot


Set lowerThreshold

◆ setLowerThresholdBound

void qMRMLVolumeThresholdWidget::setLowerThresholdBound ( double  lowerThresholdBound)
slot


Set lowerThreshold

◆ setMaximum()

void qMRMLVolumeThresholdWidget::setMaximum ( double  max)
protected

◆ setMinimum()

void qMRMLVolumeThresholdWidget::setMinimum ( double  min)
protected


Set sliders range

◆ setThreshold

void qMRMLVolumeThresholdWidget::setThreshold ( double  lowerThreshold,
double  upperThreshold 
)
slot


Set lowerThreshold/upperThreshold in once

◆ setThresholdBounds

void qMRMLVolumeThresholdWidget::setThresholdBounds ( double  min,
double  max 
)
slot


Set sliders bounds

◆ setUpperThreshold

void qMRMLVolumeThresholdWidget::setUpperThreshold ( double  upperThreshold)
slot


Set upperThreshold

◆ setUpperThresholdBound

void qMRMLVolumeThresholdWidget::setUpperThresholdBound ( double  upperThresholdBound)
slot


Set upperThreshold

◆ thresholdValuesChanged

void qMRMLVolumeThresholdWidget::thresholdValuesChanged ( double  lowerThreshold,
double  upperThreshold 
)
signal


Signal sent if the lowerThreshold/upperThreshold value is updated

◆ updateWidgetFromMRMLDisplayNode()

void qMRMLVolumeThresholdWidget::updateWidgetFromMRMLDisplayNode ( )
overrideprotectedvirtual

Update the widget from volume display node properties.

Reimplemented from qMRMLVolumeWidget.

◆ upperThreshold()

double qMRMLVolumeThresholdWidget::upperThreshold ( ) const


Get upperThreshold

◆ upperThresholdBound()

double qMRMLVolumeThresholdWidget::upperThresholdBound ( ) const


Get upper threshold bound


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