[vtkusers] how to view vtkpolydata in FLTK windows?

Charl P. Botha cpbotha at gmail.com
Thu Jan 27 05:56:00 EST 2005


On Wed, 26 Jan 2005 19:07:54 -0000, Yang, Yuhui
<yuhui.yang at imperial.ac.uk> wrote:
> Hi, I am trying to build an interface using FLTK, and I want to view
> vtkpolydata in the interface. 
> I need to use the Fl_Value_Slider to change the data so that the vtk data
> can be changed, how to connect the slider and the vtk pineline? I want to
> view the changes. 

There are quite a few C++ classes enabling you to do this... two which
come up quite often are:
http://vtkfltk.sourceforge.net/ by Sean McInerney (also on this list)
and
http://cpbotha.net/vtkFlRenderWindowInteractor.html by me

Download both, read the documentation, play with the examples.

Good luck,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list