STIR  6.2.0
Public Member Functions | List of all members
stir::ParseDiscretisedDensityParameters Class Reference

Class for adding parameters relevant to DiscretisedDensity to a parser. More...

#include "stir/ParseDiscretisedDensityParameters.h"

Inheritance diagram for stir::ParseDiscretisedDensityParameters:
Inheritance graph
[legend]

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 > &)
 

Detailed Description

Class for adding parameters relevant to DiscretisedDensity to a parser.

Member Function Documentation

◆ get_output_image_size_xy()

int stir::ParseDiscretisedDensityParameters::get_output_image_size_xy ( ) const

convention: if -1, use a size such that the whole FOV is covered

◆ get_output_image_size_z()

int stir::ParseDiscretisedDensityParameters::get_output_image_size_z ( ) const

convention: if -1, use default as provided by VoxelsOnCartesianGrid constructor

◆ get_zoom_xy()

float stir::ParseDiscretisedDensityParameters::get_zoom_xy ( ) const

See the VoxelsOnCartesianGrid constructor


The documentation for this class was generated from the following files: