]> Creatis software - clitk.git/blobdiff - itk/clitkComposeVFFilter.txx
Remove vcl_math calls
[clitk.git] / itk / clitkComposeVFFilter.txx
index a50ca26a38ee2556751e7af18c7a8913e852546a..e42c8520e66392f5619162be817b2f6b32b5f03e 100644 (file)
@@ -35,13 +35,8 @@ namespace clitk
 
   //=========================================================================================================================
   //update the output for the outputRegionForThread
-#if ITK_VERSION_MAJOR >= 4
   template<class InputImageType, class OutputImageType> 
   void ComposeVFFilter<InputImageType, OutputImageType>::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId )
-#else
-  template<class InputImageType, class OutputImageType> 
-  void ComposeVFFilter<InputImageType, OutputImageType>::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId )
-#endif
   {
  
     //Get pointer to the output
@@ -103,7 +98,7 @@ namespace clitk
              {
                // The following  block is equivalent to the following line without
                // having to call floor. (Only for positive inputs, we already now that is in the image)
-               // baseIndex[dim] = (long) vcl_floor(contIndex[dim] );
+               // baseIndex[dim] = (long) std::floor(contIndex[dim] );
        
                baseIndex[dim] = (long) contIndex[dim];
                distance[dim] = contIndex[dim] - double( baseIndex[dim] );