9 #ifndef IMPEM_EM_READER_WRITER_H
10 #define IMPEM_EM_READER_WRITER_H
12 #include <IMP/em/em_config.h>
15 #include "internal/EMHeader.h"
22 #if !defined(DOXYGEN) && !defined(SWIG)
30 void read(
const char *filename,
float **data,
DensityHeader &header);
37 void write(
const char *filename,
const float *data,
47 void read_header(std::ifstream &file, internal::EMHeader &header);
56 void read_data(std::ifstream &file,
float **data,
57 const internal::EMHeader &header);
64 void write_header(std::ostream &s,
const internal::EMHeader &header);
The base class to handle reading and writing of density maps.
An abstract class for reading a map.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.