[vtkusers] 2DAxisActor

Louis Desjardins lost_bits1110 at hotmail.com
Tue May 18 17:24:30 EDT 2004


Hi vtkusers
i just want to display an xy axis on my screen so i have an object of 
vtk2DAxisActor :

        XYAxisActor->SetPoint1(10, 100);
	XYAxisActor->SetPoint2(10, 100);
	XYAxisActor->SetRange(5, 40);
	XYAxisActor->AxisVisibilityOn();
	XYAxisActor->TickVisibilityOn();
	XYAxisActor->LabelVisibilityOn();
	XYAxisActor->RenderOverlay( Ren1 );

and then I add this actor to my Renderer but nothign appears?
Do you see anything wrong with the above code?
Thanks

_________________________________________________________________
Best Restaurant Giveaway Ever! Vote for your favorites for a chance to win 
$1 million! http://local.msn.com/special/giveaway.asp




More information about the vtkusers mailing list