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