[vtkusers] How to add an axes to the render widow?

Ramakrishna Shyamprakash ramakrishna.prakash at quest-global.com
Tue Feb 24 09:11:08 EST 2004


An Jiye,
            Consider keeping two renderers in one render window. one 
dedicated to actors and one, say in lower left corner of the window 
dedicated to axes. you can link the camera of both the renderers by 
adding observer.

--Shyam

-----Original Message-----
From: "An Jiye" <an_jiye at hotmail.com>
To: <vtkusers at vtk.org>
Date: Tue, 24 Feb 2004 15:23:43 +0800
Subject: [vtkusers] How to add an axes to the render widow?

> Hi.
> 
> I have created a pipeline vtkAxes->vtkPolyDataMapper->vtkActor in order
> to
> display an axes with other actural actors. I think this will be
> convinent
> for user to guess the position of other actors.
> 
> But I can only see this axes(three lines) when there is no other
> actors.
> After I added some other vtkActor(some isosurfaces) to the renderer, I
> can
> not see it. Finally I found that it is too small to see. So how can I
> automatically scale it to fit the current actors?
> 
> Thank you in advance.
> 
> An Jiye
> 
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list