[vtkusers] fixing axes in 3D

J.A. Lee jeff at cdnorthamerica.com
Mon Jan 21 07:48:32 EST 2002


How about SetPosition?

Robert Ellis Parrott wrote:

>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)
>
>
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>





More information about the vtkusers mailing list