[vtkusers] how to modify vtkActor2D opacity?

Sebastien sebastien.calvi at yahoo.com
Wed Jun 12 16:30:50 EDT 2013


Alright I found out!

Here is the thing, I forgot to say that was using a vtkLabelPlacementMapper
for my labels working with a vtkPointSetToLabelHierarchy, well, by acting on
that last object the opacity of labels is taken into account:
this->pSetToLabelHier->GetTextProperty()->SetOpacity( opacity );

I kept the post, it might help someone in the future....

Sebastien.



--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-modify-vtkActor2D-opacity-tp5721346p5721360.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list