[vtkusers] Mac OS X x86_64 with Qt-4.5.x,vtk-5.3.x
clinton at elemtech.com
Tue Nov 25 11:37:59 EST 2008
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?
More information about the vtkusers