The tool function class DcmtkMLConverters.
More...
#include <mlDcmtkMLConverters.h>
|
static bool | convertDRTStructureSetIODBaseToCSOList (CSOList &csoList, DRTStructureSetIODBase &rtStruct, std::string *errVal=NULL, progress_callback_t progressCB=NULL, void *userData=NULL) |
| Converts an RTStruct object to a CSOList object and returns true on success, false otherwise.
|
|
static bool | convertDRTStructureSetROISequenceToCSOList (CSOList &csoList, DcmDRTStructureSetROISequenceInterface *structureSetROISequence, DcmDRTROIContourSequenceInterface *roiContourSequence, DcmDRTRTROIObservationsSequenceInterface *rtRoiObservationSeq, DcmDRTRTDoseROISequenceInterface *rtDoseROISequencePtr=NULL, std::string *errVal=NULL, progress_callback_t progressCB=NULL, void *userData=NULL) |
| Converts an RTStruct object to a CSOList object and returns true on success, false otherwise.
|
|
static bool | convertCSOListToDRTStructureSetIODBase (CSOList &csoList, DRTStructureSetIODBase &rtStruct, std::string *errVal=NULL, progress_callback_t progressCB=NULL, void *userData=NULL) |
| Converts a CSOList object to RTStruct object and returns true on success, false otherwise.
|
|
static MultiFileVolume * | createVolumeReferenceFromFile (DICOMCachedIOFileHandle filename, std::string *errVal) |
| Converts an image object to RTDose object and returns true on success, false otherwise.
|
|
static void | constructNewSMFTreeFor (MultiFileVolume &newVolume, std::string filename, std::string *errVal, DCMTree::StructuredMFPtr altSmfPtr) |
|
static void | fillImageWithPixelData (MultiFileVolume &newVolume, DCMTree::TreePtr treePtr, std::string *errVal) |
|
static RTBase * | createRTBaseFromDCMTreeRefCounted (DicomTree *refCountedDCMTree, bool cloneNonConstTree=true, bool alsoUseConstClones=false) |
| Checks the reference counted input tree for a valid RT SOP class UID and creates and returns a corresponding RTBase object.
|
|
template<typename RT_OBJ_TYPE > |
static RT_OBJ_TYPE * | createTypedRTObjectFromBase (Base *basePtrVal, bool cloneNonConstTree=true, bool alsoUseConstClones=false) |
| Tries to get a DicomTree from basePtrVal and to convert it to an RT object of type RT_OBJ_TYPE.
|
|
The tool function class DcmtkMLConverters.
Definition at line 46 of file mlDcmtkMLConverters.h.
◆ constructNewSMFTreeFor()
◆ convertCSOListToDRTStructureSetIODBase()
Converts a CSOList object to RTStruct object and returns true on success, false otherwise.
◆ convertDRTStructureSetIODBaseToCSOList()
Converts an RTStruct object to a CSOList object and returns true on success, false otherwise.
◆ convertDRTStructureSetROISequenceToCSOList()
Converts an RTStruct object to a CSOList object and returns true on success, false otherwise.
Also takes into account DRTRTDoseROISequence which is specific to RTDoseIOD.
◆ createRTBaseFromDCMTreeRefCounted()
Checks the reference counted input tree for a valid RT SOP class UID and creates and returns a corresponding RTBase object.
On invalid input pointers or SOPClassUIDs NULL is returned. If a duplicate of non constant input trees shall be created then pass cloneNonConstTree = true. By default the created RTBase object only makes use of a non constant input tree (i.e. constant input trees are not converted); if a duplicate for modifications is needed then pass alsoUseConstClones=true.
◆ createTypedRTObjectFromBase()
Tries to get a DicomTree from basePtrVal and to convert it to an RT object of type RT_OBJ_TYPE.
On failure NULL is returned, otherwise the created object. For cloneNonConstTree and alsoUseConstClones see createRTBaseFromDCMTreeRefCounted.
Definition at line 122 of file mlDcmtkMLConverters.h.
References mlrange_cast().
◆ createVolumeReferenceFromFile()
Converts an image object to RTDose object and returns true on success, false otherwise.
Converts a given DICOM filename to a MultiFileVolume which is later used to create a MLImage.
◆ fillImageWithPixelData()
The documentation for this class was generated from the following file: