[vtkusers] 2D and 3D application

rakesh patil prakeshofficial at gmail.com
Sat Aug 18 14:23:00 EDT 2012


Yes,

I am trying to have two "normal" VTK windows separately. But not using QT.
I'm using wxWidgets. So If I can create a render window in one thread, and
so multiple windows in multiple threads, Is it possible like that?

On Sat, Aug 18, 2012 at 11:45 PM, David Doria <daviddoria at gmail.com> wrote:

> On Sat, Aug 18, 2012 at 2:06 PM, rakesh patil <prakeshofficial at gmail.com>
> wrote:
> > Hello,
> >
> > In an application, can we have two render windows, one 2 dimensional and
> > another 3 dimensional.??
> >
> > Thanks
>
> The "dimensionality" is totally dependent on the InteractoryStyle that
> you assign to the renderWindowInteractor. Are you trying to have two
> "normal" VTK windows (i.e. separate windows, each of which looks like
> the normal thing that happens with something like
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere)? You
> should probably be doing something more like this
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/SideBySideRenderWindows
> where you use Qt to organize these windows.
>
> It looks like a long time ago I tried to do the "multiple normal
> windows" :
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MultipleRenderWindows
> but the comments make it sound like the example was never finished
> (but it might give you a starting point, and it would be great if you
> can fix it :) ).
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120818/5a3a22a3/attachment.htm>


More information about the vtkusers mailing list