CustusX  18.04
An IGT application
cxResampleImageFilter.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 #ifndef CXRESAMPLEIMAGEFILTER_H
12 #define CXRESAMPLEIMAGEFILTER_H
13 
14 #include "cxFilterImpl.h"
15 
16 namespace cx
17 {
18 
26 class cxResourceFilter_EXPORT ResampleImageFilter : public FilterImpl
27 {
28  Q_OBJECT
29 
30 public:
32  virtual ~ResampleImageFilter() {}
33 
34  virtual QString getType() const;
35  virtual QString getName() const;
36  virtual QString getHelp() const;
37  virtual bool execute();
38  virtual bool postProcess();
39 
40  // extensions:
41  DoublePropertyPtr getMarginOption(QDomElement root);
42 
43 protected:
44  virtual void createOptions();
45  virtual void createInputTypes();
46  virtual void createOutputTypes();
47 
48 private slots:
49 
50 private:
51  ImagePtr mRawResult;
52 };
53 typedef boost::shared_ptr<class ResampleImageFilter> ResampleImageFilterPtr;
54 
55 
56 } // namespace cx
57 
58 
59 
60 #endif // CXRESAMPLEIMAGEFILTER_H
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
boost::shared_ptr< class Image > ImagePtr
Definition: cxDicomWidget.h:27
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
boost::shared_ptr< class ResampleImageFilter > ResampleImageFilterPtr
Namespace for all CustusX production code.