STIR  6.2.0
Public Member Functions | List of all members
stir::LORInCylinderCoordinates< coordT > Class Template Reference

A class for LORs. More...

#include "stir/LORCoordinates.h"

Inheritance diagram for stir::LORInCylinderCoordinates< coordT >:
Inheritance graph
[legend]

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. More...
 
void reset (coordT radius=1)
 
coordT radius () const
 
Succeeded set_radius (coordT new_radius)
 Changes the radius of the LOR. More...
 
 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 >.

References _PI.

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


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