[vtkusers] How to use SetScalars ?

mightos mightos at gmail.com
Mon Jun 29 06:14:41 EDT 2015


Hi,

I've been trying to use SetScalars to assign colors to my points.

However, when I do polyData.GetPointData().SetScalars(Colors), everything is
messed up.

How is SetScalars working ? Is it assigning the first point to the first
Scalar, and so on ? It looks like it doesn't assign the points in the right
order.

Thank you for your help.



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-use-SetScalars-tp5732573.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list