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
31
32class PagedImage;
33class CSOList;
34class CSOGroup;
35class DcmDRTStructureSetROISequenceInterface;
36
38{
39public:
43 MLToStructureSetROISequence(boost::function<void(float)> *setProgress);
44
51
52private:
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
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...
Class for setting progress.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72