]> Creatis software - clitk.git/blobdiff - itk/itkRayCastInterpolateImageFunctionWithOrigin.txx
First version to convert image to dicomrtstruct
[clitk.git] / itk / itkRayCastInterpolateImageFunctionWithOrigin.txx
index 72dcc3109611b5259ded1f59f8bc30833430e783..ebf73cfc2d363c215b302be2c6cdd66c45bd6802 100644 (file)
@@ -1,4 +1,4 @@
-/*=========================================================================
+/*========================================================================
   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
 
   Authors belong to:
@@ -20,7 +20,7 @@
 #include "itkRayCastInterpolateImageFunctionWithOrigin.h"
 
 #include "vnl/vnl_math.h"
-
+#include "clitkCommon.h"
 
 // Put the helper class in an anonymous namespace so that it is not
 // exposed to the user
@@ -498,8 +498,8 @@ RayCastHelper<TInputImage, TCoordRep>
 {
   double maxInterDist, interDist;
   double cornerVect[4][3];
-  for(uint i=0; i<4; i++)
-    for(uint j=0; j<3; j++)
+  for(clitk::uint i=0; i<4; i++)
+    for(clitk::uint j=0; j<3; j++)
       cornerVect[i][j] = 0.0; // to avoid warning
   int cross[4][3], noInterFlag[6];
   int nSidesCrossed, crossFlag, c[4];