octree_viewer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

octree_viewer

baharak
This post has NOT been accepted by the mailing list yet.
Hi,
I am new to PCL and want to use octree. I am using the octree_viewer which I found on
https://github.com/otherlab/pcl/blob/master/tools/octree_viewer.cpp . I have some questions considering the octree itself, because the viewer is very straight forward and seems to work correctly in showing the voxels. My test points are :
0 0 0.1
0.99 0 0.1
0 0.99 0.1
2.99 0 0
So I expect to have 4 voxels. But I get 8 voxels. And what I don't understand is that no matter how my points are, the voxels which are shown overlap.
         
Thank you,
Baharak
Reply | Threaded
Open this post in threaded view
|

Re: octree_viewer

JamesRayen
hi,
I'm using the file you referred to show octree, but I cannot get the right
result, that means the point cloud is not displayed and the bound boxes are
not drew even I pressed the keys mention in the cpp file, I don't know the
reason,could you help me?I found that :
treeWireframe->AddInputData(GetCuboid(x - s, x + s, y - s, y + s, z - s, z +
s));
no data is stored in treeWireframe, and cube in function-GetCuboid has no
data.
Could you please help me?




--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: octree_viewer

Fabien Rozar
Hello,

Recently, many fixes and updates has been done on the program octree_viewer:

(You can check the pull request which begin by [OCTREE], many of them concern
the octree_viewer).

My advice is:
Could you please try to reproduce the bad behavior with the current development
version of PCL please?

Best regards,
frozar

2018-01-05 10:56 GMT+01:00 JamesRayen <[hidden email]>:
hi,
I'm using the file you referred to show octree, but I cannot get the right
result, that means the point cloud is not displayed and the bound boxes are
not drew even I pressed the keys mention in the cpp file, I don't know the
reason,could you help me?I found that :
treeWireframe->AddInputData(GetCuboid(x - s, x + s, y - s, y + s, z - s, z +
s));
no data is stored in treeWireframe, and cube in function-GetCuboid has no
data.
Could you please help me?




--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users