12#ifndef __mlDcmtkMLConverters_H
13#define __mlDcmtkMLConverters_H
30#define SEQUENCES_ITEM_INTERFACES_IMPLEMENTED
50#ifdef SEQUENCES_ITEM_INTERFACES_IMPLEMENTED
55 std::string* errVal=NULL,
57 void* userData = NULL);
67 std::string* errVal=NULL,
69 void* userData = NULL);
76 std::string* errVal=NULL,
78 void* userData = NULL);
115 bool cloneNonConstTree=
true,
116 bool alsoUseConstClones=
false);
121 template <
typename RT_OBJ_TYPE>
123 bool cloneNonConstTree=
true,
124 bool alsoUseConstClones=
false)
Base object class for passing DRTStructureSetIOD objects between MeVisLab modules.
Class to provide access to DRTROIContourSequence.
Class to provide access to DRTRTDoseROISequence.
Class to provide access to DRTRTROIObservationsSequence.
Class to provide access to DRTStructureSetROISequence.
The tool function class DcmtkMLConverters.
static bool convertDRTStructureSetIODBaseToCSOList(CSOList &csoList, DRTStructureSetIODBase &rtStruct, std::string *errVal=NULL, progress_callback_t progressCB=NULL, void *userData=NULL)
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)
static MultiFileVolume * createVolumeReferenceFromFile(DICOMCachedIOFileHandle filename, std::string *errVal)
static bool convertCSOListToDRTStructureSetIODBase(CSOList &csoList, DRTStructureSetIODBase &rtStruct, std::string *errVal=NULL, progress_callback_t progressCB=NULL, void *userData=NULL)
static void fillImageWithPixelData(MultiFileVolume &newVolume, DCMTree::TreePtr treePtr, std::string *errVal)
static RT_OBJ_TYPE * createTypedRTObjectFromBase(Base *basePtrVal, bool cloneNonConstTree=true, bool alsoUseConstClones=false)
static RTBase * createRTBaseFromDCMTreeRefCounted(DicomTree *refCountedDCMTree, bool cloneNonConstTree=true, bool alsoUseConstClones=false)
static void constructNewSMFTreeFor(MultiFileVolume &newVolume, std::string filename, std::string *errVal, DCMTree::StructuredMFPtr altSmfPtr)
DcmtkBase derived base object class for base objects that wrap RT related objects.
ToTypePtr mlbase_cast(ml::Base *from)
Template function to allow type-safe casting of a base object to a derived object.
Base object class for passing DRTStructureSetIOD objects between MeVisLab modules.
Class to provide access to DRTROIContourSequence.
Class to provide access to DRTRTDoseROISequence.
Class to provide access to DRTRTROIObservationsSequence.
Class to provide access to DRTStructureSetROISequence.
boost::shared_ptr< StructuredMF > StructuredMFPtr
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
DICOMCachedIOFileHandleBase< char > DICOMCachedIOFileHandle
"Forward" to DICOMCachedIOFileHandle.
void(* progress_callback_t)(MLdouble progress, void *userData)