Re: [ros-users] How to save basic shapes in PCD files

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Radu Bogdan Rusu
Date:  
To: Juan Bueno Losada
CC: Point Cloud Library \(PCL\) mailing list, User discussions
Subject: Re: [ros-users] How to save basic shapes in PCD files
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
>
> https://code.ros.org/mailman/listinfo/ros-users