Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Markups/Widgets/qMRMLMarkupsROIWidget.h>
Public Types | |
typedef qMRMLMarkupsAbstractOptionsWidget | Superclass |
Public Types inherited from qMRMLMarkupsAbstractOptionsWidget | |
typedef QWidget | Superclass |
Public Slots | |
qMRMLMarkupsAbstractOptionsWidget * | createInstance () 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... | |
vtkMRMLMarkupsROINode * | mrmlROINode () 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 qMRMLMarkupsAbstractOptionsWidget * | createInstance () const =0 |
Clone options widget . Override to return a new instance of the options widget. More... | |
vtkMRMLMarkupsNode * | mrmlMarkupsNode () const |
vtkMRMLScene * | mrmlScene () 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< vtkMRMLMarkupsNode > | MarkupsNode |
vtkWeakPointer< vtkMRMLScene > | MRMLScene |
Additional Inherited Members | |
Properties inherited from qMRMLMarkupsAbstractOptionsWidget | |
QString | className |
Definition at line 39 of file qMRMLMarkupsROIWidget.h.
Definition at line 46 of file qMRMLMarkupsROIWidget.h.
qMRMLMarkupsROIWidget::qMRMLMarkupsROIWidget | ( | QWidget * | parent = nullptr | ) |
|
override |
|
overridevirtual |
Checks whether a given node can be handled by the widget.
Implements qMRMLMarkupsAbstractOptionsWidget.
|
inlineoverridevirtual |
Gets the name of the additional options widget type.
Implements qMRMLMarkupsAbstractOptionsWidget.
Definition at line 59 of file qMRMLMarkupsROIWidget.h.
|
inlineoverrideslot |
Returns an instance of the widget.
Definition at line 85 of file qMRMLMarkupsROIWidget.h.
|
signal |
bool qMRMLMarkupsROIWidget::insideOut | ( | ) |
Get the inside out state.
vtkMRMLMarkupsROINode* qMRMLMarkupsROIWidget::mrmlROINode | ( | ) | const |
Returns the current MRML ROI node.
|
protectedslot |
Internal function to update the ROIDisplay node.
|
protectedslot |
Internal function to update type of ROI.
|
slot |
Turn on/off the visibility of the ROI node.
void qMRMLMarkupsROIWidget::setExtent | ( | double | min, |
double | max | ||
) |
void qMRMLMarkupsROIWidget::setExtent | ( | double | minLR, |
double | maxLR, | ||
double | minPA, | ||
double | maxPA, | ||
double | minIS, | ||
double | maxIS | ||
) |
|
slot |
Turn on/off inside out state.
|
slot |
Turn on/off the tracking mode of the sliders. The ROI node will be updated only when the slider handles are released.
|
overrideslot |
Set the MRML node of interest.
|
protected |
|
protectedslot |
Internal function to update the ROI node based on the sliders.
|
overrideslot |
Updates the widget on MRML changes.
|
protected |
Definition at line 103 of file qMRMLMarkupsROIWidget.h.