[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] Mac OS X x86_64 with Qt-4.5.x,vtk-5.3.x
From:       Clinton Stimpson <clinton () elemtech ! com>
Date:       2008-11-25 16:37:59
Message-ID: 492C29E7.80803 () elemtech ! com
[Download RAW message or body]

Sean McBride wrote:
>>> Do I understand correctly that this API takes an ASCII string (of a
>>> base-10 number) that represents a pointer address?!?  That's strange,
>>> no?  This is likely to wreak havoc with Obj-C garbage collection...
>>>       
>> Yes, its a string of a base 10 number which one can extract then 
>> reinterpret cast back to a native window system handle.
>> The vtkRenderWindow::SetWindowInfo() is called by the GTK, Qt, wx Python 
>> codes that interface with VTK.  Of the 3, it looks like Qt is the only 
>> one that optionally uses Cocoa now.
>>     
>
> Do you happen to know why a string is used?  Seems awfully weird, but I
> assume there is a reason.
I can only guess it is there to support the scripting languages.
Has VTK/Cocoa been used with scripting languages yet?

Clint

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic