Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Markups/Widgets/qMRMLMarkupsPlaneWidget.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 | setMRMLMarkupsNode (vtkMRMLMarkupsNode *node) override |
Set the MRML node of interest. More... | |
void | updateWidgetFromMRML () override |
Updates the widget based on information from MRML. 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... | |
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... | |
vtkMRMLMarkupsPlaneNode * | mrmlPlaneNode () const |
Returns the current MRML Plane node. More... | |
qMRMLMarkupsPlaneWidget (QWidget *parent=nullptr) | |
~qMRMLMarkupsPlaneWidget () 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 | onNormalOpacitySliderChanged () |
void | onNormalVisibilityCheckBoxChanged () |
void | onPlaneBoundsSpinBoxChanged () |
void | onPlaneSizeModeIndexChanged () |
void | onPlaneSizeSpinBoxChanged () |
void | onPlaneTypeIndexChanged () |
Internal function to update type of Plane. More... | |
Protected Member Functions | |
void | setup () |
Protected Attributes | |
QScopedPointer< qMRMLMarkupsPlaneWidgetPrivate > | 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 41 of file qMRMLMarkupsPlaneWidget.h.
Definition at line 47 of file qMRMLMarkupsPlaneWidget.h.
qMRMLMarkupsPlaneWidget::qMRMLMarkupsPlaneWidget | ( | 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 55 of file qMRMLMarkupsPlaneWidget.h.
|
inlineoverrideslot |
Returns an instance of the widget.
Definition at line 68 of file qMRMLMarkupsPlaneWidget.h.
vtkMRMLMarkupsPlaneNode* qMRMLMarkupsPlaneWidget::mrmlPlaneNode | ( | ) | const |
Returns the current MRML Plane node.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
Internal function to update type of Plane.
|
overrideslot |
Set the MRML node of interest.
|
protected |
|
overrideslot |
Updates the widget based on information from MRML.
|
protected |
Definition at line 86 of file qMRMLMarkupsPlaneWidget.h.