NorMIT-nav
22.09
An IGT application
cxFilterTimedAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXFILTERTIMEDALGORITHM_H
13
#define CXFILTERTIMEDALGORITHM_H
14
15
#include "cxResourceFilterExport.h"
16
17
#include "
cxThreadedTimedAlgorithm.h
"
18
19
namespace
cx
20
{
21
typedef
boost::shared_ptr<class Filter>
FilterPtr
;
22
30
class
cxResourceFilter_EXPORT
FilterTimedAlgorithm
:
public
ThreadedTimedAlgorithm
<bool>
31
{
32
Q_OBJECT
33
34
public
:
35
FilterTimedAlgorithm
(
FilterPtr
filter);
36
virtual
~
FilterTimedAlgorithm
();
37
38
FilterPtr
getFilter();
39
40
protected
slots:
41
virtual
void
preProcessingSlot();
42
virtual
void
postProcessingSlot();
43
44
private
:
45
virtual
bool
calculate();
46
47
// QString mOutputBasePath;
48
// std::vector<DataPtr> mInput;
49
// std::vector<DataPtr> mOutput;
50
// QDomElement mOptions;
51
FilterPtr
mFilter;
52
};
53
typedef
boost::shared_ptr<class FilterTimedAlgorithm>
FilterTimedAlgorithmPtr
;
54
55
56
57
}
// namespace cx
58
59
#endif // CXFILTERTIMEDALGORITHM_H
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::ThreadedTimedAlgorithm
Base class for algorithms that wants to thread and time their execution. T is the return type of the ...
Definition:
cxThreadedTimedAlgorithm.h:37
cx::FilterPtr
boost::shared_ptr< class Filter > FilterPtr
Definition:
cxForwardDeclarations.h:153
cxThreadedTimedAlgorithm.h
cx::FilterTimedAlgorithmPtr
boost::shared_ptr< class FilterTimedAlgorithm > FilterTimedAlgorithmPtr
Definition:
cxFilterTimedAlgorithm.h:53
cx::FilterTimedAlgorithm
Definition:
cxFilterTimedAlgorithm.h:30
CX
source
resource
filter
cxFilterTimedAlgorithm.h
Generated on Tue Sep 13 2022 11:06:16 for NorMIT-nav by
1.8.17