[vtkusers] vtkActor.GetProperty()->SetColor() not working for me

Mike Gagnon mike at gagnon.com
Thu Aug 1 16:03:31 EDT 2013


Got it!
pActor->GetMapper()->ScalarVisibilityOff().....


On 8/1/2013 3:59 PM, Mike Gagnon wrote:
> Hi list,
>
> I'm making the following call after having added an actor to my view.  
> Is it possible to change the color after an actor is added? My call to 
> SetColor has no effect:
>
> pActor->GetProperty()->SetColor(1, 0.75, 0);   // yellowish color
>
> Thanks,
> Mike




More information about the vtkusers mailing list