File: itkComposeImageFilter.wrap

package info (click to toggle)
insighttoolkit5 5.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 704,588 kB
  • sloc: cpp: 784,579; ansic: 628,724; xml: 44,704; fortran: 34,250; python: 22,934; 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 (57 lines) | stat: -rw-r--r-- 1,639 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
itk_wrap_class("itk::ComposeImageFilter" POINTER)

# VectorImage types
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  foreach(t ${WRAP_ITK_SCALAR})
    itk_wrap_template("${ITKM_I${t}${d}}${ITKM_VI${t}${d}}" "${ITKT_I${t}${d}}, ${ITKT_VI${t}${d}}")
  endforeach()
endforeach()

# Note: we do not wrap more input types here, this filter should
# not be used to cast types, use the castimagefilter for this.
# This allows to reduce the number of wrapped classes.
if(ITK_WRAP_float AND ITK_WRAP_covariant_vector_float)
  itk_wrap_image_filter_types(F CVF 2)
  itk_wrap_image_filter_types(F CVF 3)
endif()

if(ITK_WRAP_double AND ITK_WRAP_covariant_vector_double)
  itk_wrap_image_filter_types(D CVD 2)
  itk_wrap_image_filter_types(D CVD 3)
endif()

if(ITK_WRAP_float AND ITK_WRAP_vector_float)
  itk_wrap_image_filter_types(F VF 2)
  itk_wrap_image_filter_types(F VF 3)
endif()

if(ITK_WRAP_double AND ITK_WRAP_vector_double)
  itk_wrap_image_filter_types(D VD 2)
  itk_wrap_image_filter_types(D VD 3)
endif()

if(ITK_WRAP_rgba_unsigned_char AND ITK_WRAP_unsigned_char)
  itk_wrap_image_filter_types(UC RGBAUC)
endif()

if(ITK_WRAP_rgba_unsigned_short AND ITK_WRAP_unsigned_short)
  itk_wrap_image_filter_types(US RGBAUS)
endif()

if(ITK_WRAP_rgb_unsigned_char AND ITK_WRAP_unsigned_char)
  itk_wrap_image_filter_types(UC RGBUC)
endif()

if(ITK_WRAP_rgb_unsigned_short AND ITK_WRAP_unsigned_short)
  itk_wrap_image_filter_types(US RGBUS)
endif()

if(ITK_WRAP_complex_float AND ITK_WRAP_float)
  itk_wrap_image_filter_types(F CF)
endif()

if(ITK_WRAP_complex_double AND ITK_WRAP_double)
  itk_wrap_image_filter_types(D CD)
endif()

itk_end_wrap_class()