Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
29class qSlicerSegmentEditorEraseEffectPrivate;
30
31class Q_SLICER_SEGMENTATIONS_EFFECTS_EXPORT qSlicerSegmentEditorEraseEffect :
33{
34public:
35 Q_OBJECT
36
37public:
39 qSlicerSegmentEditorEraseEffect(QObject* parent = nullptr);
41
42public:
44 QIcon icon() override;
45
47 Q_INVOKABLE const QString helpText()const override;
48
51
52protected:
53 QScopedPointer<qSlicerSegmentEditorEraseEffectPrivate> d_ptr;
54
55private:
56 Q_DECLARE_PRIVATE(qSlicerSegmentEditorEraseEffect);
57 Q_DISABLE_COPY(qSlicerSegmentEditorEraseEffect);
58};
59
60#endif
qSlicerSegmentEditorAbstractEffect(QObject *parent=nullptr)
QScopedPointer< qSlicerSegmentEditorEraseEffectPrivate > d_ptr
Q_INVOKABLE const QString helpText() const override
Get help text for effect to be displayed in the help box.
QIcon icon() override
Get icon for effect to be displayed in segment editor.
qSlicerSegmentEditorPaintEffect Superclass
qSlicerSegmentEditorEraseEffect(QObject *parent=nullptr)
qSlicerSegmentEditorAbstractEffect * clone() override
Clone editor effect.
qSlicerSegmentEditorPaintEffect(QObject *parent=nullptr)