[vtkusers] vtkCubeAxesActor2D - setting Range/NumberOfLabels

Daniel.Zuidinga at rwth-aachen.de Daniel.Zuidinga at rwth-aachen.de
Thu May 3 10:50:31 EDT 2007


Hi vtk-users,

can anybody tell me how i can set the range or the labels of the vtkAxisActor2D of vtkCubeAxesActor2D?

i tried

vtkCubeAxesActor2D axes;
(...)
axes.GetYAxisActor2D().SetRange(0.1,200);
axes.GetYAxisActor2D().SetNumberOfLabels(4);

But nothing changes. 

Meanwhile   axes.SetYLabel("Y-Labeltext"); works as expected.
I use the java wrappings.

thx
Daniel




More information about the vtkusers mailing list