strawlab / python-pcl

Python bindings to the pointcloud library (pcl)
http://strawlab.github.com/python-pcl/
Other
2k stars 701 forks source link

error: no override found for "vtkactor" #350

Open ccxadmin opened 4 years ago

ccxadmin commented 4 years ago

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

zhou-ying-create commented 4 years ago

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

zcxxlshirley commented 3 years ago

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