File: itkPCAShapeSignedDistanceFunction.wrap

package info (click to toggle)
insighttoolkit5 5.4.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704,384 kB
  • sloc: cpp: 783,592; ansic: 628,724; xml: 44,704; fortran: 34,250; python: 22,874; sh: 4,078; pascal: 2,636; lisp: 2,158; makefile: 464; yacc: 328; asm: 205; perl: 203; lex: 146; tcl: 132; javascript: 98; csh: 81
file content (15 lines) | stat: -rw-r--r-- 858 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
itk_wrap_class("itk::PCAShapeSignedDistanceFunction" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  # Force wrapping this filter for double images, in addition to other
  # wrapped image types listed in the variable `WRAP_ITK_REAL`, as it
  # is the default image template type of this class in C++.
  unique(types "${WRAP_ITK_REAL};D")
  # `TCoordRep` template parameter of this filter can only be wrapped for
  # `double` because of OptimizerParameters is hardcoded as templated
  # over `double` in parent class `ShapeSignedDistanceFunction`.
  foreach(t ${types})
    string(APPEND ITK_WRAP_PYTHON_SWIG_EXT "DECL_PYTHON_STD_VEC_RAW_TO_SMARTPTR_TYPEMAP(itkImage${ITKM_${t}}${d}, itkImage${ITKM_${t}}${d}_Pointer)\n")
    itk_wrap_template("${ITKM_D}${d}${ITKM_I${t}${d}}" "${ITKT_D},${d},${ITKT_I${t}${d}}")
  endforeach()
endforeach()
itk_end_wrap_class()