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"
22 class IMPEMEXPORT XplorReaderWriter :
public MapReaderWriter
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,
28 const DensityHeader &header );
30 int read_header(std::ifstream & XPLORstream, internal::XplorHeader &header);
31 int read_map(std::ifstream &XPLORstream,
float *data,
32 internal::XplorHeader &header);