20 #ifndef DX_IO_DAT_IO_PLUGIN_OST_HH
21 #define DX_IO_DAT_IO_PLUGIN_OST_HH
30 namespace ost {
namespace io {
39 Format GetBitDepth()
const;
40 void SetBitDepth (
Format bitdepth);
42 bool GetSigned ()
const;
43 void SetSigned (
bool sign);
47 bool GetNormalizeOnSave()
const;
48 void SetNormalizeOnSave(
bool noralize_on_save);
49 Real GetMaximum()
const;
50 Real GetMinimum()
const;
51 static String FORMAT_STRING;
55 bool normalize_on_save_;
67 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct );
68 virtual void Import(
img::MapHandle& sh, std::istream& loc,
const ImageFormatBase& formatstruct);
69 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
70 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
71 static bool MatchContent(
unsigned char* header);
72 static bool MatchType(
const ImageFormatBase& type);
73 static bool MatchSuffix(
const String& loc);