qMRMLWindowLevelWidget Class Reference

#include <qMRMLWindowLevelWidget.h>

Inheritance diagram for qMRMLWindowLevelWidget:
QWidget

List of all members.

Public Types

typedef QWidget Superclass
 Constructors.

Public Slots

void setAutoWindowLevel (int autoWindowLevel)
void setLevel (double level)
void setMinMaxRange (int min, int max)
void setMinMaxRange (double min, double max)
void setMRMLVolumeNode (vtkMRMLNode *node)
void setMRMLVolumeNode (vtkMRMLScalarVolumeNode *displayNode)
void setWindow (double window)
void setWindowLevel (double window, double level)

Signals

void autoWindowLevelValueChanged (int value)
void windowLevelValuesChanged (double window, double level)

Public Member Functions

int autoWindowLevel () const
double level () const
vtkMRMLScalarVolumeNodemrmlVolumeNode () const
 qMRMLWindowLevelWidget (QWidget *parent)
double window () const
virtual ~qMRMLWindowLevelWidget ()

Protected Slots

void updateWidgetFromMRML ()
 update widget GUI from MRML node

Protected Member Functions

vtkMRMLScalarVolumeDisplayNodemrmlDisplayNode () const
void setMaximum (double max)
void setMinimum (double min)
void setMRMLVolumeDisplayNode (vtkMRMLScalarVolumeDisplayNode *displayNode)

Properties

int autoWindowLevel
double level
double window

Private Member Functions

 QCTK_DECLARE_PRIVATE (qMRMLWindowLevelWidget)

Private Attributes

vtkMRMLScalarVolumeDisplayNodeVolumeDisplayNode
vtkMRMLScalarVolumeNodeVolumeNode

Member Typedef Documentation

Constructors.


Constructor & Destructor Documentation

qMRMLWindowLevelWidget::qMRMLWindowLevelWidget ( QWidget parent  )  [explicit]
virtual qMRMLWindowLevelWidget::~qMRMLWindowLevelWidget (  )  [inline, virtual]

Member Function Documentation

int qMRMLWindowLevelWidget::autoWindowLevel (  )  const
void qMRMLWindowLevelWidget::autoWindowLevelValueChanged ( int  value  )  [signal]

Signal sent if the auto/manual value is updated

Referenced by setAutoWindowLevel().

double qMRMLWindowLevelWidget::level (  )  const

Get level

Referenced by setMinMaxRange(), setWindow(), and updateWidgetFromMRML().

vtkMRMLScalarVolumeDisplayNode* qMRMLWindowLevelWidget::mrmlDisplayNode (  )  const [inline, protected]

Return the current MRML display node

vtkMRMLScalarVolumeNode* qMRMLWindowLevelWidget::mrmlVolumeNode (  )  const [inline]

Return the current MRML node of interest

qMRMLWindowLevelWidget::QCTK_DECLARE_PRIVATE ( qMRMLWindowLevelWidget   )  [private]
void qMRMLWindowLevelWidget::setAutoWindowLevel ( int  autoWindowLevel  )  [slot]
void qMRMLWindowLevelWidget::setLevel ( double  level  )  [slot]

Set level

References setWindowLevel(), VolumeDisplayNode, and window().

void qMRMLWindowLevelWidget::setMaximum ( double  max  )  [protected]
void qMRMLWindowLevelWidget::setMinimum ( double  min  )  [protected]

Set sliders range

void qMRMLWindowLevelWidget::setMinMaxRange ( int  min,
int  max 
) [slot]

References setMinMaxRange().

void qMRMLWindowLevelWidget::setMinMaxRange ( double  min,
double  max 
) [slot]

Set min/max range

References level(), setWindowLevel(), and window().

Referenced by qMRMLWindowLevelWidget(), and setMinMaxRange().

void qMRMLWindowLevelWidget::setMRMLVolumeDisplayNode ( vtkMRMLScalarVolumeDisplayNode displayNode  )  [protected]

Set current MRML display node

References updateWidgetFromMRML(), and VolumeDisplayNode.

Referenced by setMRMLVolumeNode().

void qMRMLWindowLevelWidget::setMRMLVolumeNode ( vtkMRMLNode node  )  [slot]

References setMRMLVolumeNode().

void qMRMLWindowLevelWidget::setMRMLVolumeNode ( vtkMRMLScalarVolumeNode displayNode  )  [slot]

Set the MRML node of interest

References vtkMRMLVolumeNode::GetVolumeDisplayNode(), setMRMLVolumeDisplayNode(), and VolumeNode.

Referenced by setMRMLVolumeNode().

void qMRMLWindowLevelWidget::setWindow ( double  window  )  [slot]

Set window

References level(), setWindowLevel(), and VolumeDisplayNode.

void qMRMLWindowLevelWidget::setWindowLevel ( double  window,
double  level 
) [slot]
void qMRMLWindowLevelWidget::updateWidgetFromMRML (  )  [protected, slot]

update widget GUI from MRML node

References autoSlicerTracto2regions::d, level(), QCTK_D, VolumeDisplayNode, and window().

Referenced by setMRMLVolumeDisplayNode().

double qMRMLWindowLevelWidget::window (  )  const

Get window

Referenced by setLevel(), setMinMaxRange(), and updateWidgetFromMRML().

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

Signal sent if the window/level value is updated

Referenced by setWindowLevel().


Member Data Documentation


Property Documentation

int qMRMLWindowLevelWidget::autoWindowLevel [read, write]
double qMRMLWindowLevelWidget::level [read, write]
double qMRMLWindowLevelWidget::window [read, write]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1