Hi,
I've tried the first option but I haven't been able to get virtual_scanner package working. About the second option, I don't know well how I can fill the data of shapes because it could be easy for a cube but not for a sphere. Could you give me another hint?, please.

On Thu, Jan 13, 2011 at 2:33 AM, Radu Bogdan Rusu <rusu@willowgarage.com> wrote:
Juan,

Sure, you can easily generate basic shapes and save them into PCD files. However the pcl_visualization methods create 3D shapes and not 3D point clouds that represent 3D shapes, meaning that a cube will have 8 points representing the corners, and not thousands of points on its facets, etc.

We do have some methods that either:
 * virtually scan a 3D shape (see the virtual_scanner package)
 * fill in the data evenly on a shape (by iterating over each polygon/triangle and placing points evenly spaced)

Cheers,
Radu.
--
http://pointclouds.org


On 01/12/2011 05:29 AM, Juan Bueno Losada wrote:
Hello friends,
I wonder if it is possible to genarate basic shapes and then save them in a PCD files. I've seen methods such as
pcl_visualization::createSphere or pcl_visualization::createCylinder, but then I don't know what to do with the
vtkSmartPointer<vtkDataSet> objetc that this methods return.

Could anybody help me? Thank's.



--
Juan Bueno Losada
Universidad de Salamanca



_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users



--
Juan Bueno Losada
Universidad de Salamanca