[vtkusers] fixing axes in 3D

Robert Ellis Parrott parrott at fas.harvard.edu
Mon Jan 21 01:35:56 EST 2002


I have a set of points in 3D that I plot as spheres; the points are all
together one actor.

I also have a second actor as a set of axes made from vtkAxes.

The problem is that I want the origin of the axes to be at the center of
the coordinates system for the points. However, even after setting
SetOrigin(0,0,0) on the axes, they are centered at the "center of mass" of
the points, and not the (0,0,0) point.

How can I fix my axes in the right position?


thanx,

rob


----------------------------
Robert E. Parrott
Department of Physics
429 Lyman Laboratory
Harvard University
Cambridge, Massachusetts 02138
(617)-496-4013
parrott at fas.harvard.edu
Robert.E.Parrott.96 at alum.dartmouth.org (permanent)






More information about the vtkusers mailing list