[Insight-users] Wrapping Problem by creating *.cmake file
Yongqiang Zhao
zhaoyq76 at live.com
Thu Jun 5 17:06:38 EDT 2008
Hi,
I am trying to create wrap_itkWindowedSincInterpolateImageFunction.cmake file to wrap WindowedSincInterpolateImageFunction. The following is the file:
SET(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
WRAP_INCLUDE("itkWindowedSincInterpolateImageFunction.h")
WRAP_CLASS("itk::Function::HammingWindowFunction")
WRAP_TEMPLATE("${ITKM_UI}${ITKM_D}${ITKM_D}" "${ITKT_UI},${ITKT_D},${ITKT_D}")
END_WRAP_CLASS()
WRAP_CLASS("itk::WindowedSincInterpolateImageFunction" POINTER)
FOREACH(d ${WRAP_ITK_DIMS})
FOREACH(t ${WRAP_ITK_SCALAR})
WRAP_TEMPLATE("${ITKM_I${t}${d}}${ITKM_UI}HWFF${ITKM_UI}" "${ITKT_I${t}${d}},${ITKT_UI}*,itk::Function::HammingWindowFunction,${ITKT_I${t}${d}},${ITKT_D}")
ENDFOREACH(t)
ENDFOREACH(d)
END_WRAP_CLASS()
More information about the Insight-users
mailing list