Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Add setviewpoint into normalestimation #321

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pcl/pxi/Features/NormalEstimation.pxi
Original file line number Diff line number Diff line change
@@ -29,6 +29,9 @@ cdef class NormalEstimation:
def set_KSearch (self, int param):
self.me.setKSearch (param)

def set_ViewPoint(self, float vpx, float vpy, float vpz):
self.me.setViewPoint(vpx, vpy, vpz)

def compute(self):
normal = PointCloud_Normal()
sp_assign(normal.thisptr_shared, new cpp.PointCloud[cpp.Normal]())
3 changes: 3 additions & 0 deletions pcl/pxi/Features/NormalEstimation_172.pxi
Original file line number Diff line number Diff line change
@@ -29,6 +29,9 @@ cdef class NormalEstimation:
def set_KSearch (self, int param):
self.me.setKSearch (param)

def set_ViewPoint(self, float vpx, float vpy, float vpz):
self.me.setViewPoint(vpx, vpy, vpz)

def compute(self):
normal = PointCloud_Normal()
sp_assign(normal.thisptr_shared, new cpp.PointCloud[cpp.Normal]())
3 changes: 3 additions & 0 deletions pcl/pxi/Features/NormalEstimation_180.pxi
Original file line number Diff line number Diff line change
@@ -29,6 +29,9 @@ cdef class NormalEstimation:
def set_KSearch (self, int param):
self.me.setKSearch (param)

def set_ViewPoint(self, float vpx, float vpy, float vpz):
self.me.setViewPoint(vpx, vpy, vpz)

def compute(self):
normals = PointCloud_Normal()
sp_assign(normals.thisptr_shared, new cpp.PointCloud[cpp.Normal]())