CustusX  18.04
An IGT application
cxDummyFilter.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 CXDUMMYFILTER_H
13 #define CXDUMMYFILTER_H
14 
15 #include "cxFilterImpl.h"
16 
17 namespace cx
18 {
19 
26 class cxResourceFilter_EXPORT DummyFilter : public FilterImpl
27 {
28  Q_OBJECT
29 
30 public:
31  virtual ~DummyFilter() {}
32 
33  virtual QString getType() const;
34  virtual QString getName() const;
35  virtual QString getHelp() const;
36 
37  virtual bool execute();
38  virtual bool postProcess();
39 
40 protected:
41  virtual void createOptions();
42  virtual void createInputTypes();
43  virtual void createOutputTypes();
44 
45 private:
46  StringPropertyBasePtr getStringOption(QDomElement root);
47  DoublePropertyBasePtr getDoubleOption(QDomElement root);
48  BoolPropertyBasePtr getBoolOption(QDomElement root);
49 };
50 
51 } // namespace cx
52 
53 
54 #endif // CXDUMMYFILTER_H
virtual ~DummyFilter()
Definition: cxDummyFilter.h:31
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Namespace for all CustusX production code.