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

#include <Modules/Loadable/Annotations/Widgets/qMRMLAnnotationROIWidget.h>

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

Public Slots

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

Signals

void displayClippingBoxChanged (bool)
 

Public Member Functions

vtkMRMLAnnotationROINodemrmlROINode () const
 Returns the current MRML ROI node. More...
 
 qMRMLAnnotationROIWidget (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)
 
 ~qMRMLAnnotationROIWidget () 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< qMRMLAnnotationROIWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 38 of file qMRMLAnnotationROIWidget.h.

Constructor & Destructor Documentation

◆ qMRMLAnnotationROIWidget()

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

Constructors.

◆ ~qMRMLAnnotationROIWidget()

qMRMLAnnotationROIWidget::~qMRMLAnnotationROIWidget ( )
override

Member Function Documentation

◆ displayClippingBoxChanged

void qMRMLAnnotationROIWidget::displayClippingBoxChanged ( bool  )
signal

◆ mrmlROINode()

vtkMRMLAnnotationROINode* qMRMLAnnotationROIWidget::mrmlROINode ( ) const

Returns the current MRML ROI node.

◆ onMRMLDisplayNodeModified

void qMRMLAnnotationROIWidget::onMRMLDisplayNodeModified ( )
protectedslot

Internal function to update the ROIDisplay node.

◆ onMRMLNodeModified

void qMRMLAnnotationROIWidget::onMRMLNodeModified ( )
protectedslot

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

◆ setDisplayClippingBox

void qMRMLAnnotationROIWidget::setDisplayClippingBox ( bool  visible)
slot

Turn on/off the visibility of the ROI node.

◆ setExtent() [1/2]

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

◆ setExtent() [2/2]

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

◆ setInteractiveMode

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

◆ setMRMLAnnotationROINode [1/2]

void qMRMLAnnotationROIWidget::setMRMLAnnotationROINode ( vtkMRMLAnnotationROINode node)
slot

Set the MRML node of interest.

◆ setMRMLAnnotationROINode [2/2]

void qMRMLAnnotationROIWidget::setMRMLAnnotationROINode ( vtkMRMLNode node)
slot

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

◆ updateROI

void qMRMLAnnotationROIWidget::updateROI ( )
protectedslot

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

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLAnnotationROIWidgetPrivate> qMRMLAnnotationROIWidget::d_ptr
protected

Definition at line 82 of file qMRMLAnnotationROIWidget.h.


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