MeVisLab Toolbox Reference
mlMLToReferencedFrameOfReferenceSequence.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
31
36
//----------------------------------------------------------------------------------
37
#ifndef __mlMLToReferencedFrameOfReferenceSequence_H
38
#define __mlMLToReferencedFrameOfReferenceSequence_H
39
40
#include "
MLDcmtkMLConvertersSystem.h
"
41
#include "
mlProgress.h
"
42
43
#include <
mlTypeDefs.h
>
44
#include <
DCMTree_Tree.h
>
45
#include <set>
46
#include <string>
47
#include <boost/function.hpp>
48
#include <
MLCSOIncludes.h
>
49
50
ML_START_NAMESPACE
51
52
class
PagedImage;
53
class
CSOList;
54
class
CSO;
55
class
DcmDRTReferencedFrameOfReferenceSequenceInterface;
56
class
DcmDRTRTReferencedStudySequenceInterface;
57
class
DcmDRTRTReferencedSeriesSequenceInterface;
58
class
DcmDRTContourImageSequenceInterface;
59
60
class
MLDCMTKMLCONVERTERS_EXPORT
MLToReferencedFrameOfReferenceSequence
61
{
62
public
:
66
MLToReferencedFrameOfReferenceSequence
(boost::function<
void
(
float
)> *setProgress);
67
74
DCMTree::TreePtr
convert
(
PagedImage
*image,
CSOList
*csoList,
bool
referenceAllImageSlices
);
75
76
private
:
77
void
calculateSliceIndexesWhereCSOsLie();
78
void
populateReferencedFrameOfReferenceSequence(
DcmDRTReferencedFrameOfReferenceSequenceInterface
*
seq
);
79
void
populateRTReferencedStudySequence(
DcmDRTRTReferencedStudySequenceInterface
*
seq
);
80
void
populateRTReferencedSeriesSequence(
DcmDRTRTReferencedSeriesSequenceInterface
*
seq
);
81
void
populateContourImageSequence(
DcmDRTContourImageSequenceInterface
*
seq
);
82
void
addContourImage(
DcmDRTContourImageSequenceInterface
*
seq
,
const
int
sliceIndex
);
83
DCMTree::TreePtr
toDCMTree(
DcmDRTReferencedFrameOfReferenceSequenceInterface
&
seq
);
84
std::vector<int> getSortedSliceIndiciesForContourImageSequence();
85
86
std::map<int, CSOIdVector> _sliceIndexToCSOIdMap;
87
PagedImage
*_image;
88
CSOList
*_csoList;
89
bool
_referenceAllImageSlices;
90
Progress
_progress;
91
};
92
93
ML_END_NAMESPACE
94
95
#endif
DCMTree_Tree.h
MLCSOIncludes.h
MLDcmtkMLConvertersSystem.h
Project global and OS specific declarations.
MLDCMTKMLCONVERTERS_EXPORT
#define MLDCMTKMLCONVERTERS_EXPORT
Definition
MLDcmtkMLConvertersSystem.h:22
ml::CSOList
A CSOList comprises a number of CSOs and CSOGroups and is the central object for contour segmentation...
Definition
CSOList.h:61
ml::DcmDRTContourImageSequenceInterface
Class to provide access to DRTContourImageSequence.
Definition
mlDcmDRTContourImageSequenceInterface.h:44
ml::DcmDRTRTReferencedSeriesSequenceInterface
Class to provide access to DRTRTReferencedSeriesSequence.
Definition
mlDcmDRTRTReferencedSeriesSequenceInterface.h:45
ml::DcmDRTRTReferencedStudySequenceInterface
Class to provide access to DRTRTReferencedStudySequence.
Definition
mlDcmDRTRTReferencedStudySequenceInterface.h:45
ml::DcmDRTReferencedFrameOfReferenceSequenceInterface
Class to provide access to DRTReferencedFrameOfReferenceSequence.
Definition
mlDcmDRTReferencedFrameOfReferenceSequenceInterface.h:46
ml::MLToReferencedFrameOfReferenceSequence
Definition
mlMLToReferencedFrameOfReferenceSequence.h:61
ml::MLToReferencedFrameOfReferenceSequence::convert
DCMTree::TreePtr convert(PagedImage *image, CSOList *csoList, bool referenceAllImageSlices)
Converter function.
ml::MLToReferencedFrameOfReferenceSequence::MLToReferencedFrameOfReferenceSequence
MLToReferencedFrameOfReferenceSequence(boost::function< void(float)> *setProgress)
Constructor.
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
mlMLToReferencedFrameOfReferenceSequence.h
Generated by
1.10.0