32 #if !defined(ioDICOM_INCLUDE_ONCE) 33 #define ioDICOM_INCLUDE_ONCE 67 VL_DEBUG_SET_OBJECT_NAME()
75 res_db->resources().push_back(img);
84 res_db->resources().push_back(img);
An abstract class representing a file.
VLCORE_EXPORT ref< Image > loadDICOM(VirtualFile *file)
Loads a DICOM file.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
ref< ResourceDatabase > loadResource(const String &path) const
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
VLCORE_EXPORT bool isDICOM(VirtualFile *file)
Checks if the given file is a DICOM file.
Visualization Library main namespace.
VLCORE_EXPORT bool saveDICOM(const Image *src, const String &path)
Writes a DICOM file.
The LoadWriterDICOM class is a ResourceLoadWriter capable of reading DICOM files (.dcm, .dicom, .dic, .ima, .ph, .mag) using GDCM 2.0 library.
ref< ResourceDatabase > loadResource(VirtualFile *file) const
bool writeResource(const String &, ResourceDatabase *) const
bool writeResource(VirtualFile *, ResourceDatabase *) const
The ref<> class is used to reference-count an Object.
The ResourceLoadWriter class is an abstract class used to implement read/write support for one or mor...
The ResourceDatabase class contains and manipulates a set of resources.