STIR  6.2.0
Public Member Functions | List of all members
stir::TrivialDataSymmetriesForViewSegmentNumbers Class Reference

A class for encoding/finding NO symmetries. Works only on ViewSegmentNumbers (instead of Bin). More...

#include "stir/TrivialDataSymmetriesForViewSegmentNumbers.h"

Inheritance diagram for stir::TrivialDataSymmetriesForViewSegmentNumbers:
Inheritance graph
[legend]

Public Member Functions

DataSymmetriesForViewSegmentNumbersclone () 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
 

Detailed Description

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.

Member Function Documentation

◆ num_related_view_segment_numbers()

int stir::TrivialDataSymmetriesForViewSegmentNumbers::num_related_view_segment_numbers ( const ViewSegmentNumbers v_s) const
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.

◆ find_basic_view_segment_numbers()

bool stir::TrivialDataSymmetriesForViewSegmentNumbers::find_basic_view_segment_numbers ( ViewSegmentNumbers v_s) const
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.


The documentation for this class was generated from the following files: