STIR  6.2.0
ParseDiscretisedDensityParameters.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2000 PARAPET partners
3  Copyright (C) 2000- 2007, Hammersmith Imanet Ltd
4  Copyright (C) 2019, University College London
5  This file is part of STIR.
6 
7  SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
8 
9  See STIR/LICENSE.txt for details
10 */
24 #ifndef __ParseDiscretisedDensityParameters_H__
25 #define __ParseDiscretisedDensityParameters_H__
26 
28 
29 START_NAMESPACE_STIR
30 
31 class KeyParser;
32 
40 {
41 public:
42  void set_defaults();
43  void add_to_keymap(KeyParser& parser);
44 
46  void check_values() const;
47 
49 
52  int get_output_image_size_xy() const;
53  void set_output_image_size_xy(int);
55 
57 
60  int get_output_image_size_z() const;
61  void set_output_image_size_z(int);
63 
65 
67  float get_zoom_xy() const;
68  void set_zoom_xy(float);
70 
72 
73  float get_zoom_z() const;
74  void set_zoom_z(float);
76 
78 
79  const CartesianCoordinate3D<float>& get_offset() const;
80  void set_offset(const CartesianCoordinate3D<float>&);
82 
83 private:
85 
87  int output_image_size_xy;
88 
90 
92  int output_image_size_z;
93 
95  float zoom_xy;
96 
98  float zoom_z;
99 
102 };
103 
104 END_NAMESPACE_STIR
105 
106 #endif
A class to parse Interfile headers.
Definition: KeyParser.h:161
Class for adding parameters relevant to DiscretisedDensity to a parser.
Definition: ParseDiscretisedDensityParameters.h:39
defines the stir::CartesianCoordinate3D<coordT> class