STIR 6.4.0
IndexRange2D.h
Go to the documentation of this file.
1//
2//
3
4#ifndef __IndexRange2D_H__
5#define __IndexRange2D_H__
16/*
17 Copyright (C) 2000 PARAPET partners
18 Copyright (C) 2000- 2009, Hammersmith Imanet Ltd
19 This file is part of STIR.
20
21 SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
22
23 See STIR/LICENSE.txt for details
24*/
25
26#include "stir/IndexRange.h"
27
28START_NAMESPACE_STIR
29
36class IndexRange2D : public IndexRange<2>
37
38{
39private:
40 typedef IndexRange<2> base_type;
41
42public:
43 inline IndexRange2D();
44 inline IndexRange2D(const IndexRange<2>& range_v);
45 inline IndexRange2D(const int min_1, const int max_1, const int min_2, const int max_2);
46 inline IndexRange2D(const int length_1, const int length_2);
47 // TODO add 2 arg constructor with BasicCoordinate<2,int> min,max
48};
49
50END_NAMESPACE_STIR
51
52#include "stir/IndexRange2D.inl"
53
54#endif
inline implementations for stir::IndexRange2D.
This file defines the stir::IndexRange class.