Permalink
Browse files

Update MovingLeastSquares to pcl 1.6 API

  • Loading branch information...
1 parent 8e590a1 commit e8dfcb79a42bc0eff4124303d6c2a93568e0ca5f @julienr committed Feb 21, 2013
Showing with 4 additions and 4 deletions.
  1. +3 −3 pcl.pyx
  2. +1 −1 pcl_defs.pxd
View
@@ -396,14 +396,14 @@ cdef class MovingLeastSquares:
"""
self.me.setPolynomialFit(fit)
- def reconstruct(self):
+ def process(self):
"""
Apply the smoothing according to the previously set values and return
a new pointcloud
"""
pc = PointCloud()
- cdef cpp.PointCloud_t *ccloud = <cpp.PointCloud_t *>pc.thisptr
- self.me.reconstruct(deref(ccloud))
+ cdef cpp.PointNormalCloud_t *ccloud = <cpp.PointNormalCloud_t *>pc.thisptr
+ self.me.process(deref(ccloud))
return pc
cdef class VoxelGridFilter:
View
@@ -64,7 +64,7 @@ cdef extern from "pcl/surface/mls.h" namespace "pcl":
void setSearchRadius (double)
void setPolynomialOrder(bool)
void setPolynomialFit(int)
- void reconstruct (PointCloud[I])
+ void process (PointCloud[N])
ctypedef MovingLeastSquares[PointXYZ,Normal] MovingLeastSquares_t

0 comments on commit e8dfcb7

Please sign in to comment.