Skip to content

Commit 45a9fc0

Browse files
authored
typo(comment add) (strawlab#117)
I deleted the comment by merging mistake, so I modified the code. I deleted garbled comments. use size property __getbuffer__ modified(parameter timing change : _view_count) Appveyor setting modified(use test.py -> test_pcl.py) test item add(test_pcl.py modified test_asarray[copy test.py]) * use size property * __getbuffer__ modified(always _view_count add) * Appveyor modified(use test.py -> test_pcl.py) test item add(test_pcl.py modified test_asarray[copy test.py]) __getbuffer__ modified(always _view_count add[other PointCloud pxi])
1 parent e15d6d4 commit 45a9fc0

17 files changed

+29
-29
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ test_script:
205205
# - dir "%PYTHON%\Lib\site-packages\python_pcl-0.2-py3.4-win32.egg\*.pyd" /b /a-d /s
206206
# - "%CMD_IN_ENV% python tests\\test.py"
207207
- python sys_path_check.py
208-
- python tests\test.py
208+
- python tests\test_pcl.py
209209
# examples_command_160.txt
210210
# Filtering
211211
- python examples\official\Filtering\PassThroughFilter.py

pcl/_pcl.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-*- coding: utf-8 -*-
1+
# -*- coding: utf-8 -*-
22
# cython: embedsignature=True
33

44

pcl/minipcl.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ void mpcl_extract_VFH(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud)
231231
/*
232232
// pcl1.6
233233
#include <pcl/keypoints/harris_keypoint3D.h>
234-
// use 1.7�`
234+
// use 1.7
235235
#include <pcl/keypoints/harris_3d.h>
236236
237237
// HarrisKeypoint3D
@@ -302,7 +302,6 @@ void mpcl_features_NormalEstimationMethod_compute(pcl::IntegralImageNormalEstima
302302
{
303303
// NG : out Variant Function end error
304304
printf("compute start.\n");
305-
// �Q�ƃJ�E���g��NG?(�֐����������ɃG���[)
306305
ne.compute (out);
307306
// pcl 1.7.2 error
308307
// printf("out = %p.\n", out);

pcl/pxi/PointCloud_PointXYZ.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ cdef class PointCloud:
108108
cdef Py_ssize_t npoints = self.thisptr().size()
109109

110110
if self._view_count == 0:
111-
self._view_count += 1
112111
self._shape[0] = npoints
113112
self._shape[1] = 3
113+
self._view_count += 1
114114

115115
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
116116
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZI.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ cdef class PointCloud_PointXYZI:
102102
cdef Py_ssize_t npoints = self.thisptr().size()
103103

104104
if self._view_count == 0:
105-
self._view_count += 1
106105
self._shape[0] = npoints
107106
self._shape[1] = 4
107+
self._view_count += 1
108108

109109
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
110110
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZI_172.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ cdef class PointCloud_PointXYZI:
9898
cdef Py_ssize_t npoints = self.thisptr().size()
9999

100100
if self._view_count == 0:
101-
self._view_count += 1
102101
self._shape[0] = npoints
103102
self._shape[1] = 4
103+
self._view_count += 1
104104

105105
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
106106
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZI_180.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ cdef class PointCloud_PointXYZI:
9898
cdef Py_ssize_t npoints = self.thisptr().size()
9999

100100
if self._view_count == 0:
101-
self._view_count += 1
102101
self._shape[0] = npoints
103102
self._shape[1] = 4
103+
self._view_count += 1
104104

105105
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
106106
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZRGB.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ cdef class PointCloud_PointXYZRGB:
9797
cdef Py_ssize_t npoints = self.thisptr().size()
9898

9999
if self._view_count == 0:
100-
self._view_count += 1
101100
self._shape[0] = npoints
102101
self._shape[1] = 4
102+
self._view_count += 1
103103

104104
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
105105
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZRGBA.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ cdef class PointCloud_PointXYZRGBA:
9797
cdef Py_ssize_t npoints = self.thisptr().size()
9898

9999
if self._view_count == 0:
100-
self._view_count += 1
101100
self._shape[0] = npoints
102101
self._shape[1] = 4
102+
self._view_count += 1
103103

104104
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
105105
buffer.format = 'f'

pcl/pxi/PointCloud_PointXYZRGBA_172.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ cdef class PointCloud_PointXYZRGBA:
9797
cdef Py_ssize_t npoints = self.thisptr().size()
9898

9999
if self._view_count == 0:
100-
self._view_count += 1
101100
self._shape[0] = npoints
102101
self._shape[1] = 4
102+
self._view_count += 1
103103

104104
buffer.buf = <char *>&(idx.getptr_at(self.thisptr(), 0).x)
105105
buffer.format = 'f'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy