STIR 6.4.0
ProjDataInfoBlocksOnCylindricalNoArcCorr.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2017, ETH Zurich, Institute of Particle Physics and Astrophysics
4 This file is part of STIR.
5
6 SPDX-License-Identifier: Apache-2.0
7
8 See STIR/LICENSE.txt for details
9*/
10
21#ifndef __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
22#define __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
23
25
26START_NAMESPACE_STIR
27
28class Succeeded;
29class ProjDataInfoTests;
30class BlocksTests;
31
43{
44private:
45 typedef ProjDataInfoGenericNoArcCorr base_type;
46#ifdef STIR_COMPILING_SWIG_WRAPPER
47 // SWIG needs this typedef to be public
48public:
49#endif
51
52public:
55
57 ProjDataInfoBlocksOnCylindricalNoArcCorr(const shared_ptr<Scanner> scanner_ptr,
58 const VectorWithOffset<int>& num_axial_pos_per_segment,
59 const VectorWithOffset<int>& min_ring_diff_v,
60 const VectorWithOffset<int>& max_ring_diff_v,
61 const int num_views,
62 const int num_tangential_poss);
63
64 self_type* clone() const override;
65
66 bool operator==(const self_type&) const;
67
68 std::string parameter_info() const override;
69
70private:
72
73 Succeeded find_scanner_coordinates_given_cartesian_coordinates(int& det1,
74 int& det2,
75 int& ring1,
76 int& ring2,
78 const CartesianCoordinate3D<float>& c2) const override;
80 // give test classes access to the private members
81 friend class ProjDataInfoTests;
82 friend class BlocksTests;
83
84private:
85 bool blindly_equals(const root_type* const) const override;
86};
87
88END_NAMESPACE_STIR
89
90#endif
Declaration of class stir::ProjDataInfoGenericNoArcCorr.
a templated class for 3-dimensional coordinates.
Definition CartesianCoordinate3D.h:53
self_type * clone() const override
Standard trick for a 'virtual copy-constructor'.
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:61
std::string parameter_info() const override
Return a string describing the object.
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:83
ProjDataInfoBlocksOnCylindricalNoArcCorr()
Default constructor (leaves object in ill-defined state)
Definition ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx:41
ProjDataInfoGenericNoArcCorr()
Default constructor (leaves object in ill-defined state)
Definition ProjDataInfoGenericNoArcCorr.cxx:36
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
A templated class for vectors, but with indices starting not from 0.
Definition VectorWithOffset.h:65