[vtkusers] Color Problem.

ankitramani ankitvtk at googlemail.com
Mon May 21 08:02:05 EDT 2012


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.



More information about the vtkusers mailing list