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,
39 void write(
const char *filename,
const float *data,
49 void read_header(std::ifstream &file, internal::EMHeader &header);
58 void read_data(std::ifstream &file,
float **data,
59 const internal::EMHeader &header);
66 void write_header(std::ostream &s,
const internal::EMHeader &header);
The base class to handle reading and writing of density maps.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
An abstract class for reading a map.