STIR
6.2.0
|
A class for encoding/finding NO symmetries. Works only on ViewSegmentNumbers (instead of Bin). More...
#include "stir/TrivialDataSymmetriesForViewSegmentNumbers.h"
Public Member Functions | |
DataSymmetriesForViewSegmentNumbers * | clone () const override |
void | get_related_view_segment_numbers (std::vector< ViewSegmentNumbers > &, const ViewSegmentNumbers &v_s) const override |
fills in a vector with all the view/segments that are related to 'v_s' (including itself) | |
int | num_related_view_segment_numbers (const ViewSegmentNumbers &v_s) const override |
returns the number of view_segment_numbers related to 'v_s' More... | |
bool | find_basic_view_segment_numbers (ViewSegmentNumbers &v_s) const override |
given an arbitrary view/segment, find the basic view/segment More... | |
Public Member Functions inherited from stir::DataSymmetriesForViewSegmentNumbers | |
bool | operator== (const DataSymmetriesForViewSegmentNumbers &) const |
Check equality. More... | |
bool | operator!= (const DataSymmetriesForViewSegmentNumbers &) const |
Check inequality. More... | |
std::size_t | num_related_viewgram_indices (const ViewgramIndices &ind) const |
virtual bool | is_basic (const ViewSegmentNumbers &v_s) const |
test if a view/segment is 'basic' More... | |
Additional Inherited Members | |
Protected Types inherited from stir::DataSymmetriesForViewSegmentNumbers | |
typedef DataSymmetriesForViewSegmentNumbers | root_type |
A class for encoding/finding NO symmetries. Works only on ViewSegmentNumbers (instead of Bin).
This class is mainly useful if you need a DataSymmetriesForViewSegmentNumbers object (e.g. for RelatedViewgrams), but do not need/have projectors.
|
inlineoverridevirtual |
returns the number of view_segment_numbers related to 'v_s'
The default implementation is in terms of get_related_view_segment_numbers, which will be slow of course
Reimplemented from stir::DataSymmetriesForViewSegmentNumbers.
|
inlineoverridevirtual |
given an arbitrary view/segment, find the basic view/segment
in this class, v_s is unchanged, and the return value is always false. 'v_s' is changed (i.e. it was NOT a basic view/segment).
Implements stir::DataSymmetriesForViewSegmentNumbers.