STIR 6.4.0
GatedProjData.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2005-2009, Hammersmith Imanet Ltd
5 Copyright (C) 2010-2013, King's College London
6 This file is part of STIR.
7
8 SPDX-License-Identifier: Apache-2.0
9
10 See STIR/LICENSE.txt for details
11*/
22#include <string>
23
24START_NAMESPACE_STIR
25
26class Succeeded;
27
28class GatedProjData : public MultipleProjData
29{
30public:
31 static unique_ptr<GatedProjData> read_from_file(const std::string& filename);
32
33 GatedProjData(){};
34
35 GatedProjData(const MultipleProjData& m)
36 : MultipleProjData(m)
37 {}
38
39 unsigned int get_num_gates() const { return this->get_num_proj_data(); }
40
41 Succeeded write_to_ecat7(const std::string& filename) const;
42 // Succeeded
43 // write_to_files(const std::string& filename) const;
44
45private:
46 TimeGateDefinitions _time_gate_definitions;
47 static GatedProjData* read_from_gdef(const std::string& filename);
48};
49
50END_NAMESPACE_STIR
Declaration of class stir::MultipleProjData.
Declaration of class stir::TimeGateDefinitions.
unique_ptr< DataT > read_from_file(const FileSignature &signature, FileT file)
Function that reads data from file using the default InputFileFormatRegistry, using the provided File...
Definition read_from_file.h:46