]> Creatis software - clitk.git/commitdiff
Change GetROI by GetROIFromROINumber
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Wed, 27 Jul 2011 09:42:43 +0000 (11:42 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Wed, 27 Jul 2011 09:42:43 +0000 (11:42 +0200)
vv/vvStructureSetActor.cxx

index 82ef95b43948723d9e7edbbbf3fad2ef5c47b8eb..7fcfb01149d04d012e8f0b3a925c7379001fb6eb 100644 (file)
@@ -83,7 +83,7 @@ vvROIActor * vvStructureSetActor::GetROIActor(int n)
 void vvStructureSetActor::CreateNewROIActor(int n, bool modeBG)
 {
   // Check
-  clitk::DicomRT_ROI * roi = mStructureSet->GetROI(n);
+  clitk::DicomRT_ROI * roi = mStructureSet->GetROIFromROINumber(n);
   if (roi == NULL) {
     std::cerr << "Error. No ROI number " << n << std::endl;
     exit(0);