21 #ifndef DX_IO_MAP_IO_PLUGIN_OST_HH
22 #define DX_IO_MAP_IO_PLUGIN_OST_HH
26 namespace ost {
namespace io {
32 DX(
bool normalize_on_save =
false);
36 static String FORMAT_STRING;
37 static String FORMAT_NAME_STRING;
38 static String FORMAT_DESCRIPTION_STRING;
42 bool normalize_on_save_;
60 const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
Manage shared instances of images.
bool GetNormalizeOnSave() const
void SetNormalizeOnSave(bool normalize_on_save)
DX(bool normalize_on_save=false)
static bool ProvidesExport()
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 String GetFormatName()
virtual void Import(img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
static bool MatchSuffix(const String &locx)
static bool MatchContent(unsigned char *header)
virtual void Export(const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const
static String GetFormatDescription()
virtual void Import(img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
Map IO handler to read/write APBS map files (in OpenDX format)
MapIOHandlerFactory< MapIODxHandler > MapIODxHandlerFactory