Slicer  5.3
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
[legend]
Collaboration diagram for qMRMLWindowLevelWidget:
Collaboration graph
[legend]

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...
 

Properties

ControlMode autoWindowLevel
 
double level
 
double maximumBound
 
double maximumValue
 
double minimumBound
 
double minimumValue
 
double window
 

Public Slots

void setAutoWindowLevel (int autoWindowLevel)
 Set Auto/Manual mode. More...
 
void setLevel (double level)
 
Set level More...
 
void setMaximumBound (double max)
 
void setMaximumValue (double max)
 
void setMinimumBound (double min)
 
void setMinimumValue (double min)
 
void setMinMaxBounds (double min, double max)
 
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)
 

Signals

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 maximumBound () const
 
Get maximum of the range More...
 
double maximumValue () const
 
Get maximum of the range More...
 
double minimumBound () const
 
Get minimum 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
Q_INVOKABLE 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...
 
void updateWidgetFromMRMLVolumeNode () override
 Special initial updates that are done only when switching between volumes. 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
- Protected Attributes inherited from qMRMLVolumeWidget
QScopedPointer< qMRMLVolumeWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 27 of file qMRMLWindowLevelWidget.h.

Member Typedef Documentation

◆ Superclass

Constructors.

Definition at line 43 of file qMRMLWindowLevelWidget.h.

Member Enumeration Documentation

◆ ControlMode

Enumerator
Auto 
Manual 
ManualMinMax 

Definition at line 47 of file qMRMLWindowLevelWidget.h.

Property Documentation

◆ autoWindowLevel

ControlMode qMRMLWindowLevelWidget::autoWindowLevel
readwrite

Definition at line 32 of file qMRMLWindowLevelWidget.h.

◆ level

double qMRMLWindowLevelWidget::level
readwrite

Definition at line 34 of file qMRMLWindowLevelWidget.h.

◆ maximumBound

double qMRMLWindowLevelWidget::maximumBound
readwrite

Definition at line 38 of file qMRMLWindowLevelWidget.h.

◆ maximumValue

double qMRMLWindowLevelWidget::maximumValue
readwrite

Definition at line 36 of file qMRMLWindowLevelWidget.h.

◆ minimumBound

double qMRMLWindowLevelWidget::minimumBound
readwrite

Definition at line 37 of file qMRMLWindowLevelWidget.h.

◆ minimumValue

double qMRMLWindowLevelWidget::minimumValue
readwrite

Definition at line 35 of file qMRMLWindowLevelWidget.h.

◆ window

double qMRMLWindowLevelWidget::window
readwrite

Definition at line 33 of file qMRMLWindowLevelWidget.h.

Constructor & Destructor Documentation

◆ qMRMLWindowLevelWidget()

qMRMLWindowLevelWidget::qMRMLWindowLevelWidget ( QWidget *  parentWidget = nullptr)
explicit

◆ ~qMRMLWindowLevelWidget()

qMRMLWindowLevelWidget::~qMRMLWindowLevelWidget ( )
override

Member Function Documentation

◆ autoWindowLevel()

ControlMode qMRMLWindowLevelWidget::autoWindowLevel ( ) const

◆ autoWindowLevelValueChanged

void qMRMLWindowLevelWidget::autoWindowLevelValueChanged ( ControlMode  value)
signal


Signal sent if the auto/manual value is updated

◆ level()

double qMRMLWindowLevelWidget::level ( ) const


Get level

◆ maximumBound()

double qMRMLWindowLevelWidget::maximumBound ( ) const


Get maximum of the range

◆ maximumValue()

double qMRMLWindowLevelWidget::maximumValue ( ) const


Get maximum of the range

◆ minimumBound()

double qMRMLWindowLevelWidget::minimumBound ( ) const


Get minimum 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)
slot

Set Auto/Manual mode.

◆ setLevel

void qMRMLWindowLevelWidget::setLevel ( double  level)
slot


Set level

◆ setMaximumBound

void qMRMLWindowLevelWidget::setMaximumBound ( double  max)
slot

◆ setMaximumValue

void qMRMLWindowLevelWidget::setMaximumValue ( double  max)
slot

◆ setMinimumBound

void qMRMLWindowLevelWidget::setMinimumBound ( double  min)
slot

◆ setMinimumValue

void qMRMLWindowLevelWidget::setMinimumValue ( double  min)
slot

◆ setMinMaxBounds

void qMRMLWindowLevelWidget::setMinMaxBounds ( double  min,
double  max 
)
slot

◆ setMinMaxRangeValue

void qMRMLWindowLevelWidget::setMinMaxRangeValue ( double  min,
double  max 
)
slot


Set min/max range

◆ setWindow

void qMRMLWindowLevelWidget::setWindow ( double  window)
slot


Set window

◆ setWindowLevel

void qMRMLWindowLevelWidget::setWindowLevel ( double  window,
double  level 
)
slot


Set window/level in once

◆ updateWidgetFromMRMLDisplayNode()

void qMRMLWindowLevelWidget::updateWidgetFromMRMLDisplayNode ( )
overrideprotectedvirtual

Update the widget from volume display node properties.

Reimplemented from qMRMLVolumeWidget.

◆ updateWidgetFromMRMLVolumeNode()

void qMRMLWindowLevelWidget::updateWidgetFromMRMLVolumeNode ( )
overrideprotectedvirtual

Special initial updates that are done only when switching between volumes.

Reimplemented from qMRMLVolumeWidget.

◆ window()

double qMRMLWindowLevelWidget::window ( ) const


Get window

◆ windowLevelValuesChanged

void qMRMLWindowLevelWidget::windowLevelValuesChanged ( double  window,
double  level 
)
signal


Signal sent if the window/level value is updated


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