Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerSegmentEditorEraseEffect.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4  Queen's University, Kingston, ON, Canada. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Csaba Pinter, PerkLab, Queen's University
16  and was supported through the Applied Cancer Research Unit program of Cancer Care
17  Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
18 
19 ==============================================================================*/
20 
21 #ifndef __qSlicerSegmentEditorEraseEffect_h
22 #define __qSlicerSegmentEditorEraseEffect_h
23 
24 // Segmentations Editor Effects includes
25 #include "qSlicerSegmentationsEditorEffectsExport.h"
26 
28 
29 class qSlicerSegmentEditorEraseEffectPrivate;
30 
32 class Q_SLICER_SEGMENTATIONS_EFFECTS_EXPORT qSlicerSegmentEditorEraseEffect :
34 {
35 public:
36  Q_OBJECT
37 
38 public:
40  qSlicerSegmentEditorEraseEffect(QObject* parent = nullptr);
42 
43 public:
45  QIcon icon() override;
46 
48  Q_INVOKABLE const QString helpText()const override;
49 
52 
53 protected:
54  QScopedPointer<qSlicerSegmentEditorEraseEffectPrivate> d_ptr;
55 
56 private:
57  Q_DECLARE_PRIVATE(qSlicerSegmentEditorEraseEffect);
58  Q_DISABLE_COPY(qSlicerSegmentEditorEraseEffect);
59 };
60 
61 #endif
qSlicerSegmentEditorAbstractEffect * clone() override
Clone editor effect.
Abstract class for segment editor effects.
qSlicerSegmentEditorPaintEffect Superclass
QIcon icon() override
Get icon for effect to be displayed in segment editor.
const QString helpText() const override
Get help text for effect to be displayed in the help box.
QScopedPointer< qSlicerSegmentEditorEraseEffectPrivate > d_ptr