Functions | |
void | abort_fld_reader (const char *msg, unsigned line=0) |
void | abort_load (const char *msg, const char *filename) |
template<typename I> | |
void | load_raw (std::ifstream &file, I &ima) |
template<typename I> | |
void | load_raw_contiguous (std::ifstream &file, I &ima) |
template<typename I> | |
void | load_raw_uncontiguous (std::ifstream &file, I &ima) |
template<typename I> | |
fld::fld_header | make_header (const I &ima) |
template<typename V> | |
void | read_value (std::ifstream &file, V &v) |
template<class V> | |
void | read_value (std::ifstream &file, value::Scalar< V > &v) |
template<unsigned int n> | |
void | read_value (std::ifstream &file, value::rgb< n > &v) |
template<typename I> | |
void | save_data_contiguous (std::ofstream &file, const I &ima) |
void mln::io::fld::internal::abort_fld_reader | ( | const char * | msg, | |
unsigned | line = 0 | |||
) |
void mln::io::fld::internal::abort_load | ( | const char * | msg, | |
const char * | filename | |||
) |
void mln::io::fld::internal::load_raw | ( | std::ifstream & | file, | |
I & | ima | |||
) | [inline] |
Definition at line 182 of file fld/load.hh.
References load_raw_contiguous(), and load_raw_uncontiguous().
Referenced by mln::io::fld::load().
void mln::io::fld::internal::load_raw_contiguous | ( | std::ifstream & | file, | |
I & | ima | |||
) | [inline] |
void mln::io::fld::internal::load_raw_uncontiguous | ( | std::ifstream & | file, | |
I & | ima | |||
) | [inline] |
fld::fld_header mln::io::fld::internal::make_header | ( | const I & | ima | ) | [inline] |
Definition at line 99 of file fld/save.hh.
References mln::geom::bbox(), mln::io::fld::data_type::BYTE, mln::io::fld::fld_header::data, mln::io::fld::fld_header::dim, mln::io::fld::data_type::DOUBLE, mln::io::fld::fld_header::field, mln::io::fld::data_type::FLOAT, mln::io::fld::data_type::INTEGER, mln::io::fld::max_component(), mln::io::fld::fld_header::max_ext, mln::io::fld::fld_header::min_ext, mln::io::fld::fld_header::ndim, mln::io::fld::fld_header::nspace, mln::box< P >::pmax(), mln::box< P >::pmin(), mln::io::fld::data_type::SHORT, mln::io::fld::field_type::UNIFORM, mln::io::fld::data_type::UNKNOWN, and mln::io::fld::fld_header::veclen.
Referenced by mln::io::fld::save().
void mln::io::fld::internal::read_value | ( | std::ifstream & | file, | |
V & | v | |||
) | [inline] |
Definition at line 124 of file fld/load.hh.
void mln::io::fld::internal::read_value | ( | std::ifstream & | file, | |
value::Scalar< V > & | v | |||
) | [inline] |
void mln::io::fld::internal::read_value | ( | std::ifstream & | file, | |
value::rgb< n > & | v | |||
) | [inline] |
Definition at line 96 of file fld/load.hh.
References mln::value::rgb< n >::blue(), mln::value::rgb< n >::green(), and mln::value::rgb< n >::red().
Referenced by load_raw_uncontiguous().
void mln::io::fld::internal::save_data_contiguous | ( | std::ofstream & | file, | |
const I & | ima | |||
) | [inline] |