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

A helper class to build the crystal map based on scanner info. More...

#include "stir/GeometryBlocksOnCylindrical.h"

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

Public Member Functions

 GeometryBlocksOnCylindrical (const Scanner &scanner)
 
- Public Member Functions inherited from stir::DetectorCoordinateMap
 DetectorCoordinateMap (const std::string &filename, double sigma=0.0)
 Constructor calls read_detectormap_from_file( filename ).
 
 DetectorCoordinateMap (const det_pos_to_coord_type &coord_map, double sigma=0.0)
 Constructor calls set_detector_map(coord_map).
 
void read_detectormap_from_file (const std::string &filename)
 Reads map from file and stores it.
 
void set_detector_map (const det_pos_to_coord_type &coord_map)
 stores the map More...
 
stir::DetectionPosition get_det_pos_for_index (const stir::DetectionPosition<> &index) const
 
stir::CartesianCoordinate3D< float > get_coordinate_for_det_pos (const stir::DetectionPosition<> &det_pos) const
 Returns a cartesian coordinate given a detection position.
 
stir::CartesianCoordinate3D< float > get_coordinate_for_index (const stir::DetectionPosition<> &index) const
 Returns a cartesian coordinate given an (unsorted) index.
 
Succeeded find_detection_position_given_cartesian_coordinate (DetectionPosition<> &det_pos, const CartesianCoordinate3D< float > &cart_coord) const
 
unsigned get_num_tangential_coords () const
 
unsigned get_num_axial_coords () const
 
unsigned get_num_radial_coords () const
 

Additional Inherited Members

- Public Types inherited from stir::DetectorCoordinateMap
typedef boost::unordered_map< stir::DetectionPosition<>, stir::CartesianCoordinate3D< float >, ihash > det_pos_to_coord_type
 
typedef boost::unordered_map< stir::DetectionPosition<>, stir::DetectionPosition<>, ihash > unordered_to_ordered_det_pos_type
 
- Protected Member Functions inherited from stir::DetectorCoordinateMap
 DetectorCoordinateMap (double sigma=0.0)
 

Detailed Description

A helper class to build the crystal map based on scanner info.

This class builds two maps between cartesian coordinates (z, y, x) and the corresponding detection position (tangential_num, axial_num, radial_num) for each crystal. The crystal map, then, is used in ProjDataInfoBlocksOnCylindrical, ProjDataInfoBlocksOnCylindricalNoArcCorr, and CListRecordSAFIR

  The center of first ring is the center of coordinates.
  Distances are from center to center of crystals.

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