MeVisLab Toolbox Reference
ml::MLToRTConverters Namespace Reference

Functions

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr toStructureSetROISequence (PagedImage *image, CSOList *csoList, boost::function< void(float)> *setProgress=NULL)
 Convert PagedImage and CSOList to Structure Set ROI Sequence.
 
MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr toReferencedFrameOfReferenceSequence (PagedImage *image, CSOList *csoList, bool referenceAllImageSlices=false, boost::function< void(float)> *setProgress=NULL)
 Convert PagedImage and CSOList to Referenced Frame Of Reference Sequence.
 
MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr toRTROIObservationsSequence (CSOList *csoList, boost::function< void(float)> *setProgress=NULL)
 Convert PagedImage and CSOList to RT ROI Observations Sequence.
 
MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr toROIContourSequence (PagedImage *image, CSOList *csoList, int precision, bool treatCollinearAsPlanar=false, MLToROIContourSequence::ImageReferenceMode imageReferenceMode=MLToROIContourSequence::RequireExactlyOneSlice, boost::function< void(float)> *setProgress=NULL)
 Convert PagedImage and CSOList to ROI Contour Sequence.
 
MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr toRTDoseROISequence (CSOList *csoList, boost::function< void(float)> *setProgress=NULL)
 Convert PagedImage and CSOList to RT Dose ROI Sequence.
 

Function Documentation

◆ toReferencedFrameOfReferenceSequence()

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr ml::MLToRTConverters::toReferencedFrameOfReferenceSequence ( PagedImage * image,
CSOList * csoList,
bool referenceAllImageSlices = false,
boost::function< void(float)> * setProgress = NULL )

Convert PagedImage and CSOList to Referenced Frame Of Reference Sequence.

Parameters
referenceAllImageSlices- Reference all image slices in the Contour Image Sequence.
setProgress- Callback function for setting conversion progress.
Returns
Pointer to a DCMTree with (3006,0010) tag containing the sequence if a valid image and CSOList were passed, empty pointer otherwise.
Exceptions
std::runtime_error.

References toReferencedFrameOfReferenceSequence().

Referenced by toReferencedFrameOfReferenceSequence().

◆ toROIContourSequence()

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr ml::MLToRTConverters::toROIContourSequence ( PagedImage * image,
CSOList * csoList,
int precision,
bool treatCollinearAsPlanar = false,
MLToROIContourSequence::ImageReferenceMode imageReferenceMode = MLToROIContourSequence::RequireExactlyOneSlice,
boost::function< void(float)> * setProgress = NULL )

Convert PagedImage and CSOList to ROI Contour Sequence.

Parameters
precision- Numerical precision used to store contour data.
setProgress- Callback function for setting conversion progress.
treatCollinearAsPlanar- If true, collinear CSOs (all points in a line) are treated as planar CSOs, otherwise they are marked as OPEN_NONPLANAR.
Returns
Pointer to a DCMTree with (3006,0039) tag containing the sequence if a valid image and CSOList were passed, empty pointer otherwise.
Exceptions
std::runtime_error.

References toROIContourSequence().

Referenced by toROIContourSequence().

◆ toRTDoseROISequence()

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr ml::MLToRTConverters::toRTDoseROISequence ( CSOList * csoList,
boost::function< void(float)> * setProgress = NULL )

Convert PagedImage and CSOList to RT Dose ROI Sequence.

Parameters
setProgress- Callback function for setting conversion progress.
Returns
Pointer to a DCMTree with (3004,0010) tag containing the sequence if a valid CSOList was passed, empty pointer otherwise.
Exceptions
std::runtime_error.

References toRTDoseROISequence().

Referenced by toRTDoseROISequence().

◆ toRTROIObservationsSequence()

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr ml::MLToRTConverters::toRTROIObservationsSequence ( CSOList * csoList,
boost::function< void(float)> * setProgress = NULL )

Convert PagedImage and CSOList to RT ROI Observations Sequence.

Parameters
setProgress- Callback function for setting conversion progress.
Returns
Pointer to a DCMTree with (3006,0080) tag containing the sequence if a valid CSOList was passed, empty pointer otherwise.
Exceptions
std::runtime_error.

References toRTROIObservationsSequence().

Referenced by toRTROIObservationsSequence().

◆ toStructureSetROISequence()

MLDCMTKMLCONVERTERS_EXPORT DCMTree::TreePtr ml::MLToRTConverters::toStructureSetROISequence ( PagedImage * image,
CSOList * csoList,
boost::function< void(float)> * setProgress = NULL )

Convert PagedImage and CSOList to Structure Set ROI Sequence.

Parameters
setProgress- Callback function for setting conversion progress.
Returns
Pointer to a DCMTree with (3006,0020) tag containing the sequence if a valid image and CSOList were passed, empty pointer otherwise.
Exceptions
std::runtime_error.

References toStructureSetROISequence().

Referenced by toStructureSetROISequence().