QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
qxrdmaskstack.h
Go to the documentation of this file.
1
#ifndef QXRDMASKSTACK_H
2
#define QXRDMASKSTACK_H
3
4
#include <QStack>
5
#include <QModelIndexList>
6
7
#include "
qcepmaskdata-ptr.h
"
8
#include "
qcepimagedata-ptr.h
"
9
10
class
QxrdMaskStack
:
public
QObject,
public
QStack<QcepMaskDataPtr>
11
{
12
Q_OBJECT
13
14
public
:
15
QxrdMaskStack
();
16
17
void
changed
();
18
static
QString
stackLevelName
(
int
n);
19
20
QcepMaskDataPtr
mask
(QModelIndex m);
21
22
void
newMask
();
23
void
enableMasks
(QModelIndexList sel);
24
void
disableMasks
(QModelIndexList sel);
25
void
deleteMasks
(QModelIndexList sel);
26
void
andMasks
(QModelIndexList sel);
27
void
orMasks
(QModelIndexList sel);
28
29
typedef
enum
{
30
ExcludeInside
,
31
ExcludeOutside
,
32
IncludeInside
,
33
IncludeOutside
34
}
QxrdThresholdMode
;
35
36
void
thresholdMasks
(QModelIndexList sel,
QxrdThresholdMode
mode,
double
low,
double
high,
QcepDoubleImageData
*data);
37
38
signals:
39
void
maskChanged
();
40
};
41
42
#endif // QXRDMASKSTACK_H
QcepImageData
Definition:
qcepimagedata-ptr.h:7
QxrdMaskStack::IncludeInside
Definition:
qxrdmaskstack.h:32
QxrdMaskStack::andMasks
void andMasks(QModelIndexList sel)
Definition:
qxrdmaskstack.cpp:63
QxrdMaskStack::QxrdThresholdMode
QxrdThresholdMode
Definition:
qxrdmaskstack.h:29
QxrdMaskStack::deleteMasks
void deleteMasks(QModelIndexList sel)
Definition:
qxrdmaskstack.cpp:58
QxrdMaskStack::orMasks
void orMasks(QModelIndexList sel)
Definition:
qxrdmaskstack.cpp:68
QxrdMaskStack::thresholdMasks
void thresholdMasks(QModelIndexList sel, QxrdThresholdMode mode, double low, double high, QcepDoubleImageData *data)
QxrdMaskStack::changed
void changed()
Definition:
qxrdmaskstack.cpp:8
QxrdMaskStack::maskChanged
void maskChanged()
qcepmaskdata-ptr.h
QxrdMaskStack::ExcludeOutside
Definition:
qxrdmaskstack.h:31
QxrdMaskStack::disableMasks
void disableMasks(QModelIndexList sel)
Definition:
qxrdmaskstack.cpp:45
QxrdMaskStack::stackLevelName
static QString stackLevelName(int n)
Definition:
qxrdmaskstack.cpp:13
QxrdMaskStack
Definition:
qxrdmaskstack.h:10
QxrdMaskStack::enableMasks
void enableMasks(QModelIndexList sel)
Definition:
qxrdmaskstack.cpp:32
qcepimagedata-ptr.h
QxrdMaskStack::QxrdMaskStack
QxrdMaskStack()
Definition:
qxrdmaskstack.cpp:4
QxrdMaskStack::mask
QcepMaskDataPtr mask(QModelIndex m)
Definition:
qxrdmaskstack.cpp:18
QxrdMaskStack::IncludeOutside
Definition:
qxrdmaskstack.h:33
QcepMaskDataPtr
QSharedPointer< QcepMaskData > QcepMaskDataPtr
Definition:
qcepmaskdata-ptr.h:6
QxrdMaskStack::ExcludeInside
Definition:
qxrdmaskstack.h:30
QxrdMaskStack::newMask
void newMask()
Definition:
qxrdmaskstack.cpp:27
Generated by
1.8.10