File: itkBinaryThresholdProjectionImageFilter.wrap

package info (click to toggle)
insighttoolkit5 5.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704,404 kB
  • sloc: cpp: 783,697; ansic: 628,724; xml: 44,704; fortran: 34,250; python: 22,874; sh: 4,078; pascal: 2,636; lisp: 2,158; makefile: 461; yacc: 328; asm: 205; perl: 203; lex: 146; tcl: 132; javascript: 98; csh: 81
file content (14 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
itk_wrap_class("itk::BinaryThresholdProjectionImageFilter" POINTER_WITH_SUPERCLASS)
itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 2)

# reduce the output dimension by 1, if possible
foreach(t ${WRAP_ITK_SCALAR})
  foreach(d ${ITK_WRAP_IMAGE_DIMS})
    decrement(d1 ${d})
    itk_wrap_filter_dims(d2 "${d1}")
    if(d2)
      itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t}${d2}}" "${ITKT_I${t}${d}},${ITKT_I${t}${d2}}")
    endif()
  endforeach()
endforeach()
itk_end_wrap_class()