[vtk-developers] cocoa on macosx

Jeff Lee jeff at cdnorthamerica.com
Tue Dec 30 12:24:36 EST 2003


Hi All,
Does anyone know how to create a vtkCocoaWindow to pass into 
vtkCocoaRenderWindow->SetWindowId(...)?  I am given an NSView from java 
and want to map the render window to that NSView.  Basically it looks 
like I need to create a vtkCocoaWindow given a pre-existing NSWindow, 
but objectivec looks like greek to me.  After getting a vtkCocoaWindow 
with the right handle, it looks like I should just be able to pass that 
into vtkCocoaRenderWindow->SetWindowId(...) and have it all work, right?
-Jeff

-- 
Jeff Lee
Senior Software Engineer
Computational Dynamics North America Ltd
21 Lafayette Street, Suite 230
Lebanon NH 03766 USA
fax:   603 643 9994
phone: 603 643 9993 x109
http://www.cd-adapco.com





More information about the vtk-developers mailing list