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
[legend]
Collaboration diagram for qMRMLSegmentationGeometryWidget:
Collaboration graph
[legend]

Public Types

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

Properties

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
readwrite

Definition at line 46 of file qMRMLSegmentationGeometryWidget.h.

◆ isotropicSpacing

bool qMRMLSegmentationGeometryWidget::isotropicSpacing
readwrite

Definition at line 48 of file qMRMLSegmentationGeometryWidget.h.

◆ oversamplingFactor

double qMRMLSegmentationGeometryWidget::oversamplingFactor
readwrite

Definition at line 47 of file qMRMLSegmentationGeometryWidget.h.

◆ padSegmentation

bool qMRMLSegmentationGeometryWidget::padSegmentation
readwrite

Definition at line 49 of file qMRMLSegmentationGeometryWidget.h.

Constructor & Destructor Documentation

◆ qMRMLSegmentationGeometryWidget()

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

Constructor.

◆ ~qMRMLSegmentationGeometryWidget()

qMRMLSegmentationGeometryWidget::~qMRMLSegmentationGeometryWidget ( )
override

Destructor.

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  )
protectedslot

◆ onOversamplingFactorChanged

void qMRMLSegmentationGeometryWidget::onOversamplingFactorChanged ( double  )
protectedslot

◆ onPadSegmentationChanged

void qMRMLSegmentationGeometryWidget::onPadSegmentationChanged ( bool  )
protectedslot

◆ onSourceNodeChanged

void qMRMLSegmentationGeometryWidget::onSourceNodeChanged ( vtkMRMLNode )
protectedslot

Calculate source axis permutation and then output geometry.

◆ onUserSpacingChanged

void qMRMLSegmentationGeometryWidget::onUserSpacingChanged ( double *  )
protectedslot

◆ oversamplingFactor()

double qMRMLSegmentationGeometryWidget::oversamplingFactor ( ) const

◆ padSegmentation()

bool qMRMLSegmentationGeometryWidget::padSegmentation ( ) const

◆ resampleLabelmapsInSegmentationNode

void qMRMLSegmentationGeometryWidget::resampleLabelmapsInSegmentationNode ( )
slot

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)
slot

◆ setIsotropicSpacing

void qMRMLSegmentationGeometryWidget::setIsotropicSpacing ( bool  aIsotropicSpacing)
slot

◆ setOversamplingFactor

void qMRMLSegmentationGeometryWidget::setOversamplingFactor ( double  aOversamplingFactor)
slot

◆ setPadSegmentation

void qMRMLSegmentationGeometryWidget::setPadSegmentation ( bool  aPadSegmentation)
slot

◆ setReferenceImageGeometryForSegmentationNode

void qMRMLSegmentationGeometryWidget::setReferenceImageGeometryForSegmentationNode ( )
slot

Set reference geometry conversion parameter to the one specified.

◆ setSegmentationNode

void qMRMLSegmentationGeometryWidget::setSegmentationNode ( vtkMRMLSegmentationNode node)
slot

Set segmentation MRML node.

◆ setSourceNode

void qMRMLSegmentationGeometryWidget::setSourceNode ( vtkMRMLNode sourceNode)
slot

◆ setSpacing()

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

◆ sourceNode()

vtkMRMLNode* qMRMLSegmentationGeometryWidget::sourceNode ( ) const

◆ updateWidgetFromMRML

void qMRMLSegmentationGeometryWidget::updateWidgetFromMRML ( )
protectedslot

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

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationGeometryWidgetPrivate> qMRMLSegmentationGeometryWidget::d_ptr
protected

Definition at line 102 of file qMRMLSegmentationGeometryWidget.h.


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