[vtkusers] SetColor values

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Feb 26 10:38:00 EST 2004


Vetria,

	Use:

	from vtk.util.colors import *

for ex:

	VTK/Examples/Rendering/Python/rainbow.py

Mathieu

Vetria Byrd wrote:
> In viewing several of the .py examples there are lines of code like
> 
> isoActor.GetProperty().SetColor(antique_white[0],antique_white[1],antique_white[
> 2]);
> 
> where are the color values defined?  
> for instance: antique_white[0], antique_white[1], antique_white[0];
> 
> Thanks,
> Vetria
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list