Slicer  5.1
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 Slots | Protected Attributes
qMRMLSegmentationGeometryWidget Class Reference

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

Inheritance diagram for qMRMLSegmentationGeometryWidget:
Inheritance graph
Collaboration diagram for qMRMLSegmentationGeometryWidget:
Collaboration graph

Public Types

typedef qMRMLWidget Superclass
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass


bool editEnabled
bool isotropicSpacing
double oversamplingFactor
bool padSegmentation

Public Slots

void resampleLabelmapsInSegmentationNode ()
 Resample existing labelmaps in segmentation node with specified geometry. More...
void setEditEnabled (bool aEditEnabled)
void setIsotropicSpacing (bool aIsotropicSpacing)
void setOversamplingFactor (double aOversamplingFactor)
void setPadSegmentation (bool aPadSegmentation)
void setReferenceImageGeometryForSegmentationNode ()
 Set reference geometry conversion parameter to the one specified. More...
void setSegmentationNode (vtkMRMLSegmentationNode *node)
 Set segmentation MRML node. More...
void setSourceNode (vtkMRMLNode *sourceNode)
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...

Public Member Functions

bool editEnabled () const
Q_INVOKABLE void geometryImageData (vtkOrientedImageData *outputGeometry)
 Get calculated geometry image data. More...
bool isotropicSpacing () const
double oversamplingFactor () const
bool padSegmentation () const
 qMRMLSegmentationGeometryWidget (QWidget *parent=nullptr)
 Constructor. More...
Q_INVOKABLE vtkMRMLSegmentationNodesegmentationNode () const
 Get segmentation MRML node. More...
Q_INVOKABLE QString segmentationNodeID () const
void setSpacing (double aSpacing[3])
vtkMRMLNodesourceNode () const
 ~qMRMLSegmentationGeometryWidget () 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 onIsotropicSpacingChanged (bool)
void onOversamplingFactorChanged (double)
void onPadSegmentationChanged (bool)
void onSourceNodeChanged (vtkMRMLNode *)
 Calculate source axis permutation and then output geometry. More...
void onUserSpacingChanged (double *)
void updateWidgetFromMRML ()
 Calculate output geometry from input segmentation and source node and update UI. More...

Protected Attributes

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

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
- 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

Definition at line 41 of file qMRMLSegmentationGeometryWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 52 of file qMRMLSegmentationGeometryWidget.h.

Property Documentation

◆ editEnabled

bool qMRMLSegmentationGeometryWidget::editEnabled

Definition at line 46 of file qMRMLSegmentationGeometryWidget.h.

◆ isotropicSpacing

bool qMRMLSegmentationGeometryWidget::isotropicSpacing

Definition at line 48 of file qMRMLSegmentationGeometryWidget.h.

◆ oversamplingFactor

double qMRMLSegmentationGeometryWidget::oversamplingFactor

Definition at line 47 of file qMRMLSegmentationGeometryWidget.h.

◆ padSegmentation

bool qMRMLSegmentationGeometryWidget::padSegmentation

Definition at line 49 of file qMRMLSegmentationGeometryWidget.h.

Constructor & Destructor Documentation

◆ qMRMLSegmentationGeometryWidget()

qMRMLSegmentationGeometryWidget::qMRMLSegmentationGeometryWidget ( QWidget *  parent = nullptr)


◆ ~qMRMLSegmentationGeometryWidget()

qMRMLSegmentationGeometryWidget::~qMRMLSegmentationGeometryWidget ( )


Member Function Documentation

◆ editEnabled()

bool qMRMLSegmentationGeometryWidget::editEnabled ( ) const

◆ geometryImageData()

Q_INVOKABLE void qMRMLSegmentationGeometryWidget::geometryImageData ( vtkOrientedImageData outputGeometry)

Get calculated geometry image data.

◆ isotropicSpacing()

bool qMRMLSegmentationGeometryWidget::isotropicSpacing ( ) const

◆ onIsotropicSpacingChanged

void qMRMLSegmentationGeometryWidget::onIsotropicSpacingChanged ( bool  )

◆ onOversamplingFactorChanged

void qMRMLSegmentationGeometryWidget::onOversamplingFactorChanged ( double  )

◆ onPadSegmentationChanged

void qMRMLSegmentationGeometryWidget::onPadSegmentationChanged ( bool  )

◆ onSourceNodeChanged

void qMRMLSegmentationGeometryWidget::onSourceNodeChanged ( vtkMRMLNode )

Calculate source axis permutation and then output geometry.

◆ onUserSpacingChanged

void qMRMLSegmentationGeometryWidget::onUserSpacingChanged ( double *  )

◆ oversamplingFactor()

double qMRMLSegmentationGeometryWidget::oversamplingFactor ( ) const

◆ padSegmentation()

bool qMRMLSegmentationGeometryWidget::padSegmentation ( ) const

◆ resampleLabelmapsInSegmentationNode

void qMRMLSegmentationGeometryWidget::resampleLabelmapsInSegmentationNode ( )

Resample existing labelmaps in segmentation node with specified geometry.

◆ segmentationNode()

Q_INVOKABLE vtkMRMLSegmentationNode* qMRMLSegmentationGeometryWidget::segmentationNode ( ) const

Get segmentation MRML node.

◆ segmentationNodeID()

Q_INVOKABLE QString qMRMLSegmentationGeometryWidget::segmentationNodeID ( ) const

◆ setEditEnabled

void qMRMLSegmentationGeometryWidget::setEditEnabled ( bool  aEditEnabled)

◆ setIsotropicSpacing

void qMRMLSegmentationGeometryWidget::setIsotropicSpacing ( bool  aIsotropicSpacing)

◆ setOversamplingFactor

void qMRMLSegmentationGeometryWidget::setOversamplingFactor ( double  aOversamplingFactor)

◆ setPadSegmentation

void qMRMLSegmentationGeometryWidget::setPadSegmentation ( bool  aPadSegmentation)

◆ setReferenceImageGeometryForSegmentationNode

void qMRMLSegmentationGeometryWidget::setReferenceImageGeometryForSegmentationNode ( )

Set reference geometry conversion parameter to the one specified.

◆ setSegmentationNode

void qMRMLSegmentationGeometryWidget::setSegmentationNode ( vtkMRMLSegmentationNode node)

Set segmentation MRML node.

◆ setSourceNode

void qMRMLSegmentationGeometryWidget::setSourceNode ( vtkMRMLNode sourceNode)

◆ setSpacing()

void qMRMLSegmentationGeometryWidget::setSpacing ( double  aSpacing[3])

◆ sourceNode()

vtkMRMLNode* qMRMLSegmentationGeometryWidget::sourceNode ( ) const

◆ updateWidgetFromMRML

void qMRMLSegmentationGeometryWidget::updateWidgetFromMRML ( )

Calculate output geometry from input segmentation and source node and update UI.

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationGeometryWidgetPrivate> qMRMLSegmentationGeometryWidget::d_ptr

Definition at line 102 of file qMRMLSegmentationGeometryWidget.h.

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