Slicer  4.11
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
qMRMLSegmentationConversionParametersWidget Class Reference

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

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

Properties

QString targetRepresentationName
 

Public Slots

void setSegmentationNode (vtkMRMLNode *node)
 Set segmentation MRML node. More...
 
void setTargetRepresentationName (QString representationName)
 Set target representation name. More...
 

Signals

void conversionDone ()
 Emitted when conversion is done. More...
 

Public Member Functions

vtkSegmentationConverterRule::ConversionParameterListType conversionParameters ()
 Return chosen conversion parameters. More...
 
 qMRMLSegmentationConversionParametersWidget (QWidget *parent=nullptr)
 Constructor. More...
 
vtkMRMLNodesegmentationNode ()
 Get segmentation MRML node. More...
 
vtkSegmentationConverter::ConversionPathType selectedPath ()
 Return selected path. More...
 
QString targetRepresentationName ()
 Get target representation name. More...
 
 ~qMRMLSegmentationConversionParametersWidget () override
 Destructor. More...
 

Protected Slots

void applyConversion ()
 Create selected representation. More...
 
void onParameterChanged (QTableWidgetItem *changedItem)
 Handle editing of generic conversation parameters. More...
 
void onSpecifyGeometryButtonClicked ()
 
void populateParametersTable ()
 Populate parameters table according to the selected path. More...
 
void populatePathsTable ()
 Populate paths table according to the conversion. More...
 

Protected Attributes

QScopedPointer< qMRMLSegmentationConversionParametersWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 44 of file qMRMLSegmentationConversionParametersWidget.h.

Property Documentation

◆ targetRepresentationName

QString qMRMLSegmentationConversionParametersWidget::targetRepresentationName
readwrite

Constructor & Destructor Documentation

◆ qMRMLSegmentationConversionParametersWidget()

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

Constructor.

◆ ~qMRMLSegmentationConversionParametersWidget()

qMRMLSegmentationConversionParametersWidget::~qMRMLSegmentationConversionParametersWidget ( )
override

Destructor.

Member Function Documentation

◆ applyConversion

void qMRMLSegmentationConversionParametersWidget::applyConversion ( )
protectedslot

Create selected representation.

◆ conversionDone

void qMRMLSegmentationConversionParametersWidget::conversionDone ( )
signal

Emitted when conversion is done.

◆ conversionParameters()

vtkSegmentationConverterRule::ConversionParameterListType qMRMLSegmentationConversionParametersWidget::conversionParameters ( )

Return chosen conversion parameters.

◆ onParameterChanged

void qMRMLSegmentationConversionParametersWidget::onParameterChanged ( QTableWidgetItem *  changedItem)
protectedslot

Handle editing of generic conversation parameters.

◆ onSpecifyGeometryButtonClicked

void qMRMLSegmentationConversionParametersWidget::onSpecifyGeometryButtonClicked ( )
protectedslot

Show segmentation geometry dialog to specify reference image geometry The button appears in the row of the reference image geometry conversion parameter, which is a special case.

◆ populateParametersTable

void qMRMLSegmentationConversionParametersWidget::populateParametersTable ( )
protectedslot

Populate parameters table according to the selected path.

◆ populatePathsTable

void qMRMLSegmentationConversionParametersWidget::populatePathsTable ( )
protectedslot

Populate paths table according to the conversion.

◆ segmentationNode()

vtkMRMLNode* qMRMLSegmentationConversionParametersWidget::segmentationNode ( )

Get segmentation MRML node.

◆ selectedPath()

vtkSegmentationConverter::ConversionPathType qMRMLSegmentationConversionParametersWidget::selectedPath ( )

Return selected path.

◆ setSegmentationNode

void qMRMLSegmentationConversionParametersWidget::setSegmentationNode ( vtkMRMLNode node)
slot

Set segmentation MRML node.

◆ setTargetRepresentationName

void qMRMLSegmentationConversionParametersWidget::setTargetRepresentationName ( QString  representationName)
slot

Set target representation name.

◆ targetRepresentationName()

QString qMRMLSegmentationConversionParametersWidget::targetRepresentationName ( )

Get target representation name.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationConversionParametersWidgetPrivate> qMRMLSegmentationConversionParametersWidget::d_ptr
protected

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