File: itkSpatialObjectBase.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 (21 lines) | stat: -rw-r--r-- 700 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
itk_wrap_include("itkSpatialObject.h")
itk_wrap_simple_class("itk::MetaEvent")

itk_wrap_class("itk::SpatialObject" POINTER_WITH_CONST_POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
  itk_wrap_template("${d}" "${d}")
endforeach()
itk_end_wrap_class()

# the file must have a different name than the class name for java
# that's why it is here

#
# hack for ::MetaEvent, the super class of itk::MetaEvent
#
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_named_class("MetaEvent" "itkMetaEvent_Superclass")
# to avoid useless warning: no template can be defined in
set(WRAPPER_WARN_ABOUT_NO_TEMPLATE OFF)
itk_wrap_one_type("FORCE_INSTANTIATE" "${WRAPPER_CLASS}" "${WRAPPER_SWIG_NAME}")
itk_end_wrap_class()