|
STIR 6.5.0
|
A very simple class to store all dincies to get a (2D) Viewgram. More...
#include "stir/ViewgramIndices.h"

Public Member Functions | |
| ViewgramIndices () | |
| an empty constructor (sets everything to 0) | |
| ViewgramIndices (const int view_num, const int segment_num, const int timing_pos_num=0) | |
| constructor taking view and segment number as arguments | |
| int | view_num () const |
| get view number for const objects | |
| int & | view_num () |
| get reference to view number | |
| bool | operator< (const ViewgramIndices &other) const |
| comparison operator, only useful for sorting | |
| bool | operator== (const ViewgramIndices &other) const |
| test for equality | |
| bool | operator!= (const ViewgramIndices &other) const |
| Public Member Functions inherited from stir::SegmentIndices | |
| 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 | |
| bool | operator== (const SegmentIndices &other) const |
| test for equality | |
| bool | operator!= (const SegmentIndices &other) const |
A very simple class to store all dincies to get a (2D) Viewgram.
|
inline |
an empty constructor (sets everything to 0)
References stir::SegmentIndices::SegmentIndices(), and ViewgramIndices().
Referenced by stir::Bin::Bin(), stir::Bin::Bin(), stir::Bin::Bin(), operator<(), operator==(), and ViewgramIndices().
|
inline |
constructor taking view and segment number as arguments
References stir::SegmentIndices::segment_num(), stir::SegmentIndices::SegmentIndices(), stir::SegmentIndices::timing_pos_num(), and view_num().
|
inline |
get view number for const objects
Referenced by stir::BackProjectorByBinUsingProjMatrixByBin::actual_back_project(), stir::BackProjectorByBin::back_project(), stir::Bin::Bin(), stir::Bin::Bin(), stir::Bin::Bin(), stir::ProjMatrixByBin::cache_proj_matrix_elems_for_one_bin(), stir::ProjMatrixElemsForOneDenselValue::coordinates_equal(), stir::ProjMatrixElemsForOneDenselValue::coordinates_less(), stir::distributable_computation(), stir::distributable_computation_cache_enabled(), stir::FBP3DRPReconstruction::do_3D_Reconstruction(), stir::LmToProjData::do_post_normalisation(), stir::DataSymmetriesForBins_PET_CartesianGrid::find_basic_bin(), stir::DataSymmetriesForBins_PET_CartesianGrid::find_basic_view_segment_numbers(), stir::DataSymmetriesForBins_PET_CartesianGrid::find_symmetry_operation_from_basic_bin(), stir::DataSymmetriesForBins::find_symmetry_operation_from_basic_view_segment_numbers(), stir::ForwardProjectorByBin::forward_project(), stir::ProjDataInfoCylindricalNoArcCorr::get_all_det_pos_pairs_for_bin(), stir::ProjDataInfoCylindricalArcCorr::get_bin(), stir::ProjDataInfoCylindricalNoArcCorr::get_bin(), stir::BinNormalisationSinogramRescaling::get_bin_efficiency(), stir::LmToProjData::get_bin_from_event(), stir::ProjDataInfoSubsetByView::get_bin_from_original(), stir::ProjMatrixByBin::get_cached_proj_matrix_elems_for_one_bin(), stir::ProjDataInfoCylindricalNoArcCorr::get_det_pair_for_bin(), stir::ProjMatrixByDenselUsingRayTracing::get_element(), stir::Bin::get_empty_copy(), stir::ProjDataFromStream::get_offset(), stir::ProjDataInfoSubsetByView::get_original_bin(), stir::ProjDataInfoCylindrical::get_phi(), stir::DataSymmetriesForBins::get_related_bins(), stir::DataSymmetriesForBins_PET_CartesianGrid::get_related_bins_factorised(), stir::DataSymmetriesForBins_PET_CartesianGrid::get_related_view_segment_numbers(), stir::ProjDataInfo::get_sampling_in_k(), stir::ProjDataInfo::get_sampling_in_m(), stir::ProjDataInfo::get_sampling_in_s(), stir::ProjDataInfo::get_sampling_in_t(), stir::ProjDataFromStream::get_sinogram(), stir::ProjDataInfoCylindrical::get_tantheta(), stir::ProjData::get_viewgram(), stir::Segment< elemT >::get_viewgram(), stir::DataSymmetriesForBins_PET_CartesianGrid::num_related_bins(), stir::DataSymmetriesForBins_PET_CartesianGrid::num_related_view_segment_numbers(), stir::ProjMatrixElemsForOneDenselValue::operator<, stir::operator<<(), stir::LmToProjData::process_data(), stir::ScatterSimulation::process_data_for_view_segment_num(), distributed::receive_view_segment_numbers(), stir::ProjDataInfoTests::run_Blocks_DOI_test(), stir::ProjDataInfoTests::run_coordinate_test(), stir::ProjDataInfoTests::run_coordinate_test_for_realistic_scanner(), distributed::send_view_segment_numbers(), stir::ProjDataFromStream::set_sinogram(), stir::ProjMatrixByBinSPECTUB::set_up(), stir::LmToProjDataBootstrap< LmToProjDataT >::start_new_time_frame(), stir::transform_3d_object(), stir::Viewgram< elemT >::Viewgram(), ViewgramIndices(), and stir::ProjMatrixByBinFromFile::write_to_file().
|
inline |
comparison operator, only useful for sorting
order : (0,1) < (0,-1) < (1,1) ...
References stir::SegmentIndices::operator<(), and ViewgramIndices().
|
inline |
test for equality
References stir::SegmentIndices::operator==(), and ViewgramIndices().
Referenced by stir::Bin::operator==().