File: itkBinaryThresholdProjectionImageFilter.wrap

package info (click to toggle)
insighttoolkit4 4.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 408,860 kB
  • ctags: 151,204
  • sloc: cpp: 633,356; ansic: 403,038; xml: 51,513; fortran: 34,250; python: 15,831; sh: 2,501; lisp: 2,070; tcl: 1,035; java: 710; makefile: 605; yacc: 323; perl: 200; csh: 195; lex: 177; pascal: 69; cs: 35; ruby: 10
file content (17 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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(t2 ${WRAP_ITK_INT})
      set(t2 ${t})
      foreach(d ${ITK_WRAP_DIMS})
        DECREMENT(d1 ${d})
        itk_wrap_filter_dims(d2 "${d1}")
        if(d2)
          itk_wrap_template("${ITKM_I${t}${d}}${ITKM_I${t2}${d2}}" "${ITKT_I${t}${d}},${ITKT_I${t2}${d2}}")
        endif(d2)
      endforeach(d)
#    endforeach(t2)
  endforeach(t)
itk_end_wrap_class()