MeVisLab Toolbox Reference
mlRTStructureSetIODToCSOList.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 __mlRTStructureSetIODToCSOList_H
12 #define __mlRTStructureSetIODToCSOList_H
13 
15 #include "mlProgress.h"
16 
17 #include <mlTypeDefs.h>
18 #include <CSOBase/CSOList.h>
19 #include <boost/function.hpp>
20 
21 ML_START_NAMESPACE
22 
23 class DRTStructureSetIODBase;
24 class DcmDRTStructureSetROISequenceInterface;
25 
27 {
28 public:
33  RTStructureSetIODToCSOList(CSOListPtr csoList, DRTStructureSetIODBase &rtStructureSet,
34  boost::function<void(float)> *callback = NULL);
35 
37  void convert();
38 
39 private:
40  void parseStructureSetROISequence(const DcmDRTStructureSetROISequenceInterface &seq);
41  void calculateProgressStep();
42 
43  CSOListPtr _csoList;
44  DRTStructureSetIODBase &_rtStructureSet;
45  Progress _progress;
46 
48 };
49 
50 ML_END_NAMESPACE
51 
52 #endif // __mlRTStructureSetIODToCSOList_H
Project global and OS specific declarations.
#define MLDCMTKMLCONVERTERS_EXPORT
Base object class for passing DRTStructureSetIOD objects between MeVisLab modules.
Class to provide access to DRTStructureSetROISequence.
RTStructureSetIODToCSOList(CSOListPtr csoList, DRTStructureSetIODBase &rtStructureSet, boost::function< void(float)> *callback=NULL)
Constructor.
void convert()
Converts RTStructureSetIOD to CSOList.
#define ML_DISALLOW_COPY_AND_ASSIGN(className)
Defines basic macros.
Definition: mlMacros.h:23
Class for setting progress.