]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_Contour.cxx
Remove ssh connection to creatis cluster from ccIn2p3
[clitk.git] / common / clitkDicomRT_Contour.cxx
index 4bd4598316a77fb1788851bade1cf883b44d3146..28fd054102ab0d62ed6ecdd32653bed7bf03d3fb 100644 (file)
@@ -271,11 +271,12 @@ void clitk::DicomRT_Contour::ComputeMeshFromDataPoints()
   mMesh->SetPoints(mPoints);
   vtkIdType ids[2];
   for (unsigned int idx=0 ; idx<mNbOfPoints ; idx++) {
-    double pointIn[4], pointOut[4];
+    double pointIn[4];
     for (unsigned int j=0 ; j<3; ++j)
       pointIn[j] = mData->GetPoint(idx)[j];
-    pointIn[4] = 1.0;
-    /*mTransformMatrix->MultiplyPoint(pointIn, pointOut);
+    pointIn[3] = 1.0;
+    /*double pointOut[4];
+    mTransformMatrix->MultiplyPoint(pointIn, pointOut);
     std::cout << pointOut[0] << " " << pointOut[1] << " " << pointOut[2] << " " << pointOut[3] << std::endl;
     mMesh->GetPoints()->InsertNextPoint(pointOut[0],
                                         pointOut[1],