[vtkusers] Specify color of a vtkPolyData object

David Doria daviddoria+vtk at gmail.com
Wed Apr 21 10:05:35 EDT 2010


On Wed, Apr 21, 2010 at 10:02 AM, Xiaofeng Z <xf10036 at hotmail.com> wrote:
> Hello,
>
> I'd like to know what's an easy way to specify the color of a vtkPolyData.
>
> Thanks!
>
> Xiaofeng Z

Do you want to color all of the cells? All of the points? The actor?

Search for "color" on this page:
http://www.vtk.org/Wiki/VTK/Examples

and you will mind many examples of how to color things.

Thanks,

David



More information about the vtkusers mailing list