STIR  6.2.0
InvertAxis.h
Go to the documentation of this file.
1 //
2 /*
3  Copyright (C) 2019 National Physical Laboratory
4  This file is part of STIR.
5 
6  SPDX-License-Identifier: Apache-2.0
7 
8  See STIR/LICENSE.txt for details
9  */
18 #ifndef __stir_InvertAxis_H__
19 #define __stir_InvertAxis_H__
20 
22 
23 START_NAMESPACE_STIR
24 
32 {
33 
34 public:
36 
38  void invert_axis(DiscretisedDensity<3, float>& inverted_image,
39  const DiscretisedDensity<3, float>& input_image,
40  const std::string& axis_name);
41 
42  int invert_axis_index(const int input_index, const int size, const std::string& axis_name);
43 };
44 END_NAMESPACE_STIR
45 
46 #endif
a utility class to "invert" an axis
Definition: InvertAxis.h:31
defines the stir::VoxelsOnCartesianGrid class