[vtkusers] modify a text in the renderer with the mose move event

RimAY rim.ayari at gmail.com
Wed Nov 18 02:25:08 EST 2009


Dear All ,
Can someone give me an idea how can i change a text in the renderer with the
mouse move event.
I try with vtktextactor this is the part of my code:

Tactorx = vtkTextActor()
Tactorx.SetInput(cx)
Tactorx.SetDisplayPosition(70,170)
Tactorx.GetTextProperty().SetJustificationToCentered()
renderer.AddActor(Tactorx)
Tactorx.Modified() 

cx change its value with the mose move, i get the new value above the ancien
one, the result is an illegible text :(

Thanks a lot 

-- 
View this message in context: http://old.nabble.com/modify-a-text-in-the-renderer-with-the-mose-move-event-tp26403090p26403090.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list