[vtkusers] Color Problem.

Jothybasu Selvaraj jothybasu at gmail.com
Mon May 21 08:28:00 EDT 2012


Try

vtkPolyDataMapper2D::ScalarVisibilityOff()

Jothy


On Mon, May 21, 2012 at 1:02 PM, ankitramani <ankitvtk at googlemail.com>wrote:

> Hello,
>
> I am using
> vtkcutter->vtkTransformPolyDataFilter->vtkPolyDataMapper2D->vtkActor2D.
> For setting color, I am using
> vtkactor->getproperty()->setcolor(1.0,0.0,0.0);. But, I am getting by
> default yellow color. I checked whole my code, i didn't define yellow color
> parameter.
>
> I dont know, is it bug or my silly mistake.
>
> Please help me to set color by using this method or any different method.
>
> Regards,
> Ankit Ramani
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Color-Problem-tp5712855.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20120521/e6aee7d0/attachment.htm>


More information about the vtkusers mailing list