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
|
# -*- coding: utf-8 -*-
# Header for pcl_grabber.pyx functionality that needs sharing with other modules.
cimport pcl_grabber as cpp
# # class override(PointCloud)
# cdef class PointCloud:
# cdef cpp.PointCloudPtr_t thisptr_shared # XYZ
#
# # Buffer protocol support.
# cdef Py_ssize_t _shape[2]
# cdef Py_ssize_t _view_count
#
# cdef inline cpp.PointCloud[cpp.PointXYZ] *thisptr(self) nogil:
# # Shortcut to get raw pointer to underlying PointCloud<PointXYZ>.
# return self.thisptr_shared.get()
#
#
# # class override(PointCloud_PointXYZI)
# cdef class PointCloud_PointXYZI:
# cdef cpp.PointCloud_PointXYZI_Ptr_t thisptr_shared # XYZI
#
# # Buffer protocol support.
# cdef Py_ssize_t _shape[2]
# cdef Py_ssize_t _view_count
#
# cdef inline cpp.PointCloud[cpp.PointXYZI] *thisptr(self) nogil:
# # Shortcut to get raw pointer to underlying PointCloud<PointXYZ>.
# return self.thisptr_shared.get()
#
#
# # class override(PointCloud_PointXYZRGB)
# cdef class PointCloud_PointXYZRGB:
# cdef cpp.PointCloud_PointXYZRGB_Ptr_t thisptr_shared
#
# # Buffer protocol support.
# cdef Py_ssize_t _shape[2]
# cdef Py_ssize_t _view_count
#
# cdef inline cpp.PointCloud[cpp.PointXYZRGB] *thisptr(self) nogil:
# # Shortcut to get raw pointer to underlying PointCloud<PointXYZRGB>.
# return self.thisptr_shared.get()
#
#
# # class override(PointCloud_PointXYZRGBA)
# cdef class PointCloud_PointXYZRGBA:
# cdef cpp.PointCloud_PointXYZRGBA_Ptr_t thisptr_shared # XYZRGBA
#
# # Buffer protocol support.
# cdef Py_ssize_t _shape[2]
# cdef Py_ssize_t _view_count
#
# cdef inline cpp.PointCloud[cpp.PointXYZRGBA] *thisptr(self) nogil:
# # Shortcut to get raw pointer to underlying PointCloud<PointXYZRGBA>.
# return self.thisptr_shared.get()
#
|