On 11.05.2011, at 13:11, ZeburRehman wrote:

> Hi everyone, I have have a little problem.I want to show a vtk console window 
> resulting from interactor->start(); in a Fl_Window. Plese can you tell me how 
> i can do it. Tell me the problem in following Program.

Did you try the example programs on their site?

http://vtkfltk.sourceforge.net/Examples/Simple2.html


>       //And MAGIC !!!!!!!
>       Interactor->Initialize();
>       Interactor->Start();
> 
> 
> 
>       win.show();
>       return(Fl::run());

First you need to show the window using win.show(argc, argv), the you need to 
call Start(). After that, Fl::run() should not be needed anymore if I 
understood VTK right.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to