File: indexing.pxd

package info (click to toggle)
python-pcl 0.3.0~rc1%2Bdfsg-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 31,828 kB
  • sloc: python: 3,094; cpp: 283; makefile: 181; sh: 24; ansic: 12
file content (30 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (3)
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
# -*- coding: utf-8 -*-
from libc.stddef cimport size_t
cimport pcl_defs as cpp
# cimport pcl_PointCloud2_160 as cpp2

###############################################################################
# Types
###############################################################################

cdef extern from "indexing.hpp" nogil:
# cdef extern from "indexing.hpp":
    # Use these instead of operator[] or at.
    PointCloudType *getptr [PointCloudType](cpp.PointCloud[PointCloudType] *, size_t)
    PointCloudType *getptr_at [PointCloudType](cpp.PointCloud[PointCloudType] *, size_t) except +
    PointCloudType *getptr_at2 [PointCloudType](cpp.PointCloud[PointCloudType] *, int, int) except +


#cdef extern from "indexing_assign.h" nogil:
#     #void sp_assign(shared_ptr[cpp.PointCloud[cpp.PointXYZ]] &t, cpp.PointCloud[cpp.PointXYZ] *value)
#     #void sp_assign[T](shared_ptr[T] &p, T *value)


###############################################################################
# Enum
###############################################################################

###############################################################################
# Activation
###############################################################################