Slicer  5.0
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
qMRMLSegmentationGeometryDialog Class Reference

Qt dialog for changing segmentation labelmap geometry. More...

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

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

Public Types

typedef QObject Superclass
 

Properties

bool editEnabled
 
bool resampleLabelmaps
 

Public Slots

void setEditEnabled (bool aEditEnabled)
 
void setResampleLabelmaps (bool aResampleLabelmaps)
 

Public Member Functions

bool editEnabled () const
 
virtual bool exec ()
 
Q_INVOKABLE bool execDialog ()
 Python compatibility function for showing dialog (calls exec) More...
 
 qMRMLSegmentationGeometryDialog (vtkMRMLSegmentationNode *segmentationNode, QObject *parent=nullptr)
 
bool resampleLabelmaps () const
 
 ~qMRMLSegmentationGeometryDialog () override
 

Protected Attributes

QScopedPointer< qMRMLSegmentationGeometryDialogPrivate > d_ptr
 

Detailed Description

Qt dialog for changing segmentation labelmap geometry.

Definition at line 38 of file qMRMLSegmentationGeometryDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 53 of file qMRMLSegmentationGeometryDialog.h.

Property Documentation

◆ editEnabled

bool qMRMLSegmentationGeometryDialog::editEnabled
readwrite

Controls for editing (source geometry selector and spacing options box) only appear if editing is enabled Off by default

Definition at line 45 of file qMRMLSegmentationGeometryDialog.h.

◆ resampleLabelmaps

bool qMRMLSegmentationGeometryDialog::resampleLabelmaps
readwrite

If turned on, the existing labelmaps in the segmentation are resampled in addition to setting reference image geometry conversion parameter Otherwise only the reference image geometry parameter is set Off by default

Definition at line 50 of file qMRMLSegmentationGeometryDialog.h.

Constructor & Destructor Documentation

◆ qMRMLSegmentationGeometryDialog()

qMRMLSegmentationGeometryDialog::qMRMLSegmentationGeometryDialog ( vtkMRMLSegmentationNode segmentationNode,
QObject *  parent = nullptr 
)

◆ ~qMRMLSegmentationGeometryDialog()

qMRMLSegmentationGeometryDialog::~qMRMLSegmentationGeometryDialog ( )
override

Member Function Documentation

◆ editEnabled()

bool qMRMLSegmentationGeometryDialog::editEnabled ( ) const

◆ exec()

virtual bool qMRMLSegmentationGeometryDialog::exec ( )
virtual

Show dialog

Parameters
nodeToSelectNode is selected in the tree if given
Returns
Success flag (if dialog result is not Accepted then false)

◆ execDialog()

Q_INVOKABLE bool qMRMLSegmentationGeometryDialog::execDialog ( )
inline

Python compatibility function for showing dialog (calls exec)

Definition at line 64 of file qMRMLSegmentationGeometryDialog.h.

◆ resampleLabelmaps()

bool qMRMLSegmentationGeometryDialog::resampleLabelmaps ( ) const

◆ setEditEnabled

void qMRMLSegmentationGeometryDialog::setEditEnabled ( bool  aEditEnabled)
slot

◆ setResampleLabelmaps

void qMRMLSegmentationGeometryDialog::setResampleLabelmaps ( bool  aResampleLabelmaps)
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationGeometryDialogPrivate> qMRMLSegmentationGeometryDialog::d_ptr
protected

Definition at line 74 of file qMRMLSegmentationGeometryDialog.h.


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