[vtkusers] vtkFlRenderWindowInteractor on Mac OS X

Feng Ding carlding at gmail.com
Fri Sep 14 13:57:48 EDT 2007


I just set to use carbon to build VTK. The example program of
vtkFlRenderWindowInteractor now can be executed, but it shows nothing
(should display a cone in its window). I'm not sure whether there's a
flaw in vtkFlRenderWindowInteractor::draw(). I'll try to find out. But
I'm not familiar with both Carbon and Cocoa, it will take some time.

Do you have other recommendation for bridging vtk and fltk?


On 9/15/07, Sean McBride <sean at rogue-research.com> wrote:
> On 9/15/07 1:28 AM, Feng Ding said:
>
> >I'm using VTK 5.0.3. vtkFlRenderWindowInteractor supports VTK 4.0 and
> >later, according to its README file. However, it does not mention
> >whether VTK should be built to use Cocoa or Carbon. I'll try to build
> >it to use Carbon, and update you later. Thanks.
>
> Well, if vtkFlRenderWindowInteractor is meant to work with VTK 5 using
> Cocoa, then I think it might have a bug in
> vtkFlRenderWindowInteractor::draw(), I'm not sure it is passing the
> right kind of object when it calls SetWindowId() and SetDisplayId().
> IIRC, SetWindowId() and SetDisplayId() changed meaning in VTK Cocoa
> between 4.x and 5.x.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>



More information about the vtkusers mailing list