MeVisLab Toolbox Reference
mlMLToStructureSetROISequence.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
14 
19 //----------------------------------------------------------------------------------
20 #ifndef __mlMLToStructureSetROISequence_H
21 #define __mlMLToStructureSetROISequence_H
22 
24 #include "mlProgress.h"
25 
26 #include <mlTypeDefs.h>
27 #include <DCMTree_Lib.h>
28 #include <boost/function.hpp>
29 
30 ML_START_NAMESPACE
31 
32 class PagedImage;
33 class CSOList;
34 class CSOGroup;
35 class DcmDRTStructureSetROISequenceInterface;
36 
38 {
39 public:
43  MLToStructureSetROISequence(boost::function<void(float)> *setProgress);
44 
51 
52 private:
53  void populateStructureSetROISequence(DcmDRTStructureSetROISequenceInterface *seq,
54  PagedImage *image, const CSOList &csoList);
55  void addStructureSetROI(DcmDRTStructureSetROISequenceInterface *seq, const unsigned int roiNumber,
56  const std::string &frameOfReferenceUid, const CSOGroup &csoGroup);
58 
59  Progress _progress;
60 };
61 
62 ML_END_NAMESPACE
63 
64 #endif
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERS_EXPORT
A CSOGroup comprises a number of CSOs, which themselves can be in a number of different CSOGroups.
Definition: CSOGroup.h:38
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Definition: CSOList.h:61
Class to provide access to DRTStructureSetROISequence.
MLToStructureSetROISequence(boost::function< void(float)> *setProgress)
Constructor.
DCMTree::TreePtr convert(PagedImage *image, CSOList *csoList)
Converter function.
Class which represents an image, which manages properties of an image and image data which is located...
Definition: mlPagedImage.h:70
Class for setting progress.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70