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

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

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

Public Slots

void setDisplayClippingBox (bool visible)
 Turn on/off the visibility of the ROI node. More...
 
void setInteractiveMode (bool interactive)
 
void setMRMLROINode (vtkMRMLROINode *node)
 Set the MRML node of interest. More...
 
void setMRMLROINode (vtkMRMLNode *node)
 

Public Member Functions

vtkMRMLROINodemrmlROINode () const
 Returns the current MRML ROI node. More...
 
 qMRMLROIWidget (QWidget *parent)
 Constructors. More...
 
void setExtent (double min, double max)
 
 ~qMRMLROIWidget () override
 

Protected Slots

void onMRMLNodeModified ()
 Internal function to update the widgets based on the ROI node. More...
 
void updateROI ()
 Internal function to update the ROI node based on the sliders. More...
 

Protected Attributes

QScopedPointer< qMRMLROIWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 37 of file qMRMLROIWidget.h.

Constructor & Destructor Documentation

◆ qMRMLROIWidget()

qMRMLROIWidget::qMRMLROIWidget ( QWidget *  parent)
explicit

Constructors.

◆ ~qMRMLROIWidget()

qMRMLROIWidget::~qMRMLROIWidget ( )
override

Member Function Documentation

◆ mrmlROINode()

vtkMRMLROINode* qMRMLROIWidget::mrmlROINode ( ) const

Returns the current MRML ROI node.

◆ onMRMLNodeModified

void qMRMLROIWidget::onMRMLNodeModified ( )
protectedslot

Internal function to update the widgets based on the ROI node.

◆ setDisplayClippingBox

void qMRMLROIWidget::setDisplayClippingBox ( bool  visible)
slot

Turn on/off the visibility of the ROI node.

◆ setExtent()

void qMRMLROIWidget::setExtent ( double  min,
double  max 
)

◆ setInteractiveMode

void qMRMLROIWidget::setInteractiveMode ( bool  interactive)
slot

Turn on/off the tracking mode of the sliders. The ROI node will be updated only when the slider handles are released.

◆ setMRMLROINode [1/2]

void qMRMLROIWidget::setMRMLROINode ( vtkMRMLROINode node)
slot

Set the MRML node of interest.

◆ setMRMLROINode [2/2]

void qMRMLROIWidget::setMRMLROINode ( vtkMRMLNode node)
slot

Utility function that calls setMRMLROINode(vtkMRMLROINode*) It's useful to connect to vtkMRMLNode* signals when you are sure of the type

◆ updateROI

void qMRMLROIWidget::updateROI ( )
protectedslot

Internal function to update the ROI node based on the sliders.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLROIWidgetPrivate> qMRMLROIWidget::d_ptr
protected

Definition at line 74 of file qMRMLROIWidget.h.


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