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

A class for LORs. More...

#include "stir/LORCoordinates.h"

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

Public Member Functions

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

A class for LORs.

Warning
This is all preliminary and likely to change.

Constructor & Destructor Documentation

◆ LORInAxialAndNoArcCorrSinogramCoordinates()

template<class coordT >
stir::LORInAxialAndNoArcCorrSinogramCoordinates< coordT >::LORInAxialAndNoArcCorrSinogramCoordinates ( const coordT  z1,
const coordT  z2,
const coordT  phi,
const coordT  beta,
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, stir::LORInAxialAndSinogramCoordinates< coordT >::is_swapped(), stir::LORInAxialAndNoArcCorrSinogramCoordinates< coordT >::is_swapped(), and stir::to_0_2pi().


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