9 #ifndef IMPEM_XPLOR_READER_WRITER_H
10 #define IMPEM_XPLOR_READER_WRITER_H
12 #include <IMP/em/em_config.h>
15 #include "internal/XplorHeader.h"
24 #if !defined(DOXYGEN) && !defined(SWIG)
26 void read(
const char *filename,
float **data,
DensityHeader &header);
27 void write(
const char *filename,
const float *data,
31 int read_header(std::ifstream &XPLORstream, internal::XplorHeader &header);
32 int read_map(std::ifstream &XPLORstream,
float *data,
33 internal::XplorHeader &header);
The base class to handle reading and writing of density maps.
DensityMap * read_map(std::string filename, MapReaderWriter *reader)
An abstract class for reading a map.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.