MapIODxHandler Class Reference

#include <map_io_dx_handler.hh>

Inherits ost::io::MapIOHandler, and ost::io::MapIOHandler.

Public Member Functions

virtual void Import (img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
virtual void Import (img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
virtual void Export (const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
virtual void Export (const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const
virtual void Import (img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct)
virtual void Import (img::MapHandle &sh, std::istream &loc, const ImageFormatBase &formatstruct)
virtual void Export (const img::MapHandle &sh, const boost::filesystem::path &loc, const ImageFormatBase &formatstruct) const
virtual void Export (const img::MapHandle &sh, std::ostream &loc, const ImageFormatBase &formatstruct) const

Static Public Member Functions

static bool MatchContent (unsigned char *header)
static bool MatchType (const ImageFormatBase &type)
static bool MatchSuffix (const String &locx)
static bool ProvidesImport ()
static bool ProvidesExport ()
static String GetFormatName ()
static String GetFormatDescription ()
static bool MatchContent (unsigned char *header)
static bool MatchType (const ImageFormatBase &type)
static bool MatchSuffix (const String &locx)
static bool ProvidesImport ()
static bool ProvidesExport ()
static String GetFormatName ()
static String GetFormatDescription ()

Detailed Description

Definition at line 45 of file map_io_dx_handler.hh.


Member Function Documentation

virtual void Export ( const img::MapHandle sh,
std::ostream &  loc,
const ImageFormatBase formatstruct 
) const [virtual]

Implements MapIOHandler.

virtual void Export ( const img::MapHandle sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) const [virtual]

Implements MapIOHandler.

virtual void Export ( const img::MapHandle sh,
std::ostream &  loc,
const ImageFormatBase formatstruct 
) const [virtual]

Implements MapIOHandler.

virtual void Export ( const img::MapHandle sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) const [virtual]

Implements MapIOHandler.

static String GetFormatDescription (  )  [inline, static]

Definition at line 70 of file map_io_dx_handler.hh.

static String GetFormatDescription (  )  [inline, static]

Definition at line 70 of file map_io_dx_handler.hh.

static String GetFormatName (  )  [inline, static]

Definition at line 69 of file map_io_dx_handler.hh.

static String GetFormatName (  )  [inline, static]

Definition at line 69 of file map_io_dx_handler.hh.

virtual void Import ( img::MapHandle sh,
std::istream &  loc,
const ImageFormatBase formatstruct 
) [virtual]

Implements MapIOHandler.

virtual void Import ( img::MapHandle sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) [virtual]

Map IO handler to read/write APBS map files (in OpenDX format).

This map IO handler reads and writes OpenDX formatted map files, as generated by APBS for example. Only the information needed to construct an OpenStructure map are read from the file (i.e. grid size (in x,y,z), grid spacing (in x,y,z) grid origin (in x,y,z) and the actual values for each grid point. The other lines are ignored. Thus, when writing the grid to a file, not exactly the same file is produced.

Implements MapIOHandler.

virtual void Import ( img::MapHandle sh,
std::istream &  loc,
const ImageFormatBase formatstruct 
) [virtual]

Implements MapIOHandler.

virtual void Import ( img::MapHandle sh,
const boost::filesystem::path &  loc,
const ImageFormatBase formatstruct 
) [virtual]

Map IO handler to read/write APBS map files (in OpenDX format).

This map IO handler reads and writes OpenDX formatted map files, as generated by APBS for example. Only the information needed to construct an OpenStructure map are read from the file (i.e. grid size (in x,y,z), grid spacing (in x,y,z) grid origin (in x,y,z) and the actual values for each grid point. The other lines are ignored. Thus, when writing the grid to a file, not exactly the same file is produced.

Implements MapIOHandler.

static bool MatchContent ( unsigned char *  header  )  [static]
static bool MatchContent ( unsigned char *  header  )  [static]
static bool MatchSuffix ( const String locx  )  [static]
static bool MatchSuffix ( const String locx  )  [static]
static bool MatchType ( const ImageFormatBase type  )  [static]
static bool MatchType ( const ImageFormatBase type  )  [static]
static bool ProvidesExport (  )  [inline, static]

Definition at line 67 of file map_io_dx_handler.hh.

static bool ProvidesExport (  )  [inline, static]

Definition at line 67 of file map_io_dx_handler.hh.

static bool ProvidesImport (  )  [inline, static]

Definition at line 66 of file map_io_dx_handler.hh.

static bool ProvidesImport (  )  [inline, static]

Definition at line 66 of file map_io_dx_handler.hh.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1