Slicer  5.3
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 | Public Member Functions | Protected Member Functions | Protected Attributes
qMRMLMarkupsAngleMeasurementsWidget Class Reference

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

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

Public Types

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

Public Slots

void onAngleMeasurementModeChanged ()
 Change angle mode of current angle markup if combobox selection is made. More...
 
void onRotationAxisChanged ()
 Update angle measurement rotation axis if the user edits the column vector. 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 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...
 
qMRMLMarkupsAbstractOptionsWidgetcreateInstance () const override
 Returns an instance of the widget. More...
 
 qMRMLMarkupsAngleMeasurementsWidget (QWidget *parent=nullptr)
 
void setMRMLMarkupsNode (vtkMRMLMarkupsNode *node) override
 Set the MRML node of interest. More...
 
 ~qMRMLMarkupsAngleMeasurementsWidget () override
 
- Public Member Functions inherited from qMRMLMarkupsAbstractOptionsWidget
vtkMRMLMarkupsNodemrmlMarkupsNode () const
 
vtkMRMLScenemrmlScene () const
 
 qMRMLMarkupsAbstractOptionsWidget (QWidget *parent=nullptr)
 
virtual void updateWidgetFromMRML ()=0
 Updates the widget based on information from MRML. More...
 
 ~qMRMLMarkupsAbstractOptionsWidget ()=default
 

Protected Member Functions

 qMRMLMarkupsAngleMeasurementsWidget (QWidget *parent, qMRMLMarkupsAngleMeasurementsWidgetPrivate &d)
 
void setup ()
 

Protected Attributes

QScopedPointer< qMRMLMarkupsAngleMeasurementsWidgetPrivate > 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 35 of file qMRMLMarkupsAngleMeasurementsWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 42 of file qMRMLMarkupsAngleMeasurementsWidget.h.

Constructor & Destructor Documentation

◆ qMRMLMarkupsAngleMeasurementsWidget() [1/2]

qMRMLMarkupsAngleMeasurementsWidget::qMRMLMarkupsAngleMeasurementsWidget ( QWidget *  parent = nullptr)

◆ ~qMRMLMarkupsAngleMeasurementsWidget()

qMRMLMarkupsAngleMeasurementsWidget::~qMRMLMarkupsAngleMeasurementsWidget ( )
override

◆ qMRMLMarkupsAngleMeasurementsWidget() [2/2]

qMRMLMarkupsAngleMeasurementsWidget::qMRMLMarkupsAngleMeasurementsWidget ( QWidget *  parent,
qMRMLMarkupsAngleMeasurementsWidgetPrivate &  d 
)
protected

Member Function Documentation

◆ canManageMRMLMarkupsNode()

bool qMRMLMarkupsAngleMeasurementsWidget::canManageMRMLMarkupsNode ( vtkMRMLMarkupsNode markupsNode) const
overridevirtual

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

Implements qMRMLMarkupsAbstractOptionsWidget.

◆ className()

const QString qMRMLMarkupsAngleMeasurementsWidget::className ( ) const
inlineoverridevirtual

Gets the name of the additional options widget type.

Implements qMRMLMarkupsAbstractOptionsWidget.

Definition at line 47 of file qMRMLMarkupsAngleMeasurementsWidget.h.

◆ createInstance()

qMRMLMarkupsAbstractOptionsWidget* qMRMLMarkupsAngleMeasurementsWidget::createInstance ( ) const
inlineoverridevirtual

Returns an instance of the widget.

Implements qMRMLMarkupsAbstractOptionsWidget.

Definition at line 56 of file qMRMLMarkupsAngleMeasurementsWidget.h.

◆ onAngleMeasurementModeChanged

void qMRMLMarkupsAngleMeasurementsWidget::onAngleMeasurementModeChanged ( )
slot

Change angle mode of current angle markup if combobox selection is made.

◆ onRotationAxisChanged

void qMRMLMarkupsAngleMeasurementsWidget::onRotationAxisChanged ( )
slot

Update angle measurement rotation axis if the user edits the column vector.

◆ setMRMLMarkupsNode()

void qMRMLMarkupsAngleMeasurementsWidget::setMRMLMarkupsNode ( vtkMRMLMarkupsNode node)
overridevirtual

Set the MRML node of interest.

Implements qMRMLMarkupsAbstractOptionsWidget.

◆ setup()

void qMRMLMarkupsAngleMeasurementsWidget::setup ( )
protected

◆ updateWidgetFromMRML

void qMRMLMarkupsAngleMeasurementsWidget::updateWidgetFromMRML ( )
overrideslot

Updates the widget on MRML changes.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLMarkupsAngleMeasurementsWidgetPrivate> qMRMLMarkupsAngleMeasurementsWidget::d_ptr
protected

Definition at line 74 of file qMRMLMarkupsAngleMeasurementsWidget.h.


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