STIR 6.5.0
stir::ProjectorByBinPairUsingProjMatrixByBin Class Reference

A projector pair based on a single matrix. More...

#include "stir/recon_buildblock/ProjectorByBinPairUsingProjMatrixByBin.h"

Inheritance diagram for stir::ProjectorByBinPairUsingProjMatrixByBin:

Public Member Functions

 ProjectorByBinPairUsingProjMatrixByBin ()
 Default constructor.
 ProjectorByBinPairUsingProjMatrixByBin (const shared_ptr< ProjMatrixByBin > &proj_matrix_sptr)
 Constructor that sets the projection matrix.
Succeeded set_up (const shared_ptr< const ProjDataInfo > &proj_data_info_sptr, const shared_ptr< const DiscretisedDensity< 3, float > > &density_info_sptr) override
 Stores all necessary geometric info.
ProjMatrixByBin const * get_proj_matrix_ptr () const
shared_ptr< ProjMatrixByBin > get_proj_matrix_sptr () const
void set_proj_matrix_sptr (const shared_ptr< ProjMatrixByBin > &sptr)
Public Member Functions inherited from stir::RegisteredParsingObject< ProjectorByBinPairUsingProjMatrixByBin, ProjectorByBinPair, ProjectorByBinPair >
std::string get_registered_name () const override
 Returns Derived::registered_name.
std::string parameter_info () override
 Returns a string with all parameters and their values, in a form suitable for parsing again.
Public Member Functions inherited from stir::ProjectorByBinPair
 ProjectorByBinPair ()
 Default constructor.
const shared_ptr< ForwardProjectorByBin > get_forward_projector_sptr () const
const shared_ptr< BackProjectorByBin > get_back_projector_sptr () const
const DataSymmetriesForViewSegmentNumbers * get_symmetries_used () const
 Provide access to the (minimal) symmetries used by the projectors.
Public Member Functions inherited from stir::ParsingObject
 ParsingObject (const ParsingObject &)
ParsingObject & operator= (const ParsingObject &)
bool parse (std::istream &f)
bool parse (const char *const filename)
void ask_parameters ()

Static Public Attributes

static const char *const registered_name = "Matrix"
 Name which will be used when parsing a ProjectorByBinPair object.

Additional Inherited Members

Static Public Member Functions inherited from stir::RegisteredParsingObject< ProjectorByBinPairUsingProjMatrixByBin, ProjectorByBinPair, ProjectorByBinPair >
static ProjectorByBinPair * read_from_stream (std::istream *)
 Construct a new object (of type Derived) by parsing the istream.
Static Public Member Functions inherited from stir::RegisteredObject< ProjectorByBinPair >
static ProjectorByBinPair * read_registered_object (std::istream *in, const std::string &registered_name)
 Construct a new object (of a type derived from Root, its actual type determined by the registered_name parameter) by parsing the istream.
static ProjectorByBinPair * ask_type_and_parameters ()
 ask the user for the type, and then calls read_registered_object(0, type)
static void list_registered_names (std::ostream &stream)
 List all possible registered names to the stream.
Protected Types inherited from stir::RegisteredObject< ProjectorByBinPair >
typedef ProjectorByBinPair *(*) RootFactory(std::istream *)
 The type of a root factory is a function, taking an istream* as argument, and returning a Root*.
typedef FactoryRegistry< std::string, RootFactory, interfile_less > RegistryType
 The type of the registry.
Protected Member Functions inherited from stir::ProjectorByBinPair
virtual void check (const ProjDataInfo &proj_data_info, const DiscretisedDensity< 3, float > &density_info) const
 check if the argument is the same as what was used for set_up()
virtual void set_key_values ()
 This will be called before parsing or parameter_info is called.
Static Protected Member Functions inherited from stir::RegisteredObject< ProjectorByBinPair >
static RegistryType & registry ()
 Static function returning the registry.
Protected Attributes inherited from stir::ProjectorByBinPair
shared_ptr< ForwardProjectorByBin > forward_projector_sptr
shared_ptr< BackProjectorByBin > back_projector_sptr
bool _already_set_up
KeyParser parser

Detailed Description

A projector pair based on a single matrix.

Constructor & Destructor Documentation

◆ ProjectorByBinPairUsingProjMatrixByBin() [1/2]

stir::ProjectorByBinPairUsingProjMatrixByBin::ProjectorByBinPairUsingProjMatrixByBin ( )

◆ ProjectorByBinPairUsingProjMatrixByBin() [2/2]

stir::ProjectorByBinPairUsingProjMatrixByBin::ProjectorByBinPairUsingProjMatrixByBin ( const shared_ptr< ProjMatrixByBin > & proj_matrix_sptr)

Constructor that sets the projection matrix.

References ProjectorByBinPairUsingProjMatrixByBin().

Member Function Documentation

◆ set_up()

Succeeded stir::ProjectorByBinPairUsingProjMatrixByBin::set_up ( const shared_ptr< const ProjDataInfo > & proj_data_info_sptr,
const shared_ptr< const DiscretisedDensity< 3, float > > & density_info_sptr )
overridevirtual

Stores all necessary geometric info.

First constructs forward and back projectors and then calls base_type::setup

Reimplemented from stir::ProjectorByBinPair.

References stir::ProjectorByBinPair::set_up(), and set_up().

Referenced by set_up().


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