19#ifndef __stir_ProjDataInterfile_H__
20#define __stir_ProjDataInterfile_H__
61 shared_ptr<const ProjDataInfo>
const& proj_data_info_ptr,
62 const std::string& filename,
63 const std::ios::openmode,
64 const std::vector<int>& segment_sequence_in_stream,
65 StorageOrder o = Segment_View_AxialPos_TangPos,
68 float scale_factor = 1);
75 shared_ptr<const ProjDataInfo>
const& proj_data_info_ptr,
76 const std::string& filename,
77 const std::ios::openmode open_mode = std::ios::out,
78 StorageOrder o = Segment_View_AxialPos_TangPos,
81 float scale_factor = 1);
84 void create_stream(
const std::string& filename,
const std::ios::openmode open_mode);
Declaration of class stir::ProjDataFromStream.
This class provides member functions to find out what byte-order your machine is and to swap numbers.
Definition ByteOrder.h:100
@ native
Definition ByteOrder.h:107
provides names for some numeric types and methods for finding their properties.
Definition NumericType.h:55
ProjDataFromStream(shared_ptr< const ExamInfo > const &exam_info_sptr, shared_ptr< const ProjDataInfo > const &proj_data_info_ptr, shared_ptr< std::iostream > const &s, const std::streamoff offs, const std::vector< int > &segment_sequence_in_stream, StorageOrder o=Segment_View_AxialPos_TangPos, NumericType data_type=NumericType::FLOAT, ByteOrder byte_order=ByteOrder::native, float scale_factor=1.f)
constructor taking all necessary parameters
ProjDataInterfile(shared_ptr< const ExamInfo > const &exam_info_sptr, shared_ptr< const ProjDataInfo > const &proj_data_info_ptr, const std::string &filename, const std::ios::openmode, const std::vector< int > &segment_sequence_in_stream, StorageOrder o=Segment_View_AxialPos_TangPos, NumericType data_type=NumericType::FLOAT, ByteOrder byte_order=ByteOrder::native, float scale_factor=1)
constructor taking all necessary parameters
ProjDataInterfile(shared_ptr< const ExamInfo > const &exam_info_sptr, shared_ptr< const ProjDataInfo > const &proj_data_info_ptr, const std::string &filename, const std::ios::openmode open_mode=std::ios::out, StorageOrder o=Segment_View_AxialPos_TangPos, NumericType data_type=NumericType::FLOAT, ByteOrder byte_order=ByteOrder::native, float scale_factor=1)
as above, but with a default value for segment_sequence_in_stream
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...