Slicer  4.8
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=0)
 Constructor. More...
 
vtkMRMLNodesegmentationNode ()
 Get segmentation MRML node. More...
 
vtkSegmentationConverter::ConversionPathType selectedPath ()
 Return selected path. More...
 
void setReferenceImageGeometryParameterFromVolumeNode (vtkMRMLNode *node)
 Set reference image geometry conversion parameter from the selected volume node. More...
 
QString targetRepresentationName ()
 Get target representation name. More...
 
virtual ~qMRMLSegmentationConversionParametersWidget ()
 Destructor. More...
 

Protected Slots

void applyConversion ()
 Create selected representation. More...
 
void onParameterChanged (QTableWidgetItem *changedItem)
 Handle editing of generic conversation parameters. More...
 
void onSetReferenceImageGeometryFromVolumeClicked ()
 
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 = 0)
explicit

Constructor.

◆ ~qMRMLSegmentationConversionParametersWidget()

virtual qMRMLSegmentationConversionParametersWidget::~qMRMLSegmentationConversionParametersWidget ( )
virtual

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.

◆ onSetReferenceImageGeometryFromVolumeClicked

void qMRMLSegmentationConversionParametersWidget::onSetReferenceImageGeometryFromVolumeClicked ( )
protectedslot

Handles button click for setting reference image geometry from volume node. The button appears in the row of the reference image geometry conversion parameter, which is a special case. Pops up a dialog in which the user can select a volume node. The geometry is set when apply is clicked, sa setReferenceImageGeometryParameterFromVolumeNode

◆ 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.

◆ setReferenceImageGeometryParameterFromVolumeNode()

void qMRMLSegmentationConversionParametersWidget::setReferenceImageGeometryParameterFromVolumeNode ( vtkMRMLNode node)

Set reference image geometry conversion parameter from the selected volume node.

See also
onGetReferenceImageGeometryFromVolumeClicked

◆ 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: