Slicer  4.8
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 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)
 

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 maximumValue () const
 Get maximum of the range. More...
 
double minimumValue () const
 Get minimum of the range. More...
 
 qMRMLWindowLevelWidget (QWidget *parentWidget=0)
 
void setAutoWindowLevel (ControlMode autoWindowLevel)
 Set Auto/Manual mode. More...
 
double window () const
 Get window. More...
 
virtual ~qMRMLWindowLevelWidget ()
 
- Public Member Functions inherited from qMRMLVolumeWidget
vtkMRMLScalarVolumeNodemrmlVolumeNode () const
 Return the current MRML node of interest. More...
 
 qMRMLVolumeWidget (QWidget *parentWidget=0)
 
virtual ~qMRMLVolumeWidget ()
 

Protected Member Functions

virtual void updateWidgetFromMRMLDisplayNode ()
 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=0)
 

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

Constructors.

Definition at line 41 of file qMRMLWindowLevelWidget.h.

Member Enumeration Documentation

◆ ControlMode

Enumerator
Auto 
Manual 
ManualMinMax 

Definition at line 45 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.

◆ maximumValue

double qMRMLWindowLevelWidget::maximumValue
readwrite

Definition at line 36 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 = 0)
explicit

◆ ~qMRMLWindowLevelWidget()

virtual qMRMLWindowLevelWidget::~qMRMLWindowLevelWidget ( )
virtual

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.

◆ 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)
slot

Set Auto/Manual mode.

◆ setLevel

void qMRMLWindowLevelWidget::setLevel ( double  level)
slot

Set level.

◆ setMaximumValue

void qMRMLWindowLevelWidget::setMaximumValue ( double  max)
slot

◆ setMinimumValue

void qMRMLWindowLevelWidget::setMinimumValue ( double  min)
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()

virtual void qMRMLWindowLevelWidget::updateWidgetFromMRMLDisplayNode ( )
protectedvirtual

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

Signal sent if the window/level value is updated.


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