strawlab/python-pcl

error: no override found for "vtkactor"

Opened this issue · 2 comments

code:

cloud = pcl.load(
'table_scene_lms400.pcd')

ne = cloud.make_NormalEstimation()
tree = cloud.make_kdtree()
ne.set_SearchMethod(tree)
ne.set_RadiusSearch(0.03)
normals = ne.compute()
print(normals.to_array())
# visualize normals
viewer = pcl.pcl_visualization.PCLVisualizering()
viewer.SetBackgroundColor(0.0, 0.0, 0.5)
# viewer.addPointCloudNormals<pcl::PointXYZ,pcl::Normal>(cloud, normals, b'normals');
viewer.AddPointCloud(cloud)
viewer.AddPointCloudNormals(cloud, normals, 100, 0.02, b'normals')

when the VTKWindows show Normals, the error appears "no override found for "vtkactor" "
is there someone have the same question? And who can help me ?
thks

我也是这样的 请问你解决了吗

I also meeting for the same problem. Have U solved it?THX!