David's suggestion below is very good if you have many large files as
the processing will be really fast.
Using VTK you can easily adopt the following approach:
1) Develop a reader for a single file.
2) Extend it to process multiple files e.g. all files in a directory.
3) Develop a GUI to control the process using QT/QVTK - makes
selecting files easier.
4) Then you can optionally write extra code to control what parts of
the point cloud are selected. The GUI can then be used to control your
selection parameters.

This is really useful if you have point clouds corresponding to some
time span e.g. laser scans of a mine pit, as you can ultimately
animate the data using ParaView.

Andrew



>>> I have been working with 3D stereo reconstruction. So, I have huge 3d point 
>>> clouds co-registered with color in this format [X Y Z R G B] (the first 
>>> three vector columns specify the location of the single point and the last 
>>> three one its color in RGB space). I have been trying to display the data 
>>> in Paraview without success.
>>>
>>>
>>>
>>> I use the “table to points” filter to show the 3D coordinates but then I do 
>>> not know  how to specify the color of each single point using its RGB 
>>> components. Can you please help me out?
>
> If you're more comfortable in c++ you could use VTK to parse the file,
> construct a polydata, and then write a vtp file. Here are the examples
> you'd need:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/ReadDelimitedFile
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP
>
> Then Paraview can easily read this vtp file.
>
> David
>
>

-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to