STIR
6.2.0
|
Class of multiple image gates. More...
#include "stir/GatedDiscretisedDensity.h"
Public Member Functions | |
GatedDiscretisedDensity (const GatedDiscretisedDensity &argument) | |
GatedDiscretisedDensity (const std::string &filename) | |
GatedDiscretisedDensity (const TimeGateDefinitions &time_gate_definitions) | |
GatedDiscretisedDensity (const shared_ptr< DiscretisedDensity< 3, float >> &density_sptr, const unsigned int num_gates) | |
GatedDiscretisedDensity (const TimeGateDefinitions &time_gate_definitions, const shared_ptr< DiscretisedDensity< 3, float >> &density_sptr) | |
Construct an empty GatedDiscretisedDensity based on a shared_ptr<DiscretisedDensity<3,float> > | |
GatedDiscretisedDensity & | operator= (const GatedDiscretisedDensity &argument) |
void | set_time_gate_definitions (TimeGateDefinitions time_gate_definitions) |
const TimeGateDefinitions & | get_time_gate_definitions () const |
unsigned | get_num_gates () const |
void | fill_with_zero () |
Succeeded | write_to_files (const std::string &filename) const |
write data to file Currently only in format. More... | |
Succeeded | write_to_files (const std::string &filename, const std::string &suffix) const |
get/set the densities | |
| |
void | set_density_sptr (const shared_ptr< DiscretisedDensity< 3, float >> &density_sptr, const unsigned int gate_num) |
void | resize_densities (const TimeGateDefinitions &time_gate_definitions) |
const std::vector< shared_ptr< DiscretisedDensity< 3, float > > > & | get_densities () const |
const DiscretisedDensity< 3, float > & | get_density (const unsigned int gate_num) const |
const DiscretisedDensity< 3, float > & | operator[] (const unsigned int gate_num) const |
DiscretisedDensity< 3, float > & | get_density (const unsigned int gate_num) |
DiscretisedDensity< 3, float > & | operator[] (const unsigned int gate_num) |
Static Public Member Functions | |
static GatedDiscretisedDensity * | read_from_file (const std::string &filename) |
static GatedDiscretisedDensity * | read_from_files (const std::string &filename) |
static GatedDiscretisedDensity * | read_from_files (const std::string &filename, const std::string &suffix) |
Class of multiple image gates.
void stir::GatedDiscretisedDensity::set_density_sptr | ( | const shared_ptr< DiscretisedDensity< 3, float >> & | density_sptr, |
const unsigned int | gate_num | ||
) |
References stir::TimeGateDefinitions::get_num_gates(), and stir::TimeGateDefinitions::read_gdef_file().
Succeeded stir::GatedDiscretisedDensity::write_to_files | ( | const std::string & | filename | ) | const |
write data to file Currently only in format.
References stir::write_to_file().