Slicer  4.11
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
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 fitROIToVolume ()
 
void setMRMLROINode (vtkMRMLNode *node)
 
void setMRMLVolumeNode (vtkMRMLNode *node)
 
void setMRMLVolumePropertyNode (vtkMRMLNode *node)
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

void addRenderingMethodWidget (const QString &methodClassName, qSlicerVolumeRenderingPropertiesWidget *widget)
 
Q_INVOKABLE vtkMRMLVolumeRenderingDisplayNodemrmlDisplayNode () const
 
Q_INVOKABLE vtkMRMLMarkupsROINodemrmlMarkupsROINode () const
 
Q_INVOKABLE vtkMRMLAnnotationROINodemrmlROINode () const
 
Q_INVOKABLE vtkMRMLVolumeNodemrmlVolumeNode () const
 
Q_INVOKABLE vtkMRMLVolumePropertyNodemrmlVolumePropertyNode () const
 
double nodeEditable (vtkMRMLNode *node) override
 
 qSlicerVolumeRenderingModuleWidget (QWidget *parent=nullptr)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
 ~qSlicerVolumeRenderingModuleWidget () override
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void enter ()
 
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
 qSlicerAbstractModuleWidget (QWidget *parent=nullptr)
 
 ~qSlicerAbstractModuleWidget () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
 ~qSlicerWidget () override
 
- 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 ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Slots

void onAutoReleaseGraphicsResourcesCheckBoxToggled (bool autoRelease)
 
void onChartsExtentChanged ()
 
void onCropToggled (bool)
 
void onCurrentFramerateChanged (double fps)
 
void onCurrentMemorySizeChanged ()
 
void onCurrentMRMLROINodeChanged (vtkMRMLNode *node)
 
void onCurrentMRMLVolumeNodeChanged (vtkMRMLNode *node)
 
void onCurrentMRMLVolumePropertyNodeChanged (vtkMRMLNode *node)
 
void onCurrentQualityControlChanged (int index)
 
void onCurrentRenderingMethodChanged (int index)
 
void onEffectiveRangeModified ()
 
void onROICropDisplayCheckBoxToggled (bool toggle)
 
void onThresholdChanged (bool threshold)
 
void onVisibilityChanged (bool)
 
void setFollowVolumeDisplayNode (bool)
 
void setIgnoreVolumesThreshold (bool ignore)
 
void synchronizeScalarDisplayNode ()
 
void updateWidgetFromMRML ()
 
void updateWidgetFromROINode ()
 

Protected Member Functions

void setup () override
 
- 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
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 42 of file qSlicerVolumeRenderingModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 49 of file qSlicerVolumeRenderingModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerVolumeRenderingModuleWidget()

qSlicerVolumeRenderingModuleWidget::qSlicerVolumeRenderingModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerVolumeRenderingModuleWidget()

qSlicerVolumeRenderingModuleWidget::~qSlicerVolumeRenderingModuleWidget ( )
override

Member Function Documentation

◆ addRenderingMethodWidget()

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

◆ fitROIToVolume

void qSlicerVolumeRenderingModuleWidget::fitROIToVolume ( )
slot

◆ mrmlDisplayNode()

Q_INVOKABLE vtkMRMLVolumeRenderingDisplayNode* qSlicerVolumeRenderingModuleWidget::mrmlDisplayNode ( ) const

◆ mrmlMarkupsROINode()

Q_INVOKABLE vtkMRMLMarkupsROINode* qSlicerVolumeRenderingModuleWidget::mrmlMarkupsROINode ( ) const

◆ mrmlROINode()

Q_INVOKABLE vtkMRMLAnnotationROINode* qSlicerVolumeRenderingModuleWidget::mrmlROINode ( ) const

◆ mrmlVolumeNode()

Q_INVOKABLE vtkMRMLVolumeNode* qSlicerVolumeRenderingModuleWidget::mrmlVolumeNode ( ) const

◆ mrmlVolumePropertyNode()

Q_INVOKABLE vtkMRMLVolumePropertyNode* qSlicerVolumeRenderingModuleWidget::mrmlVolumePropertyNode ( ) const

◆ nodeEditable()

double qSlicerVolumeRenderingModuleWidget::nodeEditable ( vtkMRMLNode node)
overridevirtual

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.

◆ onAutoReleaseGraphicsResourcesCheckBoxToggled

void qSlicerVolumeRenderingModuleWidget::onAutoReleaseGraphicsResourcesCheckBoxToggled ( bool  autoRelease)
protectedslot

◆ onChartsExtentChanged

void qSlicerVolumeRenderingModuleWidget::onChartsExtentChanged ( )
protectedslot

◆ onCropToggled

void qSlicerVolumeRenderingModuleWidget::onCropToggled ( bool  )
protectedslot

◆ onCurrentFramerateChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentFramerateChanged ( double  fps)
protectedslot

◆ onCurrentMemorySizeChanged

void qSlicerVolumeRenderingModuleWidget::onCurrentMemorySizeChanged ( )
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

◆ onEffectiveRangeModified

void qSlicerVolumeRenderingModuleWidget::onEffectiveRangeModified ( )
protectedslot

◆ onROICropDisplayCheckBoxToggled

void qSlicerVolumeRenderingModuleWidget::onROICropDisplayCheckBoxToggled ( bool  toggle)
protectedslot

◆ onThresholdChanged

void qSlicerVolumeRenderingModuleWidget::onThresholdChanged ( bool  threshold)
protectedslot

◆ onVisibilityChanged

void qSlicerVolumeRenderingModuleWidget::onVisibilityChanged ( bool  )
protectedslot

◆ setEditedNode()

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

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setFollowVolumeDisplayNode

void qSlicerVolumeRenderingModuleWidget::setFollowVolumeDisplayNode ( bool  )
protectedslot

◆ setIgnoreVolumesThreshold

void qSlicerVolumeRenderingModuleWidget::setIgnoreVolumesThreshold ( bool  ignore)
protectedslot

◆ setMRMLROINode

void qSlicerVolumeRenderingModuleWidget::setMRMLROINode ( vtkMRMLNode node)
slot

◆ setMRMLVolumeNode

void qSlicerVolumeRenderingModuleWidget::setMRMLVolumeNode ( vtkMRMLNode node)
slot

◆ setMRMLVolumePropertyNode

void qSlicerVolumeRenderingModuleWidget::setMRMLVolumePropertyNode ( vtkMRMLNode node)
slot

◆ setup()

void qSlicerVolumeRenderingModuleWidget::setup ( )
overrideprotectedvirtual

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

Reimplemented from qSlicerAbstractModuleWidget.

◆ synchronizeScalarDisplayNode

void qSlicerVolumeRenderingModuleWidget::synchronizeScalarDisplayNode ( )
protectedslot

◆ updateWidgetFromMRML

void qSlicerVolumeRenderingModuleWidget::updateWidgetFromMRML ( )
protectedslot

◆ updateWidgetFromROINode

void qSlicerVolumeRenderingModuleWidget::updateWidgetFromROINode ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerVolumeRenderingModuleWidgetPrivate> qSlicerVolumeRenderingModuleWidget::d_ptr
protected

Definition at line 101 of file qSlicerVolumeRenderingModuleWidget.h.


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