STIR  6.2.0
Public Member Functions | List of all members

A class for LORs. More...

#include "stir/LORCoordinates.h"

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

Public Member Functions

const CartesianCoordinate3D< coordT > & p1 () const
 
CartesianCoordinate3D< coordT > & p1 ()
 
const CartesianCoordinate3D< coordT > & p2 () const
 
CartesianCoordinate3D< coordT > & p2 ()
 
 LORAs2Points (const CartesianCoordinate3D< coordT > &p1, const CartesianCoordinate3D< coordT > &p2)
 
 LORAs2Points (const LORInCylinderCoordinates< coordT > &cyl_coords)
 
 LORAs2Points (const LORInAxialAndSinogramCoordinates< coordT > &)
 
 LORAs2Points (const LORInAxialAndNoArcCorrSinogramCoordinates< coordT > &)
 
bool is_swapped () const override
 Return if the LOR direction is opposite from normal. More...
 
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
 
Succeeded change_representation_for_block (LORInAxialAndNoArcCorrSinogramCoordinates< coordT > &, const double radius) const
 Calculate intersections with block. Used in: ProjDataInfoBlocksOnCylindrical::get_LOR.
 

Detailed Description

template<class coordT>
class stir::LORAs2Points< coordT >

A class for LORs.

Warning
This is all preliminary and likely to change.

Member Function Documentation

◆ is_swapped()

template<class coordT>
bool stir::LORAs2Points< 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 >.


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