[vtkusers] color points ?

Darshan Pai darshanpai at gmail.com
Sat Jul 7 15:05:02 EDT 2012


You need to turn ScalarVisibilityOff() for the pipeline to use the property
color.

Regards


On Fri, Jul 6, 2012 at 12:23 PM, Luke Hetrick <lhetrick at nnu.edu> wrote:

> I have several thousand points that are type polydata that are defaulted
> to be either a black or a dark blue. To be consistent with the rest of my
> render windows, I would rather change the color of the points rather than
> the background color of the renderer. Is there any way to change the color
> on all the points to become a solid color such as just pure red points? I
> tried using the member GetProperty->SetColor from the /vtkActor class but
> that did not work. And I have played around with a few LUT's but these are
> only coloring the points that are originally dark blue and not the black
> points. Any suggestions?
>
> Thanks for the help,
> Luke H
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120707/1fc1a42c/attachment.htm>


More information about the vtkusers mailing list