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
qSlicerCropVolumeModuleWidget Class Reference

#include <Modules/Loadable/CropVolume/qSlicerCropVolumeModuleWidget.h>

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

Public Types

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

Public Slots

void setParametersNode (vtkMRMLNode *node)
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

 qSlicerCropVolumeModuleWidget (QWidget *parent=nullptr)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
 ~qSlicerCropVolumeModuleWidget () override
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
Q_INVOKABLE double nodeEditable (vtkMRMLNode *node) override
 
 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 ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Slots

void initializeInputROI (vtkMRMLNode *)
 
void onApply ()
 
void onFillValueChanged (double)
 
void onFixAlignment ()
 
void onInputROIAdded (vtkMRMLNode *node)
 
void onInterpolationEnabled (bool interpolationEnabled)
 
void onInterpolationModeChanged ()
 
void onIsotropicModeChanged (bool)
 
void onMRMLSceneEndBatchProcessEvent ()
 
void onROIFit ()
 
void onROIVisibilityChanged (bool)
 
void onSpacingScalingValueChanged (double)
 
void onVolumeInformationSectionClicked (bool isOpen)
 
void setInputROI (vtkMRMLNode *)
 
void setInputVolume (vtkMRMLNode *)
 
void setOutputVolume (vtkMRMLNode *node)
 
void updateVolumeInfo ()
 
void updateWidgetFromMRML ()
 

Protected Member Functions

void enter () override
 
void setMRMLScene (vtkMRMLScene *) override
 Set the current MRML scene to the widget. More...
 
void setup () override
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerCropVolumeModuleWidgetPrivate > 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 14 of file qSlicerCropVolumeModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 21 of file qSlicerCropVolumeModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerCropVolumeModuleWidget()

qSlicerCropVolumeModuleWidget::qSlicerCropVolumeModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerCropVolumeModuleWidget()

qSlicerCropVolumeModuleWidget::~qSlicerCropVolumeModuleWidget ( )
override

Member Function Documentation

◆ enter()

void qSlicerCropVolumeModuleWidget::enter ( )
overrideprotectedvirtual

The enter and exit methods are called when the module panel changes. These give the module a chance to do any setup or shutdown operations as it becomes active and inactive. It is the responsibility of the module's manager to call the methods. enter() and exit() must be called when reimplementing these methods in order to have isEntered() valid.

Reimplemented from qSlicerAbstractModuleWidget.

◆ initializeInputROI

void qSlicerCropVolumeModuleWidget::initializeInputROI ( vtkMRMLNode )
protectedslot

◆ onApply

void qSlicerCropVolumeModuleWidget::onApply ( )
protectedslot

◆ onFillValueChanged

void qSlicerCropVolumeModuleWidget::onFillValueChanged ( double  )
protectedslot

◆ onFixAlignment

void qSlicerCropVolumeModuleWidget::onFixAlignment ( )
protectedslot

◆ onInputROIAdded

void qSlicerCropVolumeModuleWidget::onInputROIAdded ( vtkMRMLNode node)
protectedslot

when ROIs get added to the node selector, if the selector doesn't have a current node, select it

◆ onInterpolationEnabled

void qSlicerCropVolumeModuleWidget::onInterpolationEnabled ( bool  interpolationEnabled)
protectedslot

◆ onInterpolationModeChanged

void qSlicerCropVolumeModuleWidget::onInterpolationModeChanged ( )
protectedslot

◆ onIsotropicModeChanged

void qSlicerCropVolumeModuleWidget::onIsotropicModeChanged ( bool  )
protectedslot

◆ onMRMLSceneEndBatchProcessEvent

void qSlicerCropVolumeModuleWidget::onMRMLSceneEndBatchProcessEvent ( )
protectedslot

◆ onROIFit

void qSlicerCropVolumeModuleWidget::onROIFit ( )
protectedslot

◆ onROIVisibilityChanged

void qSlicerCropVolumeModuleWidget::onROIVisibilityChanged ( bool  )
protectedslot

◆ onSpacingScalingValueChanged

void qSlicerCropVolumeModuleWidget::onSpacingScalingValueChanged ( double  )
protectedslot

◆ onVolumeInformationSectionClicked

void qSlicerCropVolumeModuleWidget::onVolumeInformationSectionClicked ( bool  isOpen)
protectedslot

◆ setEditedNode()

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

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setInputROI

void qSlicerCropVolumeModuleWidget::setInputROI ( vtkMRMLNode )
protectedslot

◆ setInputVolume

void qSlicerCropVolumeModuleWidget::setInputVolume ( vtkMRMLNode )
protectedslot

◆ setMRMLScene()

void qSlicerCropVolumeModuleWidget::setMRMLScene ( vtkMRMLScene )
overrideprotectedvirtual

Set the current MRML scene to the widget.

Reimplemented from qSlicerObject.

◆ setOutputVolume

void qSlicerCropVolumeModuleWidget::setOutputVolume ( vtkMRMLNode node)
protectedslot

◆ setParametersNode

void qSlicerCropVolumeModuleWidget::setParametersNode ( vtkMRMLNode node)
slot

◆ setup()

void qSlicerCropVolumeModuleWidget::setup ( )
overrideprotectedvirtual

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

Reimplemented from qSlicerAbstractModuleWidget.

◆ updateVolumeInfo

void qSlicerCropVolumeModuleWidget::updateVolumeInfo ( )
protectedslot

◆ updateWidgetFromMRML

void qSlicerCropVolumeModuleWidget::updateWidgetFromMRML ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerCropVolumeModuleWidgetPrivate> qSlicerCropVolumeModuleWidget::d_ptr
protected

Definition at line 31 of file qSlicerCropVolumeModuleWidget.h.


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