[vtkusers] vtkVectorText and Java

ahmed Tokalak tokalak at web.de
Wed Mar 20 19:06:36 EST 2002


Hi Everybody,

I use vtkVectorText to show text-labels but it's not 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);



____________________________________________________
Berufsunfähigskeitversicherung von Mamax bei WEB.DE. 
Jetzt informieren! http://bu.web.de




More information about the vtkusers mailing list