[vtkusers] vtkEarthSource colors ...

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Jul 9 23:19:34 EDT 2014


vtkEarthSource creates a polydata, so you should be able to set the color
like this:

actor->GetProperty()->SetColor(1.0, 0.0, 0.0); //(R,G,B)

- Aashsih



On Wed, Jul 9, 2014 at 8:14 PM, Meehan, Bernard <MEEHANBT at nv.doe.gov> wrote:
>
> Is there a way to change the foreground/background colors on the
vtkEarthSource?
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



--
| Aashish Chaudhary
| Technical Leader
| Kitware Inc.
| http://www.kitware.com/company/team/chaudhary.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140709/04e898b1/attachment.html>


More information about the vtkusers mailing list