[vtk-developers] vtkCocoaRenderWindow qq

clinton at elemtech.com clinton at elemtech.com
Wed Oct 1 14:28:27 EDT 2008


On Wednesday 01 October 2008 12:19:16 pm Sean McBride wrote:
> On 10/1/08 11:29 AM, clinton at elemtech.com said:
> >What I would have expected was something like
> >vtkWindow concept       Cocoa concept       Carbon concept
> >DisplayId               -na-                    -na-
> >WindowId                NSView            HIView
> >ParentId                 NSView            HIView
> >RootWindow           NSWindow             Window
>
> In the Carbon column you have 2 HIViews.  Are these the same?  Do you
> mean WindowId and ParentId are synonymous?

They are not the same.  The WindowId/HIView is a child of ParentId/HIView.
That gives the user the option of only setting the ParentId, and let VTK 
create the child window/view, and manage it.

Clint



More information about the vtk-developers mailing list