File: itkImageSource.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 (40 lines) | stat: -rw-r--r-- 1,447 bytes parent folder | download
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
itk_wrap_include("itkPhasedArray3DSpecialCoordinatesImage.h")
itk_wrap_class("itk::ImageSource" POINTER)
# Force uchar and ulong image sources for saving in 8 bits and watershed filter
unique(image_types "UC;RGBUC;RGBAUC;SI;UI;UL;ULL;${ITKM_IT};${WRAP_ITK_ALL_TYPES}")
itk_wrap_image_filter("${image_types}" 1)

unique(to_types "${WRAP_ITK_SCALAR};UC")
unique(ssrt_types "${WRAP_ITK_REAL};D")
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  foreach(type ${to_types})
    itk_wrap_template("${ITKM_VI${type}${d}}" "${ITKT_VI${type}${d}}")
  endforeach()
  foreach(t ${ssrt_types})
    itk_wrap_template("${ITKM_ISSRT${ITKM_${t}}${d}${d}}" "${ITKT_ISSRT${ITKM_${t}}${d}${d}}")
  endforeach()
endforeach()

list(
  FIND
  WRAP_ITK_COV_VECTOR_REAL
  "CVD"
  index)
if(index EQUAL -1)
  itk_wrap_include("itkCovariantVector.h")
  # Used in ImageRegistrationMethodv4
  foreach(d ${ITK_WRAP_IMAGE_DIMS})
    itk_wrap_template("ICV${ITKM_D}${d}${d}" "itk::Image< itk::CovariantVector< ${ITKT_D},${d} >,${d} >")
  endforeach()
endif()

# PhasedArray3DSpecialCoordinatesImage
foreach(real_type ${WRAP_ITK_SCALAR})
  itk_wrap_template("PA3DSCI${ITKM_${real_type}}" "itk::PhasedArray3DSpecialCoordinatesImage<${ITKT_${real_type}}>")
endforeach()
foreach(complex_type ${WRAP_ITK_COMPLEX_REAL})
  itk_wrap_template("PA3DSCI${ITKM_${complex_type}}"
                    "itk::PhasedArray3DSpecialCoordinatesImage<${ITKT_${complex_type}}>")
endforeach()

itk_end_wrap_class()