[vtkusers] Number Source

Joey Mukherjee joey at phobos.space.swri.edu
Mon Oct 15 17:27:25 EDT 2001


>Did anyone create a vtkNumberSource class (similar to vtkCubeSource
>or vtkSphereSource). I have code that segments cell Nuclei and counts
>them and I would like to display numbers in the center of each nuclei. It
>would be very helpful if I have a vtkNumberSource that displays a number
>in 3D!!

You can do exactly that with a vtkVectorText/vtkFollower.  Its somewhat 
expensive CPU wise, but it does work.  vtkLabeledDataMapper might also help you 
out.

Joey

+--------------------------------------------------------------------------+
+                                                                          +
+     Joey Mukherjee                 "The price of freedom is eternal      +
+     joey at swri.org                   vigilance, or $12.50 as seen on      +
+                                     E-Bay...                             +
+                                                                          +
+--------------------------------------------------------------------------+





More information about the vtkusers mailing list