21 #ifndef __qSlicerSegmentEditorPaintEffect_h 22 #define __qSlicerSegmentEditorPaintEffect_h 25 #include "qSlicerSegmentationsEditorEffectsExport.h" 29 class qSlicerSegmentEditorPaintEffectPrivate;
39 Q_PROPERTY(
double minimumPaintPointDistance READ minimumPaintPointDistance WRITE setMinimumPaintPointDistance)
40 Q_PROPERTY(
bool delayedPaint READ delayedPaint WRITE setDelayedPaint)
48 QIcon icon() override;
51 const QString helpText()const override;
57 void deactivate() override;
63 bool processInteractionEvents(vtkRenderWindowInteractor* callerInteractor,
unsigned long eid,
qMRMLWidget* viewWidget) override;
72 void setupOptionsFrame() override;
75 void setMRMLDefaults() override;
78 void referenceGeometryChanged() override;
85 Q_INVOKABLE
double minimumPaintPointDistance();
88 Q_INVOKABLE
bool delayedPaint();
93 Q_INVOKABLE
void clearBrushes();
97 Q_INVOKABLE QFrame* paintOptionsFrame();
99 Q_INVOKABLE
void setColorSmudgeCheckboxVisible(
bool show);
102 Q_INVOKABLE virtual
void paintApply(
qMRMLWidget* viewWidget);
106 void updateGUIFromMRML() override;
109 void updateMRMLFromGUI() override;
112 void setMinimumPaintPointDistance(
double dist);
115 void setDelayedPaint(
bool delayed);
126 QScopedPointer<qSlicerSegmentEditorPaintEffectPrivate> d_ptr;
Abstract class for segment editor effects.
Image data containing orientation information.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
Base class for all "label" effects.