[vtkusers] Re: Associating scalar values with points
Moti Freiman
freiman at cs.huji.ac.il
Tue Sep 28 16:36:30 EDT 2004
Hi!
you need to use vtkPolyData->GetPointData()->AddArray (vtkFloatArray)
and then set your active scalaras to this array by using:
vtkPolyData->GetPointData()->SetActiveSclaras (vtkFloatArray->GetName())
__
Moti Freiman, Graduate Student.
Medical Image Processing and Computer-Assisted Surgery Laboratory.
School of Computer Science and Engineering.
The Hebrew University of Jerusalem Givat Ram, Jerusalem 91904, Israel
Phone: +(972)-2-658-5371 (laboratory)
E-mail: freiman at cs.huji.ac.il
WWW site: http://www.cs.huji.ac.il/~freiman
More information about the vtkusers
mailing list