diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f4e5549ca..197562c55 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -302,5 +302,5 @@ rtk_add_test(rtkBioscanTest rtkbioscantest.cxx if(ITK_WRAP_PYTHON) itk_python_add_test(NAME rtkFirstReconstructionPythonTest COMMAND rtkFirstReconstruction.py ${CMAKE_CURRENT_BINARY_DIR}/rtkFirstReconstruction.mha) - itk_python_add_test(NAME rtkMaximumIntensityPythonTest COMMAND rtkMaximumIntensity.py) + itk_python_add_test(NAME rtkMaximumIntensityPythonTest COMMAND rtkMaximumIntensity.py ${CMAKE_CURRENT_BINARY_DIR}/rtkFirstReconstruction.mha) endif() diff --git a/wrapping/rtkMaximumIntensityProjectionImageFilter.wrap b/wrapping/rtkMaximumIntensityProjectionImageFilter.wrap index 048884027..b4b1acce6 100644 --- a/wrapping/rtkMaximumIntensityProjectionImageFilter.wrap +++ b/wrapping/rtkMaximumIntensityProjectionImageFilter.wrap @@ -1,6 +1,30 @@ -itk_wrap_class("rtk::MaximumIntensityProjectionImageFilter" POINTER) +set(WRAPPER_AUTO_INCLUDE_HEADERS OFF) +itk_wrap_named_class("rtk::Functor::InterpolationWeightMultiplication" "rtkInterpolationWeightMultiplication") foreach(t ${WRAP_ITK_REAL}) - itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3SWM${ITKM_${t}}D${ITKM_${t}}" - "itk::Image<${ITKT_${t}}, 3>, itk::Image< ${ITKT_${t}}, 3>") + itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}") + endforeach() +itk_end_wrap_class() +itk_wrap_named_class("rtk::Functor::MaximumIntensityAlongRay" "rtkMaximumIntensityAlongRay") + foreach(t ${WRAP_ITK_REAL}) + itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}") + endforeach() +itk_end_wrap_class() +itk_wrap_named_class("rtk::Functor::MaximumIntensityProjectedValueAccumulation" "rtkMaximumIntensityProjectedValueAccumulation") + foreach(t ${WRAP_ITK_REAL}) + itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}") + endforeach() +itk_end_wrap_class() +set(WRAPPER_AUTO_INCLUDE_HEADERS ON) + +itk_wrap_class("rtk::JosephForwardProjectionImageFilter" POINTER) + foreach(t ${WRAP_ITK_REAL}) + itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3FWMI${ITKM_${t}}3I${ITKM_${t}}3FVAI${ITKM_${t}}3I${ITKM_${t}}3FIAI${ITKM_${t}}3I${ITKM_${t}}3" + "itk::Image<${ITKT_${t}}, 3>, itk::Image< ${ITKT_${t}}, 3>, rtk::Functor::InterpolationWeightMultiplication<${ITKT_${t}}, ${ITKT_${t}}>, rtk::Functor::MaximumIntensityProjectedValueAccumulation<${ITKT_${t}}, ${ITKT_${t}}>, rtk::Functor::MaximumIntensityAlongRay<${ITKT_${t}}, ${ITKT_${t}}>") + endforeach() +itk_end_wrap_class() + +itk_wrap_class("rtk::MaximumIntensityProjectionImageFilter" POINTER) + foreach(t ${WRAP_ITK_REAL}) + itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3" "itk::Image<${ITKT_${t}}, 3>, itk::Image<${ITKT_${t}}, 3>") endforeach() itk_end_wrap_class()