File: itkVectorContainer.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 (46 lines) | stat: -rw-r--r-- 1,860 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
41
42
43
44
45
46
itk_wrap_include("set")

itk_wrap_class("itk::VectorContainer" POINTER)
# double is always needed by KernelTransform
unique(scalar_types "${WRAP_ITK_SCALAR};D")
foreach(t ${scalar_types})
  # These are wrapped below with "vectypes"
  if(NOT
     t
     IN_LIST
     WRAP_ITK_USIGN_INT)
    itk_wrap_template("${ITKM_IT}${ITKM_${t}}" "${ITKT_IT},${ITKT_${t}}")
    itk_wrap_template("${ITKM_UC}${ITKM_${t}}" "${ITKT_UC},${ITKT_${t}}")
  endif()
endforeach()
unique(real_types "${WRAP_ITK_REAL};D")
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  foreach(t ${real_types})
    itk_wrap_template("${ITKM_IT}${ITKM_V${t}${d}}" "${ITKT_IT},${ITKT_V${t}${d}}")
    itk_wrap_template("${ITKM_IT}${ITKM_P${t}${d}}" "${ITKT_IT},${ITKT_P${t}${d}}")
    itk_wrap_template("${ITKM_IT}M${ITKM_${t}}${d}${d}" "${ITKT_IT}, itk::Matrix< ${ITKT_${t}}, ${d}, ${d} >")
  endforeach()
endforeach()
unique(real_types "${WRAP_ITK_REAL};D")
foreach(t ${real_types})
  itk_wrap_template("${ITKM_IT}A${ITKM_${t}}" "${ITKT_IT}, itk::Array< ${ITKT_${t}} >")
endforeach()
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  itk_wrap_template("${ITKM_UC}${ITKM_O${d}}" "${ITKT_UC},${ITKT_O${d}}")
  itk_wrap_template("${ITKM_UI}${ITKM_CID${d}}" "${ITKT_UI},${ITKT_CID${d}}")
endforeach()
# used in FastMarchingExtensionImageFilter
itk_wrap_template("${ITKM_UI}${ITKM_VUC1}" "${ITKT_UI},${ITKT_VUC1}")
itk_wrap_template("${ITKM_IT}S${ITKM_IT}" "${ITKT_IT}, std::set< ${ITKT_IT} >")
#used  in ImageRegistrationMethodv4
unique(vectypes "${ITKM_IT};UI;${WRAP_ITK_USIGN_INT}")
foreach(t1 ${vectypes})
  foreach(t2 ${vectypes})
    itk_wrap_template("${ITKM_${t1}}${ITKM_${t2}}" "${ITKT_${t1}}, ${ITKT_${t2}}")
  endforeach()
endforeach()
itk_end_wrap_class()

itk_wrap_class("itk::DataObjectDecorator" POINTER)
itk_wrap_template("VC${ITKM_UC}${ITKM_D}" "itk::VectorContainer< ${ITKT_UC}, ${ITKT_D} >")
itk_end_wrap_class()