}
//------------------------------------------------------------------
+//------------------------------------------------------------------
+// Convert a pixel type without casting
+template<>
+double clitk::PixelTypeDownCast(const double & x)
+{
+ return x;
+}
+//------------------------------------------------------------------
+
//------------------------------------------------------------------
double clitk::rad2deg(const double anglerad)
{
TPixelDown PixelTypeDownCast(const TPixelUp & x);
template<>
float PixelTypeDownCast(const double & x);
+ template<>
+ double PixelTypeDownCast(const double & x);
//--------------------------------------------------------------------
// Return the indexes of sorted values in a vector
} // namespace itk
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
# include "clitkBSplineDeformableTransform.txx"
#endif
typename OutputImageType::Pointer image=reader2->GetOutput();
#if ITK_VERSION_MAJOR > 4 || (ITK_VERSION_MAJOR == 4 && ITK_VERSION_MINOR >= 6)
filter->SetReferenceImage(image);
+ filter->UseReferenceImageOn();
#else
filter->SetOutputParametersFromImage(image);
#endif
} // namespace clitk
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
# include "clitkMultipleBSplineDeformableTransform.txx"
#endif
} // namespace itk
-#if ITK_TEMPLATE_TXX
+#ifndef ITK_MANUAL_INSTANTIATION
# include "clitkShapedBLUTSpatioTemporalDeformableTransform.txx"
#endif