STIR 6.4.0
stir::LORInCylinderCoordinates< coordT > Class Template Reference

A class for LORs. More...

#include "stir/LORCoordinates.h"

Inheritance diagram for stir::LORInCylinderCoordinates< coordT >:

Public Member Functions

const PointOnCylinder< coordT > & p1 () const
 
PointOnCylinder< coordT > & p1 ()
 
const PointOnCylinder< coordT > & p2 () const
 
PointOnCylinder< coordT > & p2 ()
 
bool is_swapped () const override
 Return if the LOR direction is opposite from normal.
 
void reset (coordT radius=1)
 
coordT radius () const
 
Succeeded set_radius (coordT new_radius)
 Changes the radius of the LOR.
 
 LORInCylinderCoordinates (const coordT radius=1)
 
 LORInCylinderCoordinates (const PointOnCylinder< coordT > &p1, const PointOnCylinder< coordT > &p2, const coordT radius=1)
 
 LORInCylinderCoordinates (const LORInAxialAndNoArcCorrSinogramCoordinates< coordT > &)
 
 LORInCylinderCoordinates (const LORInAxialAndSinogramCoordinates< coordT > &)
 
self_typeclone () const override
 
Succeeded change_representation (LORInCylinderCoordinates< coordT > &, const double radius) const override
 
Succeeded change_representation (LORInAxialAndNoArcCorrSinogramCoordinates< coordT > &, const double radius) const override
 
Succeeded change_representation (LORInAxialAndSinogramCoordinates< coordT > &, const double radius) const override
 
Succeeded get_intersections_with_cylinder (LORAs2Points< coordT > &, const double radius) const override
 

Detailed Description

template<class coordT>
class stir::LORInCylinderCoordinates< coordT >

A class for LORs.

Warning
This is all preliminary and likely to change.

Member Function Documentation

◆ is_swapped()

template<class coordT>
bool stir::LORInCylinderCoordinates< coordT >::is_swapped ( ) const
inlineoverridevirtual

Return if the LOR direction is opposite from normal.

In this class, this currently always return false. You can swap the points if you want to swap the direction of the LOR.

Implements stir::LOR< coordT >.

Referenced by stir::ProjDataInfoCylindricalNoArcCorr::get_bin().

◆ clone()

template<class coordT>
self_type * stir::LORInCylinderCoordinates< coordT >::clone ( ) const
inlineoverridevirtual

Implements stir::LOR< coordT >.

◆ change_representation() [1/3]

template<class coordT>
Succeeded stir::LORInCylinderCoordinates< coordT >::change_representation ( LORInCylinderCoordinates< coordT > & ,
const double radius ) const
overridevirtual

Implements stir::LOR< coordT >.

◆ change_representation() [2/3]

template<class coordT>
Succeeded stir::LORInCylinderCoordinates< coordT >::change_representation ( LORInAxialAndNoArcCorrSinogramCoordinates< coordT > & ,
const double radius ) const
overridevirtual

Implements stir::LOR< coordT >.

◆ change_representation() [3/3]

template<class coordT>
Succeeded stir::LORInCylinderCoordinates< coordT >::change_representation ( LORInAxialAndSinogramCoordinates< coordT > & ,
const double radius ) const
overridevirtual

Implements stir::LOR< coordT >.

◆ get_intersections_with_cylinder()

template<class coordT>
Succeeded stir::LORInCylinderCoordinates< coordT >::get_intersections_with_cylinder ( LORAs2Points< coordT > & ,
const double radius ) const
overridevirtual

Implements stir::LOR< coordT >.


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