MeVisLab Toolbox Reference
mlMLToRTROIObservationsSequence.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
13 
18 //----------------------------------------------------------------------------------
19 #ifndef __mlMLToRTROIObservationsSequence_H
20 #define __mlMLToRTROIObservationsSequence_H
21 
23 #include "mlProgress.h"
24 
25 #include <mlTypeDefs.h>
26 #include <DCMTree_Lib.h>
27 #include <boost/function.hpp>
28 
29 ML_START_NAMESPACE
30 
31 class CSOList;
32 class CSOGroup;
33 class DcmDRTRTROIObservationsSequenceInterface;
34 
36 {
37 public:
41  MLToRTROIObservationsSequence(boost::function<void(float)> *setProgress);
42 
48 
49 private:
50  void populateRTROIObservationsSequence(DcmDRTRTROIObservationsSequenceInterface *seq,
51  const CSOList &csoList);
52  void addRTROIObservation(DcmDRTRTROIObservationsSequenceInterface *seq, const unsigned int roiNumber,
53  const CSOGroup &csoGroup);
55 
56  Progress _progress;
57 };
58 
59 ML_END_NAMESPACE
60 
61 #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 DRTRTROIObservationsSequence.
DCMTree::TreePtr convert(CSOList *csoList)
Converter function.
MLToRTROIObservationsSequence(boost::function< void(float)> *setProgress)
Constructor.
Class for setting progress.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition: DCMTree_Lib.h:70