[vtkusers] Mac debugging
Eugene Kim
eugene at salk.edu
Tue Aug 10 13:44:46 EDT 2004
Hi Chris,
Right, I have seen the vtkCocoa---- files, and I know they are the ones
which interact directly with the C++ code. What I can't determine is the
other side of the problem... what is interacting with these files? Are
these files the ones which are directly communicating with Cocoa to draw
to the screen?
Thanks,
Eugene
On Tue, 10 Aug 2004, Chris Scharver wrote:
> 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