Computer Assited Medical Intervention Tool Kit
version 3.3
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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-2014 UJF-Grenoble 1, 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::grayLevelChanged
virtual void grayLevelChanged(int)
TransparencyPointWidget::getTransparency
double getTransparency()
TransparencyPointWidget::getGrayLevel
int getGrayLevel()
TransparencyPointWidget::transparencyChanged
virtual void transparencyChanged(double)
TransparencyPointWidget::dad
QWidget * dad
Definition:
TransparencyPointWidget.h:68
TransparencyPointWidget::ui
Ui_TransparencyPointWidget ui
Definition:
TransparencyPointWidget.h:67
TransparencyPointWidget::TransparencyPointWidget
TransparencyPointWidget(QWidget *dad)
Generated on Tue Sep 23 2014 12:37:50 for Computer Assited Medical Intervention Tool Kit by
1.8.8