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 | Properties | Public Slots | Public Member Functions | Protected Attributes
qMRMLMarkupsAbstractOptionsWidget Class Referenceabstract

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

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

Public Types

typedef QWidget Superclass
 

Properties

QString className
 

Public Slots

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

virtual bool canManageMRMLMarkupsNode (vtkMRMLMarkupsNode *markupsNode) const =0
 
virtual const QString className () const =0
 Gets the name of the additional options widget type. More...
 
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 Attributes

vtkWeakPointer< vtkMRMLMarkupsNodeMarkupsNode
 
vtkWeakPointer< vtkMRMLSceneMRMLScene
 

Detailed Description

Definition at line 43 of file qMRMLMarkupsAbstractOptionsWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 48 of file qMRMLMarkupsAbstractOptionsWidget.h.

Property Documentation

◆ className

QString qMRMLMarkupsAbstractOptionsWidget::className
read

Definition at line 48 of file qMRMLMarkupsAbstractOptionsWidget.h.

Constructor & Destructor Documentation

◆ qMRMLMarkupsAbstractOptionsWidget()

qMRMLMarkupsAbstractOptionsWidget::qMRMLMarkupsAbstractOptionsWidget ( QWidget *  parent = nullptr)

◆ ~qMRMLMarkupsAbstractOptionsWidget()

qMRMLMarkupsAbstractOptionsWidget::~qMRMLMarkupsAbstractOptionsWidget ( )
default

Member Function Documentation

◆ canManageMRMLMarkupsNode()

virtual bool qMRMLMarkupsAbstractOptionsWidget::canManageMRMLMarkupsNode ( vtkMRMLMarkupsNode markupsNode) const
pure virtual

Checks whether a given node can be handled by the widget. This allows using complex logics to determine whether the widget can manage a given markups node or not.

Implemented in qMRMLMarkupsROIWidget, qMRMLMarkupsPlaneWidget, qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.

◆ className()

virtual const QString qMRMLMarkupsAbstractOptionsWidget::className ( ) const
pure virtual

Gets the name of the additional options widget type.

Implemented in qMRMLMarkupsROIWidget, qMRMLMarkupsPlaneWidget, qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.

◆ createInstance()

virtual qMRMLMarkupsAbstractOptionsWidget* qMRMLMarkupsAbstractOptionsWidget::createInstance ( ) const
pure virtual

Clone options widget . Override to return a new instance of the options widget.

Implemented in qMRMLMarkupsAngleMeasurementsWidget, and qMRMLMarkupsCurveSettingsWidget.

◆ mrmlMarkupsNode()

vtkMRMLMarkupsNode* qMRMLMarkupsAbstractOptionsWidget::mrmlMarkupsNode ( ) const
inline

Definition at line 62 of file qMRMLMarkupsAbstractOptionsWidget.h.

◆ mrmlScene()

vtkMRMLScene* qMRMLMarkupsAbstractOptionsWidget::mrmlScene ( ) const
inline

Definition at line 66 of file qMRMLMarkupsAbstractOptionsWidget.h.

◆ setMRMLMarkupsNode [1/2]

void qMRMLMarkupsAbstractOptionsWidget::setMRMLMarkupsNode ( vtkMRMLNode markupsNode)
slot

Sets the vtkMRMLNode to operate on.

◆ setMRMLMarkupsNode [2/2]

virtual void qMRMLMarkupsAbstractOptionsWidget::setMRMLMarkupsNode ( vtkMRMLMarkupsNode markupsNode)
pure virtualslot

◆ setMRMLScene

virtual void qMRMLMarkupsAbstractOptionsWidget::setMRMLScene ( vtkMRMLScene mrmlScene)
inlinevirtualslot

Sets the vtkMRMLNode to operate on.

Definition at line 83 of file qMRMLMarkupsAbstractOptionsWidget.h.

◆ updateWidgetFromMRML()

virtual void qMRMLMarkupsAbstractOptionsWidget::updateWidgetFromMRML ( )
pure virtual

Updates the widget based on information from MRML.

Implemented in qMRMLMarkupsCurveSettingsWidget.

Member Data Documentation

◆ MarkupsNode

vtkWeakPointer<vtkMRMLMarkupsNode> qMRMLMarkupsAbstractOptionsWidget::MarkupsNode
protected

Definition at line 87 of file qMRMLMarkupsAbstractOptionsWidget.h.

◆ MRMLScene

vtkWeakPointer<vtkMRMLScene> qMRMLMarkupsAbstractOptionsWidget::MRMLScene
protected

Definition at line 88 of file qMRMLMarkupsAbstractOptionsWidget.h.


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