16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_IO_READWRITETIFF_H
21 #define BORNAGAIN_DEVICE_IO_READWRITETIFF_H
23 #ifdef BA_TIFF_SUPPORT
37 Datafield* readDatafield(std::istream& input_stream);
38 void writeDatafield(
const Datafield& data, std::ostream& output_stream);
41 void read(std::istream& input_stream);
47 void create_output_data();
50 size_t m_width, m_height;
51 uint16_t m_bitsPerSample, m_samplesPerPixel, m_sampleFormat;
52 std::unique_ptr<Datafield> m_data;
Defines and implements templated class Datafield.
Stores radiation power per bin.