STIR 6.4.0
ThresholdMinToSmallPositiveValueDataProcessor.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2000- 2007, Hammersmith Imanet Ltd
5 This file is part of STIR.
6
7 SPDX-License-Identifier: Apache-2.0
8
9 See STIR/LICENSE.txt for details
10*/
20
21#ifndef __stir_ThresholdMinToSmallPositiveValueDataProcessor_H__
22#define __stir_ThresholdMinToSmallPositiveValueDataProcessor_H__
23
25#include "stir/DataProcessor.h"
26
27START_NAMESPACE_STIR
28
50
51template <typename DataT>
53 : public RegisteredParsingObject<ThresholdMinToSmallPositiveValueDataProcessor<DataT>,
54 DataProcessor<DataT>,
55 DataProcessor<DataT>>
56{
57private:
61 base_type;
62
63public:
64 static const char* const registered_name;
65
68
69private:
70 int rim_truncation_image;
71
72 void set_defaults() override;
73 void initialise_keymap() override;
74
75 Succeeded virtual_set_up(const DataT&) override;
76
77 void virtual_apply(DataT& out_data, const DataT& in_data) const override;
78 void virtual_apply(DataT& data) const override;
79};
80
81END_NAMESPACE_STIR
82
83#endif
Declaration of class stir::DataProcessor.
Declaration of class stir::RegisteredParsingObject.
Base class that defines an interface for classes that do data processing.
Definition DataProcessor.h:47
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files.
Definition RegisteredParsingObject.h:78
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
ThresholdMinToSmallPositiveValueDataProcessor()
Construct by calling set_defaults()
Definition ThresholdMinToSmallPositiveValueDataProcessor.cxx:54