[vtkusers] Visualizaing Points with different colors

Malcolm Drummond malcolm at geovision.co.za
Fri May 23 12:10:44 EDT 2003


Hi Asad

You need to add scalar values to your dataset - one for each vertex. Look at Arrays.py in examples/DataManipulation to get started.

HTH
Malcolm
  ----- Original Message ----- 
  From: Asad Abu-Tarif 
  To: vtkusers at public.kitware.com 
  Sent: Friday, May 23, 2003 5:09 PM
  Subject: [vtkusers] Visualizaing Points with different colors


  Hi,
  I would like to visualize a list of points, each with a different
  color. I can visualize them all with the same color, and with 
  the same actor. However, to visualize them in different colors,
  I put each point (vertex) in a different actor. The problem here 
  is that the visualization becomes much slower and a lot of points
  disappear if I zoom out (which doesn't happen when I visualize
  all the points in one actor).

  Is there another easier way to visualize individual points (vertices)
  each with a different color?

  Thanks in advance.

  Asad

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  Asad Abu-Tarif, Ph.D. 
  Computer Research Engineer/Project Manager
  AutoQuant Imaging, Inc. 
  877 25th. Street 
  Watervliet, NY 12189 
  USA 
  http://www.aqi.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030523/ff8ceb63/attachment.htm>


More information about the vtkusers mailing list