X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.cxx;h=72f8273f507e167f6fe9850db1ad2235af3c9883;hb=fe61abeb6e452e5f54bef60a287aa104e4e02d70;hp=7aca4be0ae911cb65d3d92c68b52dada4b0dc4ea;hpb=e6add2e56013846bcf4368013c4aaf4eb36991ec;p=clitk.git diff --git a/common/clitkDicomRT_ROI.cxx b/common/clitkDicomRT_ROI.cxx index 7aca4be..72f8273 100644 --- a/common/clitkDicomRT_ROI.cxx +++ b/common/clitkDicomRT_ROI.cxx @@ -69,7 +69,6 @@ const std::vector & clitk::DicomRT_ROI::GetDisplayColor() const { } //-------------------------------------------------------------------- - //-------------------------------------------------------------------- void clitk::DicomRT_ROI::Print(std::ostream & os) const { @@ -80,6 +79,20 @@ void clitk::DicomRT_ROI::Print(std::ostream & os) const { //-------------------------------------------------------------------- +//-------------------------------------------------------------------- +void clitk::DicomRT_ROI::SetBackgroundValueLabelImage(double bg){ + mBackgroundValue = bg; +} +//-------------------------------------------------------------------- + + +//-------------------------------------------------------------------- +double clitk::DicomRT_ROI::GetBackgroundValueLabelImage() const { + return mBackgroundValue; +} +//-------------------------------------------------------------------- + + //-------------------------------------------------------------------- void clitk::DicomRT_ROI::Read(std::map & rois, gdcm::SQItem * item) {