116 #ifndef __stir_Shape_GenerateImage_h__ 117 # define __stir_Shape_GenerateImage_h__ 121 class GenerateImage :
public KeyParser
125 explicit GenerateImage(
const char*
const par_filename);
131 Succeeded save_image();
134 shared_ptr<DiscretisedDensity<3, float>> get_output_sptr();
137 virtual void set_defaults();
138 virtual void initialise_keymap();
139 bool post_processing()
override;
140 void set_imaging_modality();
141 shared_ptr<ExamInfo> exam_info_sptr;
142 std::string imaging_modality_as_string;
143 ASCIIlist_type patient_orientation_values;
144 ASCIIlist_type patient_rotation_values;
145 int patient_orientation_index;
146 int patient_rotation_index;
148 shared_ptr<DiscretisedDensity<3, float>> out_density_ptr;
150 std::vector<shared_ptr<Shape3D>> shape_ptrs;
151 shared_ptr<Shape3D> current_shape_ptr;
152 std::vector<float> values;
154 std::string output_filename;
155 shared_ptr<OutputFileFormat<DiscretisedDensity<3, float>>> output_file_format_sptr;
157 void increment_current_shape_num();
159 int output_image_size_x;
160 int output_image_size_y;
161 int output_image_size_z;
162 float output_voxel_size_x;
163 float output_voxel_size_y;
164 float output_voxel_size_z;
166 CartesianCoordinate3D<int> num_samples;
168 double image_duration;
169 double rel_start_time;
174 #endif // __stir_Shape_GenerateImage_h__ Declaration of class stir::Succeeded.
Declaration of class stir::PatientPosition.
Declaration of class stir::KeyParser.
This file declares the class stir::IndexRange3D.
Declaration of class stir::ImagingModality.
Declaration of class stir::Shape3D.
Definition of stir::is_null_ptr functions.
defines the stir::VoxelsOnCartesianGrid class
defines the stir::CartesianCoordinate3D<coordT> class