Slicer  4.10
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
 

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 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
 
 qMRMLSegmentationGeometryWidget (QWidget *parent=0)
 Constructor. More...
 
Q_INVOKABLE vtkMRMLSegmentationNodesegmentationNode () const
 Get segmentation MRML node. More...
 
Q_INVOKABLE QString segmentationNodeID () const
 
void setSpacing (double aSpacing[3])
 
vtkMRMLNodesourceNode () const
 
virtual ~qMRMLSegmentationGeometryWidget ()
 Destructor. More...
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qMRMLWidget ()
 

Protected Slots

void onIsotropicSpacingChanged (bool)
 
void onOversamplingFactorChanged (double)
 
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 *)
 

Detailed Description

Definition at line 41 of file qMRMLSegmentationGeometryWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 51 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.

Constructor & Destructor Documentation

◆ qMRMLSegmentationGeometryWidget()

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

Constructor.

◆ ~qMRMLSegmentationGeometryWidget()

virtual qMRMLSegmentationGeometryWidget::~qMRMLSegmentationGeometryWidget ( )
virtual

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

◆ 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

◆ 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

◆ 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 98 of file qMRMLSegmentationGeometryWidget.h.


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