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);
Declare an efficient stl-compatible map.
The base class to handle reading and writing of density maps.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
DensityMap * read_map(std::string filename, MapReaderWriter *reader)
Read a density map from a file and return it.
An abstract class for reading a map.