STIR 6.4.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__
23#include "stir/Array.h"
25START_NAMESPACE_STIR
26
32template <class elemT>
33Array<1, elemT> inline extract_line(const Array<3, elemT>&, const BasicCoordinate<3, int>& index, const int dimension);
34END_NAMESPACE_STIR
35
36#include "stir/extract_line.inl"
37#endif
defines the stir::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