8 #ifndef IMPEM_SPIDER_READER_WRITER_H
9 #define IMPEM_SPIDER_READER_WRITER_H
11 #include <IMP/em/em_config.h>
38 bool skip_type_check_;
40 bool skip_extra_checkings_;
45 skip_type_check_ =
false;
46 force_reversed_ =
false;
47 skip_extra_checkings_ =
false;
60 bool force_reversed,
bool skip_extra_checkings) {
62 skip_type_check_ = skip_type_check;
63 force_reversed_ = force_reversed;
64 skip_extra_checkings_ = skip_extra_checkings;
66 #if !defined(DOXYGEN) && !defined(SWIG)
74 void read(
const char *filename,
float **data,
84 void write(
const char *filename,
const float *data,
The base class to handle reading and writing of density maps.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Exception definitions and assertions.
Class to read EM maps (3D) in Spider and Xmipp formats.
Functions to deal with byte order.
Functions to deal with very common math operations.
An abstract class for reading a map.
Logging and error reporting support.
std::string String
Basic string value.
SpiderMapReaderWriter(String filename, bool skip_type_check, bool force_reversed, bool skip_extra_checkings)
Full constructor.