STIR  6.2.0
extract_line.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2004- 2009, Hammersmith Imanet
5  This file is part of STIR.
6 
7  SPDX-License-Identifier: Apache-2.0
8 
9  See STIR/LICENSE.txt for details
10 */
11 #ifndef __stir_extract_line_H__
12 #define __stir_extract_line_H__
13 
23 #include "stir/Array.h"
24 #include "stir/BasicCoordinate.h"
25 START_NAMESPACE_STIR
26 
32 template <class elemT>
33 Array<1, elemT> inline extract_line(const Array<3, elemT>&, const BasicCoordinate<3, int>& index, const int dimension);
34 END_NAMESPACE_STIR
35 
36 #include "stir/extract_line.inl"
37 #endif
defines the Array class for multi-dimensional (numeric) arrays
This file declares class stir::BasicCoordinate and some functions acting on stir::BasicCoordinate obj...
Implementation of stir::extract_line.
Array< 1, elemT > extract_line(const Array< 3, elemT > &, const BasicCoordinate< 3, int > &index, const int dimension)
extracts a line from an array in the direction of the specified dimension.
Definition: extract_line.inl:25