X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=common%2FclitkDicomRT_Contour.cxx;h=7df4cfe3f33e8a9c64b966c6476a4addba17b001;hb=303324c27d660280e3ed0a3f40b10bb1bbd5d0c8;hp=5c12802cf31bac02917995319718bbb22723cd38;hpb=86fe68647dd16ae4247d43279d8584dc84df3820;p=clitk.git diff --git a/common/clitkDicomRT_Contour.cxx b/common/clitkDicomRT_Contour.cxx index 5c12802..7df4cfe 100644 --- a/common/clitkDicomRT_Contour.cxx +++ b/common/clitkDicomRT_Contour.cxx @@ -53,10 +53,14 @@ bool clitk::DicomRT_Contour::Read(gdcm::SQItem * item) // Contour type [Contour Geometric Type] mType = item->GetEntryValue(0x3006,0x0042); // DD(mType); - if (mType != "CLOSED_PLANAR ") { ///WARNING to the space after the name ... - std::cerr << "Skip this contour : type=" << mType << std::endl; + if (mType != "CLOSED_PLANAR " && mType != "POINT ") { ///WARNING to the space after the name ... + //std::cerr << "Skip this contour : type=" << mType << std::endl; return false; } + if (mType == "POINT ") { + std::cout << "Warning: POINT type not fully supported. (don't use GetMesh() with this!)" + << std::endl; + } // Number of points [Number of Contour Points] mNbOfPoints = parse_value(item->GetEntryValue(0x3006,0x0046));