IMP
2.1.0
The Integrative Modeling Platform
|
#include <IMP/em/MRCReaderWriter.h>
Public Member Functions | |
MRCReaderWriter () | |
Empty constructor. | |
MRCReaderWriter (std::string fn) | |
Constructor. More... | |
virtual std::string | get_type_name () const |
virtual ::IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. | |
void | read (const char *fn_in, float **data, DensityHeader &head) |
Reads an MRC file and translates the header to the general DensityHeader. | |
void | write (const char *fn_out, const float *data, const DensityHeader &head) |
Writes an MRC file from the data and the general DensityHeader. | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual void | do_destroy () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Object () | |
A class to read and write MRC files.
Definition at line 20 of file MRCReaderWriter.h.
IMP::em::MRCReaderWriter::MRCReaderWriter | ( | std::string | fn | ) |
param[in] fn name of the file to open or write
Definition at line 29 of file MRCReaderWriter.h.