STIR 6.4.0
ProjectorByBinPairUsingProjMatrixByBin.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2000- 2011, 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#ifndef __stir_recon_buildblock_ProjectorByBinPairUsingProjMatrixByBin_h_
21#define __stir_recon_buildblock_ProjectorByBinPairUsingProjMatrixByBin_h_
22
26
27START_NAMESPACE_STIR
28
29class Succeeded;
35 : public RegisteredParsingObject<ProjectorByBinPairUsingProjMatrixByBin, ProjectorByBinPair, ProjectorByBinPair>
36{
37private:
39
40public:
42 static const char* const registered_name;
43
46
48 ProjectorByBinPairUsingProjMatrixByBin(const shared_ptr<ProjMatrixByBin>& proj_matrix_sptr);
49
51
52 Succeeded set_up(const shared_ptr<const ProjDataInfo>& proj_data_info_sptr,
53 const shared_ptr<const DiscretisedDensity<3, float>>& density_info_sptr // TODO should be Info only
54 ) override;
55
56 ProjMatrixByBin const* get_proj_matrix_ptr() const;
57
58 shared_ptr<ProjMatrixByBin> get_proj_matrix_sptr() const;
59
60 void set_proj_matrix_sptr(const shared_ptr<ProjMatrixByBin>& sptr);
61
62private:
63 shared_ptr<ProjMatrixByBin> proj_matrix_sptr;
64 void set_defaults() override;
65 void initialise_keymap() override;
66 bool post_processing() override;
67};
68
69END_NAMESPACE_STIR
70
71#endif // __stir_recon_buildblock_ProjectorByBinPairUsingProjMatrixByBin_h_
declaration of stir::ProjMatrixByBin and its helpers classes
Declares class stir::ProjectorByBinPair.
Declaration of class stir::RegisteredParsingObject.
This abstract class is the basis for all image representations.
Definition DiscretisedDensity.h:99
This is the (abstract) base class for all projection matrices which are organised by 'bin'.
Definition ProjMatrixByBin.h:79
static const char *const registered_name
Name which will be used when parsing a ProjectorByBinPair object.
Definition ProjectorByBinPairUsingProjMatrixByBin.h:42
Succeeded set_up(const shared_ptr< const ProjDataInfo > &proj_data_info_sptr, const shared_ptr< const DiscretisedDensity< 3, float > > &density_info_sptr) override
Stores all necessary geometric info.
Definition ProjectorByBinPairUsingProjMatrixByBin.cxx:76
ProjectorByBinPairUsingProjMatrixByBin()
Default constructor.
Definition ProjectorByBinPairUsingProjMatrixByBin.cxx:64
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