[vtkusers] Creating multiple views

Shashwath T.R. trshash at gmail.com
Wed Jun 2 03:59:03 EDT 2010


Hi,

You can use the same actor in multiple renderers, but essentially,
everything else should be recreated.

--
Shash

On Wed, Jun 2, 2010 at 6:43 AM, 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?
>
> Thank you for the help.
>
>
> Anant.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100602/7215be2d/attachment.htm>


More information about the vtkusers mailing list