vtkFlRenderWindowInteractor

vtkFlRenderWindowInteractor is a VTK class (actually FLTK too, but it helps to think of it as VTK) that enables VTK to render to and interact with your FLTK application. It is based on code by David Pont (the code was then called FlvtkInteractorWindow) which in its turn was partly based on the wxVTK code by David D. Marshall and Brian Todd. I reworked the code extensively to be simpler, more robust and bug-free(tm). It should always be available from http://cpbotha.net/vtkFlRenderWindowInteractor.html .

The main idea behind this class is to be as simple and robust as possible. It fulfils one purpose and that’s to enable you to write applications with FLTK and VTK. It is possible to have multiple VTK renderings (all active) in your FLTK application, each with its own independent working VTK interactorstyle. You can also add custom interactorstyles, just like with any standard VTK interactor. Picking also works fine, thank you.

This code has been successfully tested on Linux, Irix, Windows and many of the other platforms supported by ITK, as the vtkFlRWI is extensively used in the InsightApplications component of ITK.

Downloads

The current version is 1.02. You can download a source and example tarball by clicking here{.external}. Read the changelog for a detailed description of changes.

The vtkFlRenderWindowInteractor project development is hosted by Google Code.  Go to our project page to checkout the latest development source or to file a bug!