[vtkusers] self.headActor.GetProperty().SetColor(R,G,B)

aneuryzma patrick.diviacco at gmail.com
Fri Oct 22 10:59:19 EDT 2010


I'm using VTK and changing color to my model

self.headActor.GetProperty().SetColor(R,G,B)

However it seems the color is just added instead of replace.
As result, when I add multiple colors the model becomes white.

How can I change the color removing the previous one and just adding the
last one ?

thanks
-- 
View this message in context: http://vtk.1045678.n5.nabble.com/self-headActor-GetProperty-SetColor-R-G-B-tp3232393p3232393.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list