QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
qxrdimagedisplaywidget.h
Go to the documentation of this file.
1
#ifndef QXRDIMAGEDISPLAYWIDGET_H
2
#define QXRDIMAGEDISPLAYWIDGET_H
3
4
#include <QWidget>
5
#include <QTabWidget>
6
#include <QVector>
7
#include <QRgb>
8
9
#include "
qcepimagedata.h
"
10
#include "
qcepimagedata-ptr.h
"
11
#include "
qcepmaskdata.h
"
12
#include "
qcepmaskdata-ptr.h
"
13
#include "
qxrdapplication-ptr.h
"
14
15
class
QxrdImageDisplayWidget
:
public
QWidget
16
{
17
Q_OBJECT
18
19
public
:
20
explicit
QxrdImageDisplayWidget
(QWidget *parent = 0);
21
22
public
:
23
void
paintEvent
(QPaintEvent *event);
24
QSize
sizeHint
()
const
;
25
26
static
QxrdImageDisplayWidget
*
insertNew
(
QxrdApplication
*app, QTabWidget *tw);
27
28
public
slots:
29
void
updateImage
(
QcepDoubleImageDataPtr
img,
30
QcepMaskDataPtr
ovflow =
QcepMaskDataPtr
(),
31
QcepMaskDataPtr
mask =
QcepMaskDataPtr
());
32
void
setGrayscale
();
33
34
private
:
35
void
rebuildImage
();
36
37
private
:
38
QcepDoubleImageDataPtr
m_Data
;
39
QcepMaskDataPtr
m_Mask
;
40
QcepMaskDataPtr
m_Overflow
;
41
42
QImage
m_DataImage
;
43
44
double
m_Minimum
;
45
double
m_Maximum
;
46
double
m_StepSize
;
47
48
int
m_TableMax
;
49
QVector<QRgb>
m_ColorTable
;
50
51
double
m_DisplayScale
;
52
};
53
54
#endif // QXRDIMAGEDISPLAYWIDGET_H
QxrdImageDisplayWidget::m_Overflow
QcepMaskDataPtr m_Overflow
Definition:
qxrdimagedisplaywidget.h:40
qxrdapplication-ptr.h
QxrdImageDisplayWidget::insertNew
static QxrdImageDisplayWidget * insertNew(QxrdApplication *app, QTabWidget *tw)
Definition:
qxrdimagedisplaywidget.cpp:129
QxrdImageDisplayWidget::QxrdImageDisplayWidget
QxrdImageDisplayWidget(QWidget *parent=0)
Definition:
qxrdimagedisplaywidget.cpp:9
QxrdApplication
Definition:
qxrdapplication.h:27
QxrdImageDisplayWidget::m_Mask
QcepMaskDataPtr m_Mask
Definition:
qxrdimagedisplaywidget.h:39
QxrdImageDisplayWidget::m_StepSize
double m_StepSize
Definition:
qxrdimagedisplaywidget.h:46
QxrdImageDisplayWidget::rebuildImage
void rebuildImage()
Definition:
qxrdimagedisplaywidget.cpp:100
QxrdImageDisplayWidget::sizeHint
QSize sizeHint() const
Definition:
qxrdimagedisplaywidget.cpp:90
QxrdImageDisplayWidget::m_Maximum
double m_Maximum
Definition:
qxrdimagedisplaywidget.h:45
QxrdImageDisplayWidget::m_ColorTable
QVector< QRgb > m_ColorTable
Definition:
qxrdimagedisplaywidget.h:49
QxrdImageDisplayWidget::m_DataImage
QImage m_DataImage
Definition:
qxrdimagedisplaywidget.h:42
QxrdImageDisplayWidget::m_Minimum
double m_Minimum
Definition:
qxrdimagedisplaywidget.h:44
qcepmaskdata-ptr.h
QxrdImageDisplayWidget
Definition:
qxrdimagedisplaywidget.h:15
QxrdImageDisplayWidget::m_TableMax
int m_TableMax
Definition:
qxrdimagedisplaywidget.h:48
qcepimagedata.h
QxrdImageDisplayWidget::updateImage
void updateImage(QcepDoubleImageDataPtr img, QcepMaskDataPtr ovflow=QcepMaskDataPtr(), QcepMaskDataPtr mask=QcepMaskDataPtr())
Definition:
qxrdimagedisplaywidget.cpp:61
qcepmaskdata.h
QxrdImageDisplayWidget::paintEvent
void paintEvent(QPaintEvent *event)
Definition:
qxrdimagedisplaywidget.cpp:33
qcepimagedata-ptr.h
QxrdImageDisplayWidget::setGrayscale
void setGrayscale()
Definition:
qxrdimagedisplaywidget.cpp:24
QcepMaskDataPtr
QSharedPointer< QcepMaskData > QcepMaskDataPtr
Definition:
qcepmaskdata-ptr.h:6
QxrdImageDisplayWidget::m_Data
QcepDoubleImageDataPtr m_Data
Definition:
qxrdimagedisplaywidget.h:38
QxrdImageDisplayWidget::m_DisplayScale
double m_DisplayScale
Definition:
qxrdimagedisplaywidget.h:51
QcepDoubleImageDataPtr
QSharedPointer< QcepDoubleImageData > QcepDoubleImageDataPtr
Definition:
qcepimagedata-ptr.h:16
Generated by
1.8.10