20 #ifndef OST_IO_MAP_IO_NANOSCOPE_HANDLER_HH
21 #define OST_IO_MAP_IO_NANOSCOPE_HANDLER_HH
25 namespace ost {
namespace io {
30 Nanoscope(
int subimage = -1);
32 static String FORMAT_STRING;
33 static String FORMAT_NAME_STRING;
34 static String FORMAT_DESCRIPTION_STRING;
36 int GetSubimage ()
const;
37 void SetSubimage (
int subimage);
47 class MapIONanoscopeHandler:
public MapIOHandler {
54 virtual void Import(
img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct );
56 virtual void Export(
const img::MapHandle& sh,
const boost::filesystem::path& loc,
const ImageFormatBase& formatstruct)
const;
57 virtual void Export(
const img::MapHandle& sh, std::ostream& loc,
const ImageFormatBase& formatstruct)
const;
59 static bool MatchType(
const ImageFormatBase& type);