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

A class for LORs. More...

#include "stir/LORCoordinates.h"

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

Public Member Functions

coordT z1 () const
 
coordT & z1 ()
 
coordT z2 () const
 
coordT & z2 ()
 
coordT phi () const
 
coordT & phi ()
 
coordT s () const
 
coordT & s ()
 
coordT beta () const
 
bool is_swapped () const override
 Return if the LOR direction is opposite from normal.
 
bool is_swapped ()
 
 LORInAxialAndSinogramCoordinates (const coordT radius=1)
 
 LORInAxialAndSinogramCoordinates (const coordT z1, const coordT z2, const coordT phi, const coordT s, const coordT radius=1, const bool swapped=false)
 Constructor from explicit arguments. More...
 
 LORInAxialAndSinogramCoordinates (const LORInCylinderCoordinates< coordT > &)
 
 LORInAxialAndSinogramCoordinates (const LORInAxialAndNoArcCorrSinogramCoordinates< coordT > &)
 
self_typeclone () const override
 
void reset (coordT radius=1)
 
coordT radius () const
 
Succeeded set_radius (const coordT new_radius)
 
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::LORInAxialAndSinogramCoordinates< coordT >

A class for LORs.

Warning
This is all preliminary and likely to change.

Constructor & Destructor Documentation

◆ LORInAxialAndSinogramCoordinates()

template<class coordT >
stir::LORInAxialAndSinogramCoordinates< coordT >::LORInAxialAndSinogramCoordinates ( const coordT  z1,
const coordT  z2,
const coordT  phi,
const coordT  s,
const coordT  radius = 1,
const bool  swapped = false 
)
inline

Constructor from explicit arguments.

Warning
It's a bad idea to use this constructor, as a mistake in the order of arguments is easily made.

References _PI.


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