[vtkusers] Using vtkFlRenderWindowInteractor
shrinivas kulkarni
kshrinivas at hotmail.com
Wed Dec 3 01:19:00 EST 2003
Thanks Charl.
I was able to use your vtkFlRenderWindowInteractor with FLTK2.0. Only
changes I need to made were:
#include <FLTK/win32.H>
TO
#include <FLTK/x.H>
and
RenderWindow->SetWindowId( (void *)fl_xid( this ) );
TO
RenderWindow->SetWindowId( (void *)fltk::CreatedWindow::find(this)->xid);
After these changes I was able to use your code with FLTK 2.0.
Cheers!
Shrinivas
>From: "Charl P. Botha" <c.p.botha at ewi.tudelft.nl>
>To: shrinivas kulkarni <kshrinivas at hotmail.com>
>CC: VTK List <vtkusers at vtk.org>
>Subject: Re: [vtkusers] Using vtkFlRenderWindowInteractor
>Date: 02 Dec 2003 15:01:46 +0100
>
>On Tue, 2003-12-02 at 12:47, shrinivas kulkarni wrote:
> > I am trying to use vtkFlRenderWindowInteractor by Charl P. Botha with
>FLTK
> > 2.0( CVS) and VTK4.2
> > But when I try to compile this class it gives me error "error C2065:
> > 'fl_xid' : undeclared identifier".
> >
> > Can't I use this class with FLTK 2.0? or I need to do some tricks to
>this
> > code to make it work.
> >
> > Either help on this or any suggestion on how to use FLTK with VTk on
>windows
> > platform will be appreciated.
>
>FLTK 2.0 is still in development and is therefore not supported yet by
>vtkFlRenderWindowInteractor. You could also _try_ vtkfltk by Sean
>McInerney[1]. According to documentation, it also supports up to FLTK
>1.1.x, but you never know.
>
>My advice would be to use FLTK 1.1.x (the latest STABLE release) with
>either my or Sean's packages.
>
>Good luck,
>Charl
>
>--
>charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
_________________________________________________________________
Contact brides & grooms FREE! Only on www.shaadi.com.
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!
More information about the vtkusers
mailing list