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
niftkDrawToolGUI.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 niftkDrawToolGUI_h
16
#define niftkDrawToolGUI_h
17
18
#include <
niftkDrawTool.h
>
19
#include <QmitkToolGUI.h>
20
21
class
QFrame;
22
23
class
ctkSliderWidget;
24
25
namespace
niftk
26
{
27
37
class
DrawToolGUI
:
public
QmitkToolGUI
38
{
39
Q_OBJECT
40
41
public
:
42
43
mitkClassMacro
(
DrawToolGUI
, QmitkToolGUI)
44
itkNewMacro(
DrawToolGUI
)
45
46
47
void
OnCursorSizeChanged
(
double
cursorSize);
48
49
signals:
50
51
public
slots:
52
53
protected
slots:
54
56
void
OnNewToolAssociated
(mitk::Tool*);
57
59
void
OnSliderValueChanged
(
double
value
);
60
61
protected
:
62
63
DrawToolGUI
();
64
virtual
~DrawToolGUI
();
65
66
ctkSliderWidget*
m_Slider
;
67
QFrame*
m_Frame
;
68
69
DrawTool::Pointer
m_DrawTool
;
70
};
71
72
}
73
74
#endif
niftk::DrawToolGUI
GUI component for the DrawTool, providing a single slider to control the radius in millimetres of the...
Definition:
niftkDrawToolGUI.h:37
niftk::DrawToolGUI::m_Slider
ctkSliderWidget * m_Slider
Definition:
niftkDrawToolGUI.h:66
niftk::DrawToolGUI::~DrawToolGUI
virtual ~DrawToolGUI()
Definition:
niftkDrawToolGUI.cxx:60
niftk::DrawToolGUI::m_Frame
QFrame * m_Frame
Definition:
niftkDrawToolGUI.h:67
niftk::DrawToolGUI::OnNewToolAssociated
void OnNewToolAssociated(mitk::Tool *)
Qt slot called when the tool is activated.
Definition:
niftkDrawToolGUI.cxx:70
niftk::DrawToolGUI::OnCursorSizeChanged
void OnCursorSizeChanged(double cursorSize)
Method to set or initialise the size of the cursor (radius of influence).
Definition:
niftkDrawToolGUI.cxx:98
niftkDrawTool.h
niftk::DrawToolGUI::DrawToolGUI
DrawToolGUI()
Definition:
niftkDrawToolGUI.cxx:31
value
GLsizei const GLfloat * value
Definition:
glew.h:1833
niftk::DrawToolGUI::m_DrawTool
DrawTool::Pointer m_DrawTool
Definition:
niftkDrawToolGUI.h:69
niftk::DrawToolGUI::mitkClassMacro
mitkClassMacro(DrawToolGUI, QmitkToolGUI) static Pointer New()
niftk::DrawToolGUI::OnSliderValueChanged
void OnSliderValueChanged(double value)
Qt slot called when the user moves the slider.
Definition:
niftkDrawToolGUI.cxx:88
niftk
Definition:
niftkExceptionObject.h:21
Generated on Thu Aug 4 2016 06:02:51 for NifTK by
1.8.8