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

Abstract widget to represent and control the properties of a scalar volume node. More...

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

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

Public Types

typedef QWidget Superclass
 Constructors. More...
 

Public Slots

void setMRMLVolumeNode (vtkMRMLScalarVolumeNode *displayNode)
 Set the volume to observe. More...
 
void setMRMLVolumeNode (vtkMRMLNode *node)
 

Public Member Functions

vtkMRMLScalarVolumeNodemrmlVolumeNode () const
 
Return the current MRML node of interest More...
 
 qMRMLVolumeWidget (QWidget *parentWidget=0)
 
virtual ~qMRMLVolumeWidget ()
 

Protected Slots

virtual void updateWidgetFromMRMLDisplayNode ()
 
virtual void updateWidgetFromMRMLVolumeNode ()
 

Protected Member Functions

vtkMRMLScalarVolumeDisplayNodemrmlDisplayNode () const
 Return the volume display node. More...
 
 qMRMLVolumeWidget (qMRMLVolumeWidgetPrivate *ptr, QWidget *parentWidget=0)
 

Protected Attributes

QScopedPointer< qMRMLVolumeWidgetPrivate > d_ptr
 

Detailed Description

Abstract widget to represent and control the properties of a scalar volume node.

Definition at line 38 of file qMRMLVolumeWidget.h.

Member Typedef Documentation

◆ Superclass

Constructors.

Definition at line 45 of file qMRMLVolumeWidget.h.

Constructor & Destructor Documentation

◆ qMRMLVolumeWidget() [1/2]

qMRMLVolumeWidget::qMRMLVolumeWidget ( QWidget *  parentWidget = 0)
explicit

◆ ~qMRMLVolumeWidget()

virtual qMRMLVolumeWidget::~qMRMLVolumeWidget ( )
virtual

◆ qMRMLVolumeWidget() [2/2]

qMRMLVolumeWidget::qMRMLVolumeWidget ( qMRMLVolumeWidgetPrivate *  ptr,
QWidget *  parentWidget = 0 
)
protected

Member Function Documentation

◆ mrmlDisplayNode()

vtkMRMLScalarVolumeDisplayNode* qMRMLVolumeWidget::mrmlDisplayNode ( ) const
protected

Return the volume display node.

◆ mrmlVolumeNode()

vtkMRMLScalarVolumeNode* qMRMLVolumeWidget::mrmlVolumeNode ( ) const


Return the current MRML node of interest

◆ setMRMLVolumeNode [1/2]

void qMRMLVolumeWidget::setMRMLVolumeNode ( vtkMRMLScalarVolumeNode displayNode)
slot

Set the volume to observe.

◆ setMRMLVolumeNode [2/2]

void qMRMLVolumeWidget::setMRMLVolumeNode ( vtkMRMLNode node)
slot

Utility slot to conveniently connect a SIGNAL(vtkMRMLNode*) with the widget.

◆ updateWidgetFromMRMLDisplayNode

virtual void qMRMLVolumeWidget::updateWidgetFromMRMLDisplayNode ( )
protectedvirtualslot

Update the widget from volume display node properties. The slot gets called when a volume display node is set or when it has been modified.

See also
updateWidgetFromMRMLDisplayNode(), setMRMLVolumeDisplayNode()

Reimplemented in qMRMLWindowLevelWidget, and qMRMLVolumeThresholdWidget.

◆ updateWidgetFromMRMLVolumeNode

virtual void qMRMLVolumeWidget::updateWidgetFromMRMLVolumeNode ( )
protectedvirtualslot

Update the widget from volume node properties. The slot gets called when a volume node is set or when it has been modified. To be reimplemented in subclasses.

See also
updateWidgetFromMRMLDisplayNode(), setMRMLVolumeNode()

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLVolumeWidgetPrivate> qMRMLVolumeWidget::d_ptr
protected

Definition at line 76 of file qMRMLVolumeWidget.h.


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