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

#include <Modules/Loadable/Markups/Widgets/qMRMLMarkupsROIWidget.h>

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

Public Slots

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

Signals

void displayClippingBoxChanged (bool)
 

Public Member Functions

vtkMRMLMarkupsROINodemrmlROINode () const
 Returns the current MRML ROI node. More...
 
 qMRMLMarkupsROIWidget (QWidget *parent=nullptr)
 Constructors. More...
 
void setExtent (double min, double max)
 
void setExtent (double minLR, double maxLR, double minPA, double maxPA, double minIS, double maxIS)
 
 ~qMRMLMarkupsROIWidget () override
 

Protected Slots

void onMRMLDisplayNodeModified ()
 Internal function to update the ROIDisplay node. More...
 
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< qMRMLMarkupsROIWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 40 of file qMRMLMarkupsROIWidget.h.

Constructor & Destructor Documentation

◆ qMRMLMarkupsROIWidget()

qMRMLMarkupsROIWidget::qMRMLMarkupsROIWidget ( QWidget *  parent = nullptr)
explicit

Constructors.

◆ ~qMRMLMarkupsROIWidget()

qMRMLMarkupsROIWidget::~qMRMLMarkupsROIWidget ( )
override

Member Function Documentation

◆ displayClippingBoxChanged

void qMRMLMarkupsROIWidget::displayClippingBoxChanged ( bool  )
signal

◆ mrmlROINode()

vtkMRMLMarkupsROINode* qMRMLMarkupsROIWidget::mrmlROINode ( ) const

Returns the current MRML ROI node.

◆ onMRMLDisplayNodeModified

void qMRMLMarkupsROIWidget::onMRMLDisplayNodeModified ( )
protectedslot

Internal function to update the ROIDisplay node.

◆ onMRMLNodeModified

void qMRMLMarkupsROIWidget::onMRMLNodeModified ( )
protectedslot

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

◆ setDisplayClippingBox

void qMRMLMarkupsROIWidget::setDisplayClippingBox ( bool  visible)
slot

Turn on/off the visibility of the ROI node.

◆ setExtent() [1/2]

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

◆ setExtent() [2/2]

void qMRMLMarkupsROIWidget::setExtent ( double  minLR,
double  maxLR,
double  minPA,
double  maxPA,
double  minIS,
double  maxIS 
)

◆ setInteractiveMode

void qMRMLMarkupsROIWidget::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.

◆ setMRMLMarkupsROINode [1/2]

void qMRMLMarkupsROIWidget::setMRMLMarkupsROINode ( vtkMRMLMarkupsROINode node)
slot

Set the MRML node of interest.

◆ setMRMLMarkupsROINode [2/2]

void qMRMLMarkupsROIWidget::setMRMLMarkupsROINode ( vtkMRMLNode node)
slot

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

◆ updateROI

void qMRMLMarkupsROIWidget::updateROI ( )
protectedslot

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

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLMarkupsROIWidgetPrivate> qMRMLMarkupsROIWidget::d_ptr
protected

Definition at line 85 of file qMRMLMarkupsROIWidget.h.


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