[vtkusers] Creating multiple views

John Drescher drescherjm at gmail.com
Tue Jun 1 21:21:36 EDT 2010


On Tue, Jun 1, 2010 at 9:13 PM, Anant Vemuri <ajar108 at gmail.com> wrote:
> Hi,
>
> In VTK, I want to create an object, in two different views, i mean to view
> the object from two different directions. I will be moving my object in one
> of the two views and I want to see it move correspondingly in another view.
> I am familiar with doing this in just one view. But what all things do I
> need to recreate in order to accomplish this task?
>
> I am thinking, I have to create two different windows. Can I use the same
> renderer in both these views but with a different active camera or do i need
> to have two separate renderers? I am thinking that I don't need to recreate
> all the actors and mappers. Is there anything else that I need to do.
>
> Also is there a sample code on VTK wiki or in the VTK source directory with
> this kind of an example?
>

When I do this for CT images I have a separate window, renderer,
actors ... per view.

John



More information about the vtkusers mailing list