MeVisLab Toolbox Reference
mlMLToRTConverters.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 #ifndef __mlMLToRTConverters_H
12 #define __mlMLToRTConverters_H
13 
16 
17 #include <mlTypeDefs.h>
18 #include <DCMTree_Tree.h>
19 #include <boost/function.hpp>
20 #include <mlPagedImage.h>
21 #include <CSOBase/CSOList.h>
22 
23 ML_START_NAMESPACE
24 
25 class PagedImage;
26 class CSOList;
27 
28 namespace MLToRTConverters
29 {
30 
38  boost::function<void(float)> *setProgress = NULL);
39 
48  bool referenceAllImageSlices = false, boost::function<void(float)> *setProgress = NULL);
49 
57  boost::function<void(float)> *setProgress = NULL);
58 
67 DCMTree::TreePtr toROIContourSequence(PagedImage* image, CSOList* csoList, int precision,
68  bool treatCollinearAsPlanar=false,
69  MLToROIContourSequence::ImageReferenceMode imageReferenceMode = MLToROIContourSequence::RequireExactlyOneSlice,
70  boost::function<void(float)>* setProgress=NULL);
71 
79  boost::function<void(float)> *setProgress = NULL);
80 }
81 
82 ML_END_NAMESPACE
83 
84 #endif
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERS_EXPORT
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Definition: CSOList.h:61
Class which represents an image, which manages properties of an image and image data which is located...
Definition: mlPagedImage.h:70
Helper class converting CSOList and PagedImage to ROI Contour Sequence.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70
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.
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 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 toStructureSetROISequence(PagedImage *image, CSOList *csoList, boost::function< void(float)> *setProgress=NULL)
Convert PagedImage and CSOList to Structure Set ROI Sequence.