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
23
#include "
MLDcmtkMLConvertersSystem.h
"
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
37
class
MLDCMTKMLCONVERTERS_EXPORT
MLToStructureSetROISequence
38
{
39
public
:
43
MLToStructureSetROISequence
(boost::function<
void
(
float
)> *setProgress);
44
50
DCMTree::TreePtr
convert
(
PagedImage
*image,
CSOList
*csoList);
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
);
57
DCMTree::TreePtr
toDCMTree(
DcmDRTStructureSetROISequenceInterface
&
seq
);
58
59
Progress
_progress;
60
};
61
62
ML_END_NAMESPACE
63
64
#endif
DCMTree_Lib.h
MLDcmtkMLConvertersSystem.h
Project global and OS specific declarations.
MLDCMTKMLCONVERTERS_EXPORT
#define MLDCMTKMLCONVERTERS_EXPORT
Definition
MLDcmtkMLConvertersSystem.h:22
ml::CSOGroup
A CSOGroup comprises a number of CSOs, which themselves can be in a number of different CSOGroups.
Definition
CSOGroup.h:38
ml::CSOList
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Definition
CSOList.h:61
ml::DcmDRTStructureSetROISequenceInterface
Class to provide access to DRTStructureSetROISequence.
Definition
mlDcmDRTStructureSetROISequenceInterface.h:44
ml::MLToStructureSetROISequence
Definition
mlMLToStructureSetROISequence.h:38
ml::MLToStructureSetROISequence::MLToStructureSetROISequence
MLToStructureSetROISequence(boost::function< void(float)> *setProgress)
Constructor.
ml::MLToStructureSetROISequence::convert
DCMTree::TreePtr convert(PagedImage *image, CSOList *csoList)
Converter function.
ml::PagedImage
Class which represents an image, which manages properties of an image and image data which is located...
Definition
mlPagedImage.h:66
ml::Progress
Definition
mlProgress.h:23
mlProgress.h
Class for setting progress.
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
mlTypeDefs.h
DCMTree::TreePtr
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition
DCMTree_Lib.h:72
FMEwork
ReleaseMeVis
Sources
Shared
MLDcmtkMLConverters
MLToRT
mlMLToStructureSetROISequence.h
Generated by
1.10.0