[vtkusers] Colored Point Cloud

David Doria daviddoria at gmail.com
Wed May 22 12:26:16 EDT 2013


On Wed, May 22, 2013 at 11:49 AM, Bob Palank <bob at stlcc.org> wrote:
> I would like to import and display a colored point cloud ( < 3000 points for
> starters ).
> Incoming point data will be in x,y,z,R,G,B format
> I think that in place of a single display point
> I'm planning on using 7 display points for each data point,
> essentially a cross around the display point
> plus a +z and -z point.
> A.  Can this be done?
> B.  Is there a better way
> C.  Would using verrrrrrrry small spheres be an effective alternative?
>
> TIA
>   Bob

Check out vtkGlyph3D:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph3D

You can give it whatever you want (a 3d cross) using SetSource, and it
will apply that "icon" to every point in your data set.

David



More information about the vtkusers mailing list