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 | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerVolumeRenderingModuleWidget Class Reference

#include <Modules/Loadable/VolumeRendering/Widgets/qSlicerVolumeRenderingModuleWidget.h>

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

Public Types

typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void addVolumeIntoView (vtkMRMLNode *node)
 
void applyPreset (vtkMRMLNode *volumePropertyNode)
 
void fitROIToVolume ()
 
void setMRMLDisplayNode (vtkMRMLNode *node)
 
void setMRMLROINode (vtkMRMLNode *node)
 
void setMRMLVolumeNode (vtkMRMLNode *node)
 Set the MRML node of interest. More...
 
void setMRMLVolumePropertyNode (vtkMRMLNode *node)
 
- Public Slots inherited from qSlicerWidget
virtual void setMRMLScene (vtkMRMLScene *scene)
 

Signals

void currentVolumeNodeChanged (vtkMRMLNode *node)
 
void currentVolumeRenderingDisplayNodeChanged (vtkMRMLNode *node)
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

void addRenderingMethodWidget (const QString &methodClassName, qSlicerVolumeRenderingPropertiesWidget *widget)
 
vtkMRMLVolumeRenderingDisplayNodemrmlDisplayNode () const
 
vtkMRMLAnnotationROINodemrmlROINode () const
 
vtkMRMLScalarVolumeNodemrmlVolumeNode () const
 
vtkMRMLVolumePropertyNodemrmlVolumePropertyNode () const
 
virtual double nodeEditable (vtkMRMLNode *node)
 
 qSlicerVolumeRenderingModuleWidget (QWidget *parent=0)
 
virtual bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString())
 Node editing. More...
 
virtual ~qSlicerVolumeRenderingModuleWidget ()
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void enter ()
 
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
 qSlicerAbstractModuleWidget (QWidget *parent=0)
 
virtual ~qSlicerAbstractModuleWidget ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
virtual ~qSlicerAbstractModuleRepresentation ()
 

Protected Slots

void endInteraction ()
 
void interaction ()
 
void offsetPreset (double newPosition)
 
void onCropToggled (bool)
 
void onCurrentFramerateChanged (double fps)
 
void onCurrentMemorySizeChanged (int index)
 
void onCurrentMRMLDisplayNodeChanged (vtkMRMLNode *node)
 
void onCurrentMRMLROINodeChanged (vtkMRMLNode *node)
 
void onCurrentMRMLVolumeNodeChanged (vtkMRMLNode *node)
 
void onCurrentMRMLVolumePropertyNodeChanged (vtkMRMLNode *node)
 
void onCurrentQualityControlChanged (int index)
 
void onCurrentRenderingMethodChanged (int index)
 
void onROICropDisplayCheckBoxToggled (bool toggle)
 
void onThresholdChanged (bool threshold)
 
void onVisibilityChanged (bool)
 
void resetOffset ()
 
void setFollowVolumeDisplayNode (bool)
 
void setIgnoreVolumesThreshold (bool ignore)
 
void startInteraction ()
 
void synchronizeScalarDisplayNode ()
 
void updateFromMRMLDisplayNode ()
 
void updateFromMRMLDisplayROINode ()
 
void updatePresetSliderRange ()
 

Protected Member Functions

virtual void setup ()
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerVolumeRenderingModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 

Detailed Description

Definition at line 41 of file qSlicerVolumeRenderingModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 48 of file qSlicerVolumeRenderingModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerVolumeRenderingModuleWidget()

qSlicerVolumeRenderingModuleWidget::qSlicerVolumeRenderingModuleWidget ( QWidget *  parent = 0)

◆ ~qSlicerVolumeRenderingModuleWidget()

virtual qSlicerVolumeRenderingModuleWidget::~qSlicerVolumeRenderingModuleWidget ( )
virtual

Member Function Documentation

◆ addRenderingMethodWidget()

void qSlicerVolumeRenderingModuleWidget::addRenderingMethodWidget ( const QString &  methodClassName,
qSlicerVolumeRenderingPropertiesWidget widget 
)

◆ addVolumeIntoView

void qSlicerVolumeRenderingModuleWidget::addVolumeIntoView ( vtkMRMLNode node)
slot

◆ applyPreset

void qSlicerVolumeRenderingModuleWidget::applyPreset ( vtkMRMLNode volumePropertyNode)
slot

◆ currentVolumeNodeChanged

void qSlicerVolumeRenderingModuleWidget::currentVolumeNodeChanged ( vtkMRMLNode node)
signal

◆ currentVolumeRenderingDisplayNodeChanged

void qSlicerVolumeRenderingModuleWidget::currentVolumeRenderingDisplayNodeChanged ( vtkMRMLNode node)
signal

◆ endInteraction

void qSlicerVolumeRenderingModuleWidget::endInteraction ( )
protectedslot

◆ fitROIToVolume

void qSlicerVolumeRenderingModuleWidget::fitROIToVolume ( )
slot

◆ interaction

void qSlicerVolumeRenderingModuleWidget::interaction ( )
protectedslot

◆ mrmlDisplayNode()

vtkMRMLVolumeRenderingDisplayNode* qSlicerVolumeRenderingModuleWidget::mrmlDisplayNode ( ) const

◆ mrmlROINode()

vtkMRMLAnnotationROINode* qSlicerVolumeRenderingModuleWidget::mrmlROINode ( ) const

◆ mrmlVolumeNode()

vtkMRMLScalarVolumeNode* qSlicerVolumeRenderingModuleWidget::mrmlVolumeNode ( ) const

◆ mrmlVolumePropertyNode()

vtkMRMLVolumePropertyNode* qSlicerVolumeRenderingModuleWidget::mrmlVolumePropertyNode ( ) const

◆ nodeEditable()

virtual double qSlicerVolumeRenderingModuleWidget::nodeEditable ( vtkMRMLNode node)
virtual

Returns a confidence value (between 0.0 and 1.0) that defines how much this widget is suitable for editing the provided node. In general value of 0.5 should be used. If the returned value is 0 then it means the node should not be attempted to set as edited node. This node has to be overridden in child classes that want to use a non-default confidence value (for example, they look into the node contents and decide based on that if the node belongs to this module).

Reimplemented from qSlicerAbstractModuleWidget.

◆ offsetPreset

void qSlicerVolumeRenderingModuleWidget::offsetPreset ( double  newPosition)
protectedslot

◆ onCropToggled

void qSlicerVolumeRenderingModuleWidget::onCropToggled ( bool  )
protectedslot

◆ onCurrentFramerateChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentFramerateChanged ( double  fps)
protectedslot

◆ onCurrentMemorySizeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMemorySizeChanged ( int  index)
protectedslot

◆ onCurrentMRMLDisplayNodeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMRMLDisplayNodeChanged ( vtkMRMLNode node)
protectedslot

◆ onCurrentMRMLROINodeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMRMLROINodeChanged ( vtkMRMLNode node)
protectedslot

◆ onCurrentMRMLVolumeNodeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMRMLVolumeNodeChanged ( vtkMRMLNode node)
protectedslot

◆ onCurrentMRMLVolumePropertyNodeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMRMLVolumePropertyNodeChanged ( vtkMRMLNode node)
protectedslot

◆ onCurrentQualityControlChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentQualityControlChanged ( int  index)
protectedslot

◆ onCurrentRenderingMethodChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentRenderingMethodChanged ( int  index)
protectedslot

◆ onROICropDisplayCheckBoxToggled

void qSlicerVolumeRenderingModuleWidget::onROICropDisplayCheckBoxToggled ( bool  toggle)
protectedslot

◆ onThresholdChanged

void qSlicerVolumeRenderingModuleWidget::onThresholdChanged ( bool  threshold)
protectedslot

◆ onVisibilityChanged

void qSlicerVolumeRenderingModuleWidget::onVisibilityChanged ( bool  )
protectedslot

◆ resetOffset

void qSlicerVolumeRenderingModuleWidget::resetOffset ( )
protectedslot

◆ setEditedNode()

virtual bool qSlicerVolumeRenderingModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
virtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setFollowVolumeDisplayNode

void qSlicerVolumeRenderingModuleWidget::setFollowVolumeDisplayNode ( bool  )
protectedslot

◆ setIgnoreVolumesThreshold

void qSlicerVolumeRenderingModuleWidget::setIgnoreVolumesThreshold ( bool  ignore)
protectedslot

◆ setMRMLDisplayNode

void qSlicerVolumeRenderingModuleWidget::setMRMLDisplayNode ( vtkMRMLNode node)
slot

◆ setMRMLROINode

void qSlicerVolumeRenderingModuleWidget::setMRMLROINode ( vtkMRMLNode node)
slot

◆ setMRMLVolumeNode

void qSlicerVolumeRenderingModuleWidget::setMRMLVolumeNode ( vtkMRMLNode node)
slot

Set the MRML node of interest.

◆ setMRMLVolumePropertyNode

void qSlicerVolumeRenderingModuleWidget::setMRMLVolumePropertyNode ( vtkMRMLNode node)
slot

◆ setup()

virtual void qSlicerVolumeRenderingModuleWidget::setup ( )
protectedvirtual

All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.

Reimplemented from qSlicerAbstractModuleWidget.

◆ startInteraction

void qSlicerVolumeRenderingModuleWidget::startInteraction ( )
protectedslot

◆ synchronizeScalarDisplayNode

void qSlicerVolumeRenderingModuleWidget::synchronizeScalarDisplayNode ( )
protectedslot

◆ updateFromMRMLDisplayNode

void qSlicerVolumeRenderingModuleWidget::updateFromMRMLDisplayNode ( )
protectedslot

◆ updateFromMRMLDisplayROINode

void qSlicerVolumeRenderingModuleWidget::updateFromMRMLDisplayROINode ( )
protectedslot

◆ updatePresetSliderRange

void qSlicerVolumeRenderingModuleWidget::updatePresetSliderRange ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerVolumeRenderingModuleWidgetPrivate> qSlicerVolumeRenderingModuleWidget::d_ptr
protected

Definition at line 116 of file qSlicerVolumeRenderingModuleWidget.h.


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