NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
niftk-nightly
MITK
Modules
MIDASGui
Internal
niftkPaintbrushToolGUI.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
NifTK: A software platform for medical image computing.
4
5
Copyright (c) University College London (UCL). All rights reserved.
6
7
This software is distributed WITHOUT ANY WARRANTY; without even
8
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
PURPOSE.
10
11
See LICENSE.txt in the top level directory for details.
12
13
=============================================================================*/
14
15
#ifndef niftkPaintbrushToolGUI_h
16
#define niftkPaintbrushToolGUI_h
17
18
#include <QmitkToolGUI.h>
19
#include <
niftkPaintbrushTool.h
>
20
21
class
QSlider;
22
class
QLabel;
23
class
QFrame;
24
25
namespace
niftk
26
{
27
37
class
PaintbrushToolGUI
:
public
QmitkToolGUI
38
{
39
Q_OBJECT
40
41
public
:
42
43
mitkClassMacro
(
PaintbrushToolGUI
, QmitkToolGUI)
44
itkNewMacro(
PaintbrushToolGUI
)
45
46
47
void
OnCursorSizeChanged
(
int
current);
48
49
signals:
50
51
public
slots:
52
53
protected
slots:
54
56
void
OnNewToolAssociated
(mitk::Tool*);
57
59
void
OnSliderValueChanged
(
int
value
);
60
61
protected
:
62
63
PaintbrushToolGUI
();
64
virtual
~PaintbrushToolGUI
();
65
66
QSlider*
m_Slider
;
67
QLabel*
m_SizeLabel
;
68
QFrame*
m_Frame
;
69
70
PaintbrushTool::Pointer
m_PaintbrushTool
;
71
};
72
73
}
74
75
#endif
76
niftk::PaintbrushToolGUI::OnCursorSizeChanged
void OnCursorSizeChanged(int current)
Method to set or initialise the size of the cursor (radius of influence).
Definition:
niftkPaintbrushToolGUI.cxx:100
niftk::PaintbrushToolGUI::OnNewToolAssociated
void OnNewToolAssociated(mitk::Tool *)
Qt slot called when the tool is activated.
Definition:
niftkPaintbrushToolGUI.cxx:72
niftk::PaintbrushToolGUI::m_SizeLabel
QLabel * m_SizeLabel
Definition:
niftkPaintbrushToolGUI.h:67
niftk::PaintbrushToolGUI::PaintbrushToolGUI
PaintbrushToolGUI()
Definition:
niftkPaintbrushToolGUI.cxx:31
niftk::PaintbrushToolGUI::~PaintbrushToolGUI
virtual ~PaintbrushToolGUI()
Definition:
niftkPaintbrushToolGUI.cxx:62
niftk::PaintbrushToolGUI::OnSliderValueChanged
void OnSliderValueChanged(int value)
Qt slot called when the user moves the slider.
Definition:
niftkPaintbrushToolGUI.cxx:89
niftk::PaintbrushToolGUI::mitkClassMacro
mitkClassMacro(PaintbrushToolGUI, QmitkToolGUI) static Pointer New()
value
GLsizei const GLfloat * value
Definition:
glew.h:1833
niftkPaintbrushTool.h
niftk::PaintbrushToolGUI::m_PaintbrushTool
PaintbrushTool::Pointer m_PaintbrushTool
Definition:
niftkPaintbrushToolGUI.h:70
niftk::PaintbrushToolGUI::m_Slider
QSlider * m_Slider
Definition:
niftkPaintbrushToolGUI.h:66
niftk::PaintbrushToolGUI
Definition:
niftkPaintbrushToolGUI.h:37
niftk
Definition:
niftkExceptionObject.h:21
niftk::PaintbrushToolGUI::m_Frame
QFrame * m_Frame
Definition:
niftkPaintbrushToolGUI.h:68
Generated on Thu Aug 4 2016 06:02:51 for NifTK by
1.8.8