STIR  6.2.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 
27 START_NAMESPACE_STIR
28 
29 class Succeeded;
35  : public RegisteredParsingObject<ProjectorByBinPairUsingProjMatrixByBin, ProjectorByBinPair, ProjectorByBinPair>
36 {
37 private:
39 
40 public:
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 
62 private:
63  shared_ptr<ProjMatrixByBin> proj_matrix_sptr;
64  void set_defaults() override;
65  void initialise_keymap() override;
66  bool post_processing() override;
67 };
68 
69 END_NAMESPACE_STIR
70 
71 #endif // __stir_recon_buildblock_ProjectorByBinPairUsingProjMatrixByBin_h_
A projector pair based on a single matrix.
Definition: ProjectorByBinPairUsingProjMatrixByBin.h:34
This is the (abstract) base class for all projection matrices which are organised by &#39;bin&#39;...
Definition: ProjMatrixByBin.h:78
declaration of stir::ProjMatrixByBin and its helpers classes
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
static const char *const registered_name
Name which will be used when parsing a ProjectorByBinPair object.
Definition: ProjectorByBinPairUsingProjMatrixByBin.h:42
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declaration of class stir::RegisteredParsingObject.
Declares class stir::ProjectorByBinPair.