X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_StructureSet.cxx;h=49d90bd78afbb926228dd0592ae4df4d0c79b4ee;hb=8cb22788763fe7077d9efd70ae922f4691255f6e;hp=9fa96b39f2a55c0e25f9b0e97bfd64dca2718a8a;hpb=ff4e821006c760607319ef7cc58dd9f4f17a7098;p=clitk.git diff --git a/common/clitkDicomRT_StructureSet.cxx b/common/clitkDicomRT_StructureSet.cxx index 9fa96b3..49d90bd 100644 --- a/common/clitkDicomRT_StructureSet.cxx +++ b/common/clitkDicomRT_StructureSet.cxx @@ -91,6 +91,14 @@ const std::string & clitk::DicomRT_StructureSet::GetDate() const //-------------------------------------------------------------------- +//-------------------------------------------------------------------- +void clitk::DicomRT_StructureSet::SetTransformMatrix(vtkMatrix4x4* matrix) +{ + mTransformMatrix = matrix; +} +//-------------------------------------------------------------------- + + //-------------------------------------------------------------------- const std::string & clitk::DicomRT_StructureSet::GetTime() const { @@ -439,6 +447,7 @@ void clitk::DicomRT_StructureSet::Read(const std::string & filename) int nb = i->first;//ReadROINumber(i);//mROIIndex[i]; // Create the roi mROIs[nb] = DicomRT_ROI::New(); + mROIs[nb]->SetTransformMatrix(mTransformMatrix); mROIs[nb]->Read(mMapOfROIInfo[nb], mMapOfROIContours[nb]); }