STIR
6.2.0
|
Class for adding parameters relevant to DiscretisedDensity to a parser. More...
#include "stir/ParseDiscretisedDensityParameters.h"
Public Member Functions | |
void | set_defaults () |
void | add_to_keymap (KeyParser &parser) |
void | check_values () const |
calls error() if something is wrong | |
the output image size in x and y direction | |
int | get_output_image_size_xy () const |
void | set_output_image_size_xy (int) |
the output image size in z direction | |
int | get_output_image_size_z () const |
void | set_output_image_size_z (int) |
the xy-zoom factor | |
float | get_zoom_xy () const |
void | set_zoom_xy (float) |
the zoom factor in z-direction | |
float | get_zoom_z () const |
void | set_zoom_z (float) |
offset from default position | |
const CartesianCoordinate3D< float > & | get_offset () const |
void | set_offset (const CartesianCoordinate3D< float > &) |
Class for adding parameters relevant to DiscretisedDensity to a parser.
int stir::ParseDiscretisedDensityParameters::get_output_image_size_xy | ( | ) | const |
convention: if -1, use a size such that the whole FOV is covered
int stir::ParseDiscretisedDensityParameters::get_output_image_size_z | ( | ) | const |
convention: if -1, use default as provided by VoxelsOnCartesianGrid constructor
float stir::ParseDiscretisedDensityParameters::get_zoom_xy | ( | ) | const |
See the VoxelsOnCartesianGrid constructor