[vtkusers] vtkLODActor->GetProperty()->SetColor() does not maintain the input color?
Jothybasu Selvaraj
jothybasu at gmail.com
Fri Mar 2 04:16:18 EST 2012
Could you try with mapper->ScalarVisibilityOff()
Jothy
On Thu, Mar 1, 2012 at 9:36 PM, Hong Yi <hongyi at renci.org> wrote:
> I am using distinct colors to represent each different molecular
> structure for multiple structure visual comparison. Each structure is
> represented by a different actor, and a predefined color is passed into the
> actor property to set its color. I found some colors get altered
> significantly. For example, the orange color becomes yellow. I want to show
> a legend to show correspondence between colors and structures, but some
> colors look so different between the legend and the displayed color for the
> corresponding structure actor. Is this expected behavior or I did not set
> up something correctly? Any suggestions and comments are very much
> appreciated.****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Hong ****
>
> ** **
>
> _______________________________________________
> 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
>
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120302/7e3ab9e5/attachment.htm>
More information about the vtkusers
mailing list