[vtkusers] Color Problem.
Bill Lorensen
bill.lorensen at gmail.com
Mon May 21 08:14:11 EDT 2012
On your mapper
mapper->ScalarVisibilityOff();
On Mon, May 21, 2012 at 8:02 AM, 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
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list