Skip to content

Commit

Permalink
COMP: fix wrapping of ThreeDCircularProjectionGeometry::FixAngles
Browse files Browse the repository at this point in the history
  • Loading branch information
acoussat committed Feb 26, 2025
1 parent 0990d30 commit 3007c9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wrapping/ThreeDCircularProjectionGeometry.i
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
%include "typemaps.i"

// rtk::ThreeDCircularProjectionGeometry::FixAngles
%apply double &OUTPUT {double & outOfPlaneAngleRAD, double & gantryAngleRAD, double & inPlaneAngleRAD};
6 changes: 6 additions & 0 deletions wrapping/rtkThreeDCircularProjectionGeometry.wrap
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
itk_wrap_simple_class("rtk::ThreeDCircularProjectionGeometry" POINTER)

set(ITK_WRAP_PYTHON_SWIG_EXT
"%include ThreeDCircularProjectionGeometry.i\n${ITK_WRAP_PYTHON_SWIG_EXT}")

file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/ThreeDCircularProjectionGeometry.i"
DESTINATION "${WRAPPER_MASTER_INDEX_OUTPUT_DIR}")

0 comments on commit 3007c9e

Please sign in to comment.