STIR
6.2.0
|
A very simple class to store segment numbers and any other indices that define a segment. More...
#include "stir/SegmentIndices.h"
Public Member Functions | |
SegmentIndices (const int segment_num=0, const int timing_pos_num=0) | |
constructor segment number as arguments | |
int | segment_num () const |
get segment number for const objects | |
int & | segment_num () |
get reference to segment number | |
int | timing_pos_num () const |
get TOF index for const objects | |
int & | timing_pos_num () |
get reference to TOF index | |
bool | operator< (const SegmentIndices &other) const |
comparison operator, only useful for sorting More... | |
bool | operator== (const SegmentIndices &other) const |
test for equality | |
bool | operator!= (const SegmentIndices &other) const |
A very simple class to store segment numbers and any other indices that define a segment.
|
inline |
comparison operator, only useful for sorting
In future, there will be multiple indices, and order will then be based as in (0,1) < (0,-1) < (1,1) ...