Button that shows/hide segmentation in 3D It creates or removes the representation that is shown in 3D views (closed surface or binary labelmap, chosen in the Representation submenu,.
More...
#include <Modules/Loadable/Segmentations/Widgets/qMRMLSegmentationShow3DButton.h>
|
| QScopedPointer< qMRMLSegmentationShow3DButtonPrivate > | d_ptr |
| |
Button that shows/hide segmentation in 3D It creates or removes the representation that is shown in 3D views (closed surface or binary labelmap, chosen in the Representation submenu,.
- See also
- vtkMRMLSegmentationDisplayNode::SetPreferredDisplayRepresentationName3D). When the representation is switched, the other one is removed (unless it is the source representation), so that it is not kept up to date for nothing.
Definition at line 32 of file qMRMLSegmentationShow3DButton.h.
◆ locked
| QVTK_OBJECTbool qMRMLSegmentationShow3DButton::locked |
|
readwrite |
Disables the button. It is useful for preventing segmentation from editing. Using QWidget::setEnabled would only temporarily disable the button.
Definition at line 39 of file qMRMLSegmentationShow3DButton.h.
◆ qMRMLSegmentationShow3DButton()
| qMRMLSegmentationShow3DButton::qMRMLSegmentationShow3DButton |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ ~qMRMLSegmentationShow3DButton()
| qMRMLSegmentationShow3DButton::~qMRMLSegmentationShow3DButton |
( |
| ) |
|
|
override |
◆ locked()
| bool qMRMLSegmentationShow3DButton::locked |
( |
| ) |
const |
◆ onEnableSurfaceNetsSmoothingToggled
| void qMRMLSegmentationShow3DButton::onEnableSurfaceNetsSmoothingToggled |
( |
bool | surfaceNetsSmoothingEnabled | ) |
|
|
protectedslot |
◆ onEnableSurfaceNetsToggled
| void qMRMLSegmentationShow3DButton::onEnableSurfaceNetsToggled |
( |
bool | surfaceNetsEnabled | ) |
|
|
protectedslot |
◆ onEnableSurfaceSmoothingToggled
| void qMRMLSegmentationShow3DButton::onEnableSurfaceSmoothingToggled |
( |
bool | smoothingEnabled | ) |
|
|
protectedslot |
◆ onRepresentationActionTriggered
| void qMRMLSegmentationShow3DButton::onRepresentationActionTriggered |
( |
QAction * | action | ) |
|
|
protectedslot |
◆ onSurfaceSmoothingFactorChanged
| void qMRMLSegmentationShow3DButton::onSurfaceSmoothingFactorChanged |
( |
double | newSmoothingFactor | ) |
|
|
protectedslot |
◆ onToggled
| void qMRMLSegmentationShow3DButton::onToggled |
( |
bool | toggled = true | ) |
|
|
protectedslot |
◆ segmentationNode()
Get current segmentation node.
◆ setLocked
| void qMRMLSegmentationShow3DButton::setLocked |
( |
bool | | ) |
|
|
slot |
◆ setSegmentationNode
Set current segmentation node.
◆ updateWidgetFromMRML
| void qMRMLSegmentationShow3DButton::updateWidgetFromMRML |
( |
| ) |
|
|
protectedslot |
◆ d_ptr
| QScopedPointer<qMRMLSegmentationShow3DButtonPrivate> qMRMLSegmentationShow3DButton::d_ptr |
|
protected |
The documentation for this class was generated from the following file: