10 #ifndef __stir_ZOOMOPTIONS_H__ 11 #define __stir_ZOOMOPTIONS_H__ 57 if ((v < preserve_sum) || (v > preserve_projections))
58 error(
"ZoomOptions initialised with out-of-range value");
60 Scaling get_scaling_option()
const {
return v; }
68 #endif // ZOOMOPTIONS_H ZoomOptions(const Scaling v=preserve_sum)
constructor from Scaling
Definition: ZoomOptions.h:53
This class enables the user to choose between different zooming optionsThe 3 possible values determin...
Definition: ZoomOptions.h:41
Declaration of stir::error()
void error(const char *const s,...)
Print error with format string a la printf and throw exception.
Definition: error.cxx:42