STIR 6.4.0
GeometryBlocksOnCylindrical.h
Go to the documentation of this file.
1
2/*
3Copyright 2017 ETH Zurich, Institute of Particle Physics and Astrophysics
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16*/
17
27#ifndef __stir_GeometryBlocksOnCylindrical_H__
28#define __stir_GeometryBlocksOnCylindrical_H__
29
31#include "stir/Array.h"
32
33START_NAMESPACE_STIR
34
48
49class GeometryBlocksOnCylindrical : public DetectorCoordinateMap
50{
51
52public:
53 GeometryBlocksOnCylindrical(const Scanner& scanner);
54
55private:
57 stir::Array<2, float> get_rotation_matrix(float alpha) const;
58
60 void build_crystal_maps(const Scanner& scanner);
61};
62
63END_NAMESPACE_STIR
64
65#endif
defines the stir::Array class for multi-dimensional (numeric) arrays
Declaration of class stir::DetectorCoordinateMap.
This class defines multi-dimensional (numeric) arrays.
Definition Array.h:78
DetectorCoordinateMap(const std::string &filename, double sigma=0.0)
Constructor calls read_detectormap_from_file( filename ).
Definition DetectorCoordinateMap.h:69
A class for storing some info on the scanner.
Definition Scanner.h:108