20 #ifndef OST_IO_MAP_IO_MRC_HANDLER_HH
21 #define OST_IO_MAP_IO_MRC_HANDLER_HH
25 namespace ost {
namespace io {
33 Format GetBitDepth()
const;
34 void SetBitDepth (
Format bitdepth);
39 bool GetNormalizeOnSave()
const;
40 void SetNormalizeOnSave(
bool normalize_on_save);
45 static String FORMAT_STRING;
50 bool normalize_on_save_;
63 class MapIOMrcHandler:
public MapIOHandler {
88 mutable bool is_file_;
static bool MatchSuffix(const String &loc)
static String GetFormatName()
pointer_it< T > end(const std::vector< T > &values)
static bool MatchContent(unsigned char *header)
virtual void Import(img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
Map IO handler to read/write mrc and ccp4 map files.
MapIOHandlerFactory< MapIOMrcHandler > MapIOMrcHandlerFactory
Manage shared instances of images.
static bool ProvidesImport()
static bool MatchType(const ImageFormatBase &type)
virtual void Export(const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
static bool ProvidesExport()
static String GetFormatDescription()