[vtkusers] 2D and 3D application

Alex Malyushytskyy alexmalvtk at gmail.com
Mon Aug 20 19:27:16 EDT 2012


Everything is possible, there are just such things which are difficult
to implement.

If wxWidgets allows you to have different windows in different threat,
theoretically you could make vtk do the job too.

I would not recommend it though,
at least read:

http://www.cmake.org/Wiki/VTK/FAQ#Is_VTK_thread-safe_.3F


Alex


On Sat, Aug 18, 2012 at 11:23 AM, rakesh patil
<prakeshofficial at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list