[vtkusers] Displaying string as labels - how to?

Roger Blum roger_blum at swissonline.ch
Sun Aug 27 02:49:35 EDT 2006


Hi vtk users,

I have a couple of points, a scalar value for each point and 1 to 4 strings 
describing each point. How can I display the strings at the point location 
(I am using vtk 5.0.0 with Tcl)?

I have tried to use vtkPolyData (with a vtkStringArray containing the Labels 
in vtkPointData), but a vtkStringArray can not be added to vtkPointData.

Is the vtkLabeledDataMapper the right thing to use for what I want to do? Is 
there a better way to do it?

Thanks in advance for your help,
Roger







More information about the vtkusers mailing list