Computer Assited Medical Intervention Tool Kit
version 4.1
Datas
CamiTK
src
sdk
actions
image
volumerendering
TransparencyPointWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6
*
7
* Visit http://camitk.imag.fr for more information
8
*
9
* This file is part of CamiTK.
10
*
11
* CamiTK is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License version 3
13
* only, as published by the Free Software Foundation.
14
*
15
* CamiTK is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License version 3 for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22
*
23
* $CAMITK_LICENCE_END$
24
****************************************************************************/
25
#ifndef TRANSPARENCYPOINTWIDGET_H
26
#define TRANSPARENCYPOINTWIDGET_H
27
28
// Qt
29
#include <QMainWindow>
30
#include <QString>
31
// Include GUI automatically generated from the file
32
// ColorPointWidget.ui (to be modified via QtDesigner).
33
#include "ui_TransparencyPointWidget.h"
34
35
49
class
TransparencyPointWidget
:
public
QWidget {
50
Q_OBJECT
51
52
53
public
:
54
TransparencyPointWidget
(QWidget*
dad
);
55
TransparencyPointWidget
(QWidget* dad,
int
grayLevel,
double
transparency);
56
57
int
getGrayLevel
();
58
double
getTransparency
();
59
60
61
public
slots:
62
virtual
void
remove
();
63
virtual
void
grayLevelChanged
(
int
);
64
virtual
void
transparencyChanged
(
double
);
65
66
private
:
67
Ui_TransparencyPointWidget
ui
;
68
QWidget*
dad
;
69
70
};
71
#endif // TRANSPARENCYPOINTWIDGET_H
TransparencyPointWidget
This widget handle specifically the transparency in the output image.
Definition:
TransparencyPointWidget.h:49
TransparencyPointWidget::getTransparency
double getTransparency()
Definition:
TransparencyPointWidget.cpp:59
TransparencyPointWidget::grayLevelChanged
virtual void grayLevelChanged(int)
Definition:
TransparencyPointWidget.cpp:63
TransparencyPointWidget::getGrayLevel
int getGrayLevel()
Definition:
TransparencyPointWidget.cpp:55
TransparencyPointWidget::dad
QWidget * dad
Definition:
TransparencyPointWidget.h:68
TransparencyPointWidget::ui
Ui_TransparencyPointWidget ui
Definition:
TransparencyPointWidget.h:67
TransparencyPointWidget::TransparencyPointWidget
TransparencyPointWidget(QWidget *dad)
Definition:
TransparencyPointWidget.cpp:34
TransparencyPointWidget::transparencyChanged
virtual void transparencyChanged(double)
Definition:
TransparencyPointWidget.cpp:70
Generated by
1.8.13