X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.cxx;h=1fd9fe1f1c6b806bd0f08be65c15d32d47a42f7f;hb=619c7d36de4ec76e9e68beb4a77c3e91e72d4c89;hp=b66135322a39042bfc243dae308e392a8a844b5a;hpb=2b5b3e906ee95519169e9b6d4bb2da9d2e00d8b3;p=clitk.git diff --git a/common/clitkDicomRT_ROI.cxx b/common/clitkDicomRT_ROI.cxx index b661353..1fd9fe1 100644 --- a/common/clitkDicomRT_ROI.cxx +++ b/common/clitkDicomRT_ROI.cxx @@ -475,6 +475,16 @@ void clitk::DicomRT_ROI::Read(vtkSmartPointer & reader, i //mColor = //FIXME !! + // gdcm::Attribute<0x3006,0x002a> color = {}; + + // const gdcm::DataSet & nestedds = mItemContour->GetNestedDataSet(); + // color.SetFromDataSet( nestedds ); + // assert( color.GetNumberOfValues() == 3 ); + // mColor[0] = color.GetValue(0); + // mColor[1] = color.GetValue(1); + // mColor[2] = color.GetValue(2); + + SetDicomUptodateFlag(true); // Get the contour mMesh = reader->GetOutput(roiindex);