STIR
6.2.0
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
w
z
+
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
w
z
Variables
Typedefs
Enumerations
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
x
y
z
+
Typedefs
c
d
f
h
i
r
s
v
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
home
sirfuser
devel
STIRdistrib
STIR
src
include
stir
SegmentIndices.h
Go to the documentation of this file.
1
//
2
//
12
/*
13
Copyright (C) 2023, University College London
14
This file is part of STIR.
15
16
SPDX-License-Identifier: Apache-2.0
17
18
See STIR/LICENSE.txt for details
19
*/
20
21
#ifndef __stir_SegmentIndices_h__
22
#define __stir_SegmentIndices_h__
23
24
#include "
stir/common.h
"
25
26
START_NAMESPACE_STIR
27
33
class
SegmentIndices
34
{
35
public
:
37
explicit
inline
SegmentIndices
(
const
int
segment_num = 0,
const
int
timing_pos_num = 0);
38
40
inline
int
segment_num()
const
;
41
43
inline
int
& segment_num();
44
46
inline
int
timing_pos_num()
const
;
47
49
inline
int
& timing_pos_num();
50
52
55
inline
bool
operator<(
const
SegmentIndices
& other)
const
;
56
58
inline
bool
operator==(
const
SegmentIndices
& other)
const
;
59
inline
bool
operator!=(
const
SegmentIndices
& other)
const
;
60
61
private
:
62
int
_segment;
63
int
_timing_pos;
64
};
65
66
END_NAMESPACE_STIR
67
68
#include "
stir/SegmentIndices.inl
"
69
70
#endif
stir::SegmentIndices
A very simple class to store segment numbers and any other indices that define a segment.
Definition:
SegmentIndices.h:33
SegmentIndices.inl
inline implementations for class stir::SegmentIndices
common.h
basic configuration include file
Generated on Tue Jul 23 2024 09:13:11 for STIR by
1.8.13