18#include <FMEThirdPartyWarningsDisable.h>
20#include <FMEThirdPartyWarningsRestore.h>
96 std::string _fileName;
Project global and OS specific declarations.
#define MLFileReaderPlugins_EXPORT
DLL export macro definition.
Representation for the DM file as data structure.
DMFileReaderPlugin()
Constructor.
MLErrorCode fillSubImage(SubImage &dstSubImage) override
Copy overlapping regions in dstSubImage with image data from the loaded file; note that the calculati...
~DMFileReaderPlugin() override
Destructor. If still open the the file will also be closed.
bool supportsFillingInReferenceCoordinates() const override
Returns true if the loader instance support SubImage filling in reference coordinates,...
void close() override
Closes the file and cleans up data structures.
static std::string getStringIdentifier()
Returns the string identifier for this plugin.
bool isSupported(const std::string &fileName) const override
Applies a fast check whether the file is probably supported or not, for example via the suffix.
MLErrorCode loadFile(const std::string &fileName) override
Opens and loads a file such that getPagedImageProperties() and fillSubImage() can be used to retrieve...
size_t getNumberOfImagesInFile() override
Returns the number of images which are accessible in the loaded file; normally one,...
std::string getTagDump(const size_t maxNumBinaryEntries=8, const size_t maxNumStringEntries=20) override
This function returns a tag dump of the loaded file or "" if not possible.
const PagedImage & getPagedImageProperties() override
Returns the properties of the currently loaded image.
A tool classes to load Digital Microscopy files.
Base class for a generic file reader plugin with factory interface.
Class which represents an image, which manages properties of an image and image data which is located...
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
MLint32 MLErrorCode
Type of an ML Error code.
Tool classes to load Digital Micrograph (.dm) files.
Header file of base class for a generic file reader plugin with factory interface.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.