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
|
itk_wrap_include("itkSpatialObject.h")
itk_wrap_simple_class("itk::MetaEvent")
itk_wrap_class("itk::SpatialObject" POINTER_WITH_EXPLICIT_SPECIALIZATION)
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
# only available for dim 3
itk_wrap_filter_dims(d 3)
if(d)
itk_wrap_simple_class("itk::CylinderSpatialObject" POINTER_WITH_EXPLICIT_SPECIALIZATION)
endif(d)
#
# hack for ::MetaEvent, the super class of itk::MetaEvent
#
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
itk_wrap_named_class("MetaEvent" "itkMetaEvent_Superclass")
itk_wrap_class_all_generators("MetaEvent")
# 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()
# itk_wrap_simple_class_all_generators("MetaEvent")
# must be in the same file than SpatialObject for java wrappers
itk_wrap_class("itk::TreeNode" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
itk_wrap_template("${ITKM_SO${d}}" "${ITKT_SO${d}}*")
endforeach()
itk_end_wrap_class()
itk_wrap_class("itk::SpatialObjectTreeNode" POINTER)
set(WRAPPER_TEMPLATES "${itk_Wrap_SpatialObject}")
itk_end_wrap_class()
|