STIR  6.2.0
IndexRange2D.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef __IndexRange2D_H__
5 #define __IndexRange2D_H__
6 
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 
28 START_NAMESPACE_STIR
29 
36 class IndexRange2D : public IndexRange<2>
37 
38 {
39 private:
40  typedef IndexRange<2> base_type;
41 
42 public:
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 
50 END_NAMESPACE_STIR
51 
52 #include "stir/IndexRange2D.inl"
53 
54 #endif
This class defines ranges which can be &#39;irregular&#39;.
Definition: ArrayFunctionObject.h:32
inline implementations for stir::IndexRange2D.
a &#39;convenience&#39; class for 2D index ranges.
Definition: IndexRange2D.h:36
This file defines the stir::IndexRange class.