]> Creatis software - clitk.git/commitdiff
Remove compilation warning
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 12 Apr 2018 07:32:08 +0000 (09:32 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 12 Apr 2018 07:32:08 +0000 (09:32 +0200)
common/clitkDicomRT_Contour.cxx

index bcff817af994ab2fd80b27acf8b4d567e6f5b393..28fd054102ab0d62ed6ecdd32653bed7bf03d3fb 100644 (file)
@@ -274,7 +274,7 @@ void clitk::DicomRT_Contour::ComputeMeshFromDataPoints()
     double pointIn[4];
     for (unsigned int j=0 ; j<3; ++j)
       pointIn[j] = mData->GetPoint(idx)[j];
-    pointIn[4] = 1.0;
+    pointIn[3] = 1.0;
     /*double pointOut[4];
     mTransformMatrix->MultiplyPoint(pointIn, pointOut);
     std::cout << pointOut[0] << " " << pointOut[1] << " " << pointOut[2] << " " << pointOut[3] << std::endl;