20 #ifndef DX_IO_SITUS_IO_PLUGIN_OST_HH
21 #define DX_IO_SITUS_IO_PLUGIN_OST_HH
25 namespace ost {
namespace io {
31 Situs(
bool normalize_on_save =
false);
33 bool GetNormalizeOnSave()
const;
34 void SetNormalizeOnSave(
bool normalize_on_save);
35 static String FORMAT_STRING;
36 static String FORMAT_NAME_STRING;
37 static String FORMAT_ALIGNMENT_STRING;
41 bool normalize_on_save_;
51 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct);
52 virtual void Import(
img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
53 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
54 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
55 static bool MatchContent(
unsigned char* header);
56 static bool MatchType(
const ImageFormatBase& type);
57 static bool MatchSuffix(
const String& loc);
static bool ProvidesImport()
static String GetFormatName()
static bool ProvidesExport()
MapIOHandlerFactory< MapIOSitusHandler > MapIOSitusHandlerFactory
static String GetFormatDescription()