Slicer  4.11
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
qMRMLWindowLevelWidget Class Reference

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

Inheritance diagram for qMRMLWindowLevelWidget:
Inheritance graph
Collaboration diagram for qMRMLWindowLevelWidget:
Collaboration graph

Public Types

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


ControlMode autoWindowLevel
double level
double maximumValue
double minimumValue
double window

Public Slots

void setAutoWindowLevel (int autoWindowLevel)
 Set Auto/Manual mode. More...
void setLevel (double level)
Set level More...
void setMaximumValue (double max)
void setMinimumValue (double min)
void setMinMaxRangeValue (double min, double max)
Set min/max range More...
void setWindow (double window)
Set window More...
void setWindowLevel (double window, double level)
Set window/level in once More...
- Public Slots inherited from qMRMLVolumeWidget
void setMRMLVolumeNode (vtkMRMLScalarVolumeNode *displayNode)
 Set the volume to observe. More...
void setMRMLVolumeNode (vtkMRMLNode *node)


void autoWindowLevelValueChanged (ControlMode value)
Signal sent if the auto/manual value is updated More...
void windowLevelValuesChanged (double window, double level)
Signal sent if the window/level value is updated More...

Public Member Functions

ControlMode autoWindowLevel () const
double level () const
Get level More...
double maximumValue () const
Get maximum of the range More...
double minimumValue () const
Get minimum of the range More...
 qMRMLWindowLevelWidget (QWidget *parentWidget=nullptr)
void setAutoWindowLevel (ControlMode autoWindowLevel)
 Set Auto/Manual mode. More...
double window () const
Get window More...
 ~qMRMLWindowLevelWidget () override
- Public Member Functions inherited from qMRMLVolumeWidget
vtkMRMLScalarVolumeNodemrmlVolumeNode () const
Return the current MRML node of interest More...
 qMRMLVolumeWidget (QWidget *parentWidget=nullptr)
 ~qMRMLVolumeWidget () override

Protected Member Functions

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 27 of file qMRMLWindowLevelWidget.h.

Member Typedef Documentation

◆ Superclass


Definition at line 41 of file qMRMLWindowLevelWidget.h.

Member Enumeration Documentation

◆ ControlMode


Definition at line 45 of file qMRMLWindowLevelWidget.h.

Property Documentation

◆ autoWindowLevel

ControlMode qMRMLWindowLevelWidget::autoWindowLevel

Definition at line 32 of file qMRMLWindowLevelWidget.h.

◆ level

double qMRMLWindowLevelWidget::level

Definition at line 34 of file qMRMLWindowLevelWidget.h.

◆ maximumValue

double qMRMLWindowLevelWidget::maximumValue

Definition at line 36 of file qMRMLWindowLevelWidget.h.

◆ minimumValue

double qMRMLWindowLevelWidget::minimumValue

Definition at line 35 of file qMRMLWindowLevelWidget.h.

◆ window

double qMRMLWindowLevelWidget::window

Definition at line 33 of file qMRMLWindowLevelWidget.h.

Constructor & Destructor Documentation

◆ qMRMLWindowLevelWidget()

qMRMLWindowLevelWidget::qMRMLWindowLevelWidget ( QWidget *  parentWidget = nullptr)

◆ ~qMRMLWindowLevelWidget()

qMRMLWindowLevelWidget::~qMRMLWindowLevelWidget ( )

Member Function Documentation

◆ autoWindowLevel()

ControlMode qMRMLWindowLevelWidget::autoWindowLevel ( ) const

◆ autoWindowLevelValueChanged

void qMRMLWindowLevelWidget::autoWindowLevelValueChanged ( ControlMode  value)

Signal sent if the auto/manual value is updated

◆ level()

double qMRMLWindowLevelWidget::level ( ) const

Get level

◆ maximumValue()

double qMRMLWindowLevelWidget::maximumValue ( ) const

Get maximum of the range

◆ minimumValue()

double qMRMLWindowLevelWidget::minimumValue ( ) const

Get minimum of the range

◆ setAutoWindowLevel() [1/2]

void qMRMLWindowLevelWidget::setAutoWindowLevel ( ControlMode  autoWindowLevel)

Set Auto/Manual mode.

◆ setAutoWindowLevel [2/2]

void qMRMLWindowLevelWidget::setAutoWindowLevel ( int  autoWindowLevel)

Set Auto/Manual mode.

◆ setLevel

void qMRMLWindowLevelWidget::setLevel ( double  level)

Set level

◆ setMaximumValue

void qMRMLWindowLevelWidget::setMaximumValue ( double  max)

◆ setMinimumValue

void qMRMLWindowLevelWidget::setMinimumValue ( double  min)

◆ setMinMaxRangeValue

void qMRMLWindowLevelWidget::setMinMaxRangeValue ( double  min,
double  max 

Set min/max range

◆ setWindow

void qMRMLWindowLevelWidget::setWindow ( double  window)

Set window

◆ setWindowLevel

void qMRMLWindowLevelWidget::setWindowLevel ( double  window,
double  level 

Set window/level in once

◆ updateWidgetFromMRMLDisplayNode()

void qMRMLWindowLevelWidget::updateWidgetFromMRMLDisplayNode ( )

Update the widget from volume display node properties.

Reimplemented from qMRMLVolumeWidget.

◆ window()

double qMRMLWindowLevelWidget::window ( ) const

Get window

◆ windowLevelValuesChanged

void qMRMLWindowLevelWidget::windowLevelValuesChanged ( double  window,
double  level 

Signal sent if the window/level value is updated

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