Slicer  5.2
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 | Signals | Public Member Functions | Protected Slots | Protected Member Functions | 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 Types

typedef qMRMLMarkupsAbstractOptionsWidget Superclass
 
- Public Types inherited from qMRMLMarkupsAbstractOptionsWidget
typedef QWidget Superclass
 

Public Slots

qMRMLMarkupsAbstractOptionsWidgetcreateInstance () const override
 Returns an instance of the widget. More...
 
void setDisplayClippingBox (bool visible)
 Turn on/off the visibility of the ROI node. More...
 
void setInsideOut (bool insideOut)
 Turn on/off inside out state. More...
 
void setInteractiveMode (bool interactive)
 
void setMRMLMarkupsNode (vtkMRMLMarkupsNode *node) override
 Set the MRML node of interest. More...
 
void updateWidgetFromMRML () override
 Updates the widget on MRML changes. More...
 
- Public Slots inherited from qMRMLMarkupsAbstractOptionsWidget
void setMRMLMarkupsNode (vtkMRMLNode *markupsNode)
 Sets the vtkMRMLNode to operate on. More...
 
virtual void setMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode)=0
 Sets the vtkMRMLMarkupsNode to operate on. More...
 
virtual void setMRMLScene (vtkMRMLScene *mrmlScene)
 Sets the vtkMRMLNode to operate on. More...
 

Signals

void displayClippingBoxChanged (bool)
 

Public Member Functions

bool canManageMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode) const override
 Checks whether a given node can be handled by the widget. More...
 
const QString className () const override
 Gets the name of the additional options widget type. More...
 
bool insideOut ()
 Get the inside out state. More...
 
vtkMRMLMarkupsROINodemrmlROINode () const
 Returns the current MRML ROI node. More...
 
 qMRMLMarkupsROIWidget (QWidget *parent=nullptr)
 
void setExtent (double min, double max)
 
void setExtent (double minLR, double maxLR, double minPA, double maxPA, double minIS, double maxIS)
 
 ~qMRMLMarkupsROIWidget () override
 
- Public Member Functions inherited from qMRMLMarkupsAbstractOptionsWidget
virtual qMRMLMarkupsAbstractOptionsWidgetcreateInstance () const =0
 Clone options widget . Override to return a new instance of the options widget. More...
 
vtkMRMLMarkupsNodemrmlMarkupsNode () const
 
vtkMRMLScenemrmlScene () const
 
 qMRMLMarkupsAbstractOptionsWidget (QWidget *parent=nullptr)
 
virtual void updateWidgetFromMRML ()=0
 Updates the widget based on information from MRML. More...
 
 ~qMRMLMarkupsAbstractOptionsWidget ()=default
 

Protected Slots

void onMRMLDisplayNodeModified ()
 Internal function to update the ROIDisplay node. More...
 
void onROITypeParameterChanged ()
 Internal function to update type of ROI. More...
 
void updateROI ()
 Internal function to update the ROI node based on the sliders. More...
 

Protected Member Functions

void setup ()
 

Protected Attributes

QScopedPointer< qMRMLMarkupsROIWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLMarkupsAbstractOptionsWidget
vtkWeakPointer< vtkMRMLMarkupsNodeMarkupsNode
 
vtkWeakPointer< vtkMRMLSceneMRMLScene
 

Additional Inherited Members

- Properties inherited from qMRMLMarkupsAbstractOptionsWidget
QString className
 

Detailed Description

Definition at line 39 of file qMRMLMarkupsROIWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 46 of file qMRMLMarkupsROIWidget.h.

Constructor & Destructor Documentation

◆ qMRMLMarkupsROIWidget()

qMRMLMarkupsROIWidget::qMRMLMarkupsROIWidget ( QWidget *  parent = nullptr)

◆ ~qMRMLMarkupsROIWidget()

qMRMLMarkupsROIWidget::~qMRMLMarkupsROIWidget ( )
override

Member Function Documentation

◆ canManageMRMLMarkupsNode()

bool qMRMLMarkupsROIWidget::canManageMRMLMarkupsNode ( vtkMRMLMarkupsNode markupsNode) const
overridevirtual

Checks whether a given node can be handled by the widget.

Implements qMRMLMarkupsAbstractOptionsWidget.

◆ className()

const QString qMRMLMarkupsROIWidget::className ( ) const
inlineoverridevirtual

Gets the name of the additional options widget type.

Implements qMRMLMarkupsAbstractOptionsWidget.

Definition at line 59 of file qMRMLMarkupsROIWidget.h.

◆ createInstance

qMRMLMarkupsAbstractOptionsWidget* qMRMLMarkupsROIWidget::createInstance ( ) const
inlineoverrideslot

Returns an instance of the widget.

Definition at line 85 of file qMRMLMarkupsROIWidget.h.

◆ displayClippingBoxChanged

void qMRMLMarkupsROIWidget::displayClippingBoxChanged ( bool  )
signal

◆ insideOut()

bool qMRMLMarkupsROIWidget::insideOut ( )

Get the inside out state.

◆ mrmlROINode()

vtkMRMLMarkupsROINode* qMRMLMarkupsROIWidget::mrmlROINode ( ) const

Returns the current MRML ROI node.

◆ onMRMLDisplayNodeModified

void qMRMLMarkupsROIWidget::onMRMLDisplayNodeModified ( )
protectedslot

Internal function to update the ROIDisplay node.

◆ onROITypeParameterChanged

void qMRMLMarkupsROIWidget::onROITypeParameterChanged ( )
protectedslot

Internal function to update type of ROI.

◆ 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 
)

◆ setInsideOut

void qMRMLMarkupsROIWidget::setInsideOut ( bool  insideOut)
slot

Turn on/off inside out state.

◆ 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.

◆ setMRMLMarkupsNode

void qMRMLMarkupsROIWidget::setMRMLMarkupsNode ( vtkMRMLMarkupsNode node)
overrideslot

Set the MRML node of interest.

◆ setup()

void qMRMLMarkupsROIWidget::setup ( )
protected

◆ updateROI

void qMRMLMarkupsROIWidget::updateROI ( )
protectedslot

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

◆ updateWidgetFromMRML

void qMRMLMarkupsROIWidget::updateWidgetFromMRML ( )
overrideslot

Updates the widget on MRML changes.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLMarkupsROIWidgetPrivate> qMRMLMarkupsROIWidget::d_ptr
protected

Definition at line 103 of file qMRMLMarkupsROIWidget.h.


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