[vtkusers] plot 3d points

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Oct 23 03:29:22 EDT 2006


The best would be to write your own mapper displaying the point cloud as 
glPoints. glPoints work very well for large N giving fast yet still nice poor 
man's volume feel.
--DS

On Sunday 22 October 2006 22:16, Marty Humperdink wrote:
> I have several long lists of x,y,z coordinates that I
> would like to plot in an efficient manner. After
> searching the terms 'plot 3d points' in the mailing
> list archive I came up with some suggestions and
> implemented one using vtkGlyph3d and vtkSphereSource.
> Its very slow, though, and can crash with too many
> points (>2000).
>
> I'm looking for a way to plot this x,y,z coordinate
> data quickly. I can do what I want in Matlab/Octave
> using the command:
>
> plot3(ptsX,ptsY,ptsZ,'b.')
>
> where ptsX, ptsY, and ptsZ are the coordinates 'b.'
> indicates that I want a small blue dot as the point
> marker.
>
> Can someone please make a suggestion? I realize that
> this is a rudimentary question and I'm having trouble
> probably because I don't fully understand VTK data
> representation but would very much appreciate someone
> pointing me in the right direction.
>
> Thanks
> Marty
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab, ETH
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list