[vtkusers] vtkVectorText or vtkFollower Bug
ahmed Tokalak
tokalak at web.de
Thu Mar 21 05:56:38 EST 2002
Hi Everybody,
I use vtkVectorText to show text-labels but nothing is visible. Any idea? This is my code:
vtkVectorText atext = new vtkVectorText();
atext.SetText("Test");
vtkPolyDataMapper followMapper = new vtkPolyDataMapper();
followMapper.SetInput(atext.GetOutput());
vtkFollower followActor = new vtkFollower();
followActor.SetMapper(followMapper);
followActor.SetScale( 0.2, 0.2, 0.2);
followActor.GetProperty().SetColor( 1, 0.2, 0.2);
followActor.SetPosition(0, -0.2, 0);
renderer.AddActor(followActor);
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
More information about the vtkusers
mailing list