STIR  6.2.0
PostFiltering.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2016, UCL
5 
6  This file is part of STIR.
7  SPDX-License-Identifier: Apache-2.0
8  See STIR/LICENSE.txt for details
9 */
10 #ifndef __stir_PostFiltering_H__
11 #define __stir_PostFiltering_H__
12 
23 #include "stir/ParsingObject.h"
24 #include "stir/DataProcessor.h"
26 #include "stir/is_null_ptr.h"
27 #include "stir/Succeeded.h"
28 
29 START_NAMESPACE_STIR
30 
31 template <class DataT>
32 class PostFiltering : public ParsingObject
33 {
34 public:
36  PostFiltering();
37 
38  ~PostFiltering() override {}
39 
40  void set_filter_sptr(shared_ptr<DataProcessor<DataT>> filter_sptr);
41  Succeeded process_data(DataT& arg);
42 
44  bool is_filter_null();
45 
46 protected:
47  void set_defaults() override;
48  void initialise_keymap() override;
49  bool post_processing() override;
50 
51 private:
52  shared_ptr<DataProcessor<DataT>> filter_sptr;
53 };
54 
55 END_NAMESPACE_STIR
56 #include "stir/PostFiltering.inl"
57 #endif
Declaration of class stir::Succeeded.
Declaration of class stir::DataProcessor.
Declaration of class stir::ParsingObject.
defines the stir::DiscretisedDensity class
Definition of stir::is_null_ptr functions.