[vtkusers] 3D axis that follows main actor

Rodrigo Valiña Gutiérrez rodrigo.valina at usc.es
Thu Sep 9 07:56:32 EDT 2010


On Thu, Sep 9, 2010 at 11:45 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> On Thu, Sep 9, 2010 at 4:44 AM, Rodrigo Valiña Gutiérrez
> <rodrigo.valina at usc.es> wrote:
> > Hi,
> >
> > I want an actor or a way to draw an object composed of 3 arrows for X Y
> and
> > Z axes, in the lower left corner of the window, and orients itself
> acording
> > to the rotation of the camera. I do not want it to zoom or displace. It
> > should be like the one ParaView has in the lower left corner.
> >
> > Is there any simple way to do it?
> >
> > --
> > Rodrigo
>
> This should do the trick;
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Axes
>
> David
>

It does not work for me.
The code in the link places the object in world coordinates, and the object
moves and zooms with the rest of the scene.
I wanted an object that was fixed-size and fixed-position (lower left corner
of the visualization), and only oriented itself like the other objects in
the scene.

--
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100909/76b6af37/attachment.htm>


More information about the vtkusers mailing list