Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Properties | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes
qMRMLSegmentationFileExportWidget Class Reference

Qt widget for selecting a single segment from a segmentation. If multiple segments are needed, then use. More...

#include <Modules/Loadable/Segmentations/Widgets/qMRMLSegmentationFileExportWidget.h>

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

Properties

QString settingsKey
 

Public Slots

void exportToFiles ()
 
void onSegmentationReferenceImageGeometryChanged ()
 
void setMRMLScene (vtkMRMLScene *mrmlScene) override
 
void setSegmentationNode (vtkMRMLSegmentationNode *node)
 Set segmentation MRML node. More...
 
void setSegmentationNode (vtkMRMLNode *node)
 
void showDestinationFolder ()
 
void updateSettingsFromWidget ()
 
void updateWidgetFromMRML ()
 
void updateWidgetFromSettings ()
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Signals

void exportToFilesDone ()
 Emitted when conversion is done. More...
 
- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

 qMRMLSegmentationFileExportWidget (QWidget *parent=nullptr)
 Constructor. More...
 
Q_INVOKABLE vtkMRMLSegmentationNodesegmentationNode () const
 Get current segmentation node. More...
 
Q_INVOKABLE QString segmentationNodeID ()
 Get current segmentation node's ID. More...
 
void setSettingsKey (const QString &key)
 
QString settingsKey () const
 
 ~qMRMLSegmentationFileExportWidget () override
 Destructor. More...
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qMRMLWidget () override
 

Protected Slots

void setColorNodeID (const QString &)
 
void setFileFormat (const QString &)
 
void setUseLabelsFromColorNode (bool useColorNode)
 

Protected Attributes

QScopedPointer< qMRMLSegmentationFileExportWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
 
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Qt widget for selecting a single segment from a segmentation. If multiple segments are needed, then use.

See also
qMRMLSegmentsTableView instead in SimpleListMode

Definition at line 45 of file qMRMLSegmentationFileExportWidget.h.

Property Documentation

◆ settingsKey

QString qMRMLSegmentationFileExportWidget::settingsKey
readwrite

Key for storing selected options in application settings. If an empty key string is given, then selections are not saved or loaded in settings. Empty by default.

Definition at line 53 of file qMRMLSegmentationFileExportWidget.h.

Constructor & Destructor Documentation

◆ qMRMLSegmentationFileExportWidget()

qMRMLSegmentationFileExportWidget::qMRMLSegmentationFileExportWidget ( QWidget *  parent = nullptr)
explicit

Constructor.

◆ ~qMRMLSegmentationFileExportWidget()

qMRMLSegmentationFileExportWidget::~qMRMLSegmentationFileExportWidget ( )
override

Destructor.

Member Function Documentation

◆ exportToFiles

void qMRMLSegmentationFileExportWidget::exportToFiles ( )
slot

◆ exportToFilesDone

void qMRMLSegmentationFileExportWidget::exportToFilesDone ( )
signal

Emitted when conversion is done.

◆ onSegmentationReferenceImageGeometryChanged

void qMRMLSegmentationFileExportWidget::onSegmentationReferenceImageGeometryChanged ( )
slot

◆ segmentationNode()

Q_INVOKABLE vtkMRMLSegmentationNode* qMRMLSegmentationFileExportWidget::segmentationNode ( ) const

Get current segmentation node.

◆ segmentationNodeID()

Q_INVOKABLE QString qMRMLSegmentationFileExportWidget::segmentationNodeID ( )

Get current segmentation node's ID.

◆ setColorNodeID

void qMRMLSegmentationFileExportWidget::setColorNodeID ( const QString &  )
protectedslot

◆ setFileFormat

void qMRMLSegmentationFileExportWidget::setFileFormat ( const QString &  )
protectedslot

◆ setMRMLScene

void qMRMLSegmentationFileExportWidget::setMRMLScene ( vtkMRMLScene mrmlScene)
overrideslot

◆ setSegmentationNode [1/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLSegmentationNode node)
slot

Set segmentation MRML node.

◆ setSegmentationNode [2/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLNode node)
slot

◆ setSettingsKey()

void qMRMLSegmentationFileExportWidget::setSettingsKey ( const QString &  key)

◆ settingsKey()

QString qMRMLSegmentationFileExportWidget::settingsKey ( ) const

◆ setUseLabelsFromColorNode

void qMRMLSegmentationFileExportWidget::setUseLabelsFromColorNode ( bool  useColorNode)
protectedslot

◆ showDestinationFolder

void qMRMLSegmentationFileExportWidget::showDestinationFolder ( )
slot

◆ updateSettingsFromWidget

void qMRMLSegmentationFileExportWidget::updateSettingsFromWidget ( )
slot

◆ updateWidgetFromMRML

void qMRMLSegmentationFileExportWidget::updateWidgetFromMRML ( )
slot

◆ updateWidgetFromSettings

void qMRMLSegmentationFileExportWidget::updateWidgetFromSettings ( )
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationFileExportWidgetPrivate> qMRMLSegmentationFileExportWidget::d_ptr
protected

Definition at line 98 of file qMRMLSegmentationFileExportWidget.h.


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