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"
23 #if !defined(DOXYGEN) && !defined(SWIG)
31 void read(
const char *filename,
float **data,
DensityHeader &header);
38 void write(
const char* filename,
const float *data,
48 void read_header(std::ifstream &file, internal::EMHeader &header);
57 void read_data(std::ifstream &file,
float **data,
58 const internal::EMHeader &header);
65 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.