[vtkusers] vtkcubeAxes2D

Jessica Weiner suspended at gmail.com
Sat Mar 4 15:29:57 EST 2006


I have a vtkcubesource with the following bounds:

cube->SetBounds(0,100,0,40,0,20);

And I am using vtkcubeAxes2D to visualize the cube axes. However, the axes
do not correspond to the absolute bounds of the cube. For example, the
x-axis varies from 2.5 to 97.5 when it should vary from 0 to 100 like it is
specified above.

How can I fix this so that the axes map exactly to the bounds?

Thanks.
Jess




More information about the vtkusers mailing list