[vtkusers] Mac debugging

Chris Scharver scharver at evl.uic.edu
Tue Aug 10 09:35:49 EDT 2004


On Aug 9, 2004, at 3:59 PM, Eugene Kim wrote:

> Does anyone know which classes call the objective-C files?

VTK is actually using Objective-C++. vtkCocoaGLView is a Cocoa class 
including some C++ calls in its implementation. On the other hand, the 
classes vtkCocoaRenderWindowInteractor, vtkCocoaRenderWindow, and 
vtkCocoaWindow are C++ classes which make some Objective-C calls (such 
as to vtkCocoaGLView) in their implementations. The C++ classes store 
void pointers which are then cast into the correct Objective-C classes 
as needed.

Hope this helps,
Chris
--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list