MantisBT - VTK
View Issue Details
0003547VTK(No Category)public2006-07-25 11:592016-08-12 09:54
Joel Schaerer 
Berk Geveci 
lowmajoralways
closedmoved 
 
 
0003547: Render() breaks interactor
It seems that calling the Render() method on a vtkRenderWindow before
starting an interactor on a the same window breaks the interactor. Here
is a minimal example:


---- begin code -----
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>

int main()
{
        vtkRenderWindow * renwin = vtkRenderWindow::New();
        //renwin->Render(); /*If line is not commented, interactor doesn't
work!!! */
        vtkRenderWindowInteractor * i = vtkRenderWindowInteractor::New();
        i->SetRenderWindow(renwin);
        i->Start();
}
---- end code -----

without the call to Render(), the interactor works, ie. the 'q' key
works, for example. If I uncomment the line, the interactor doesn't work
at all.
I'm using vtk-4.5.0-0.cvs20040114.2 (creatis version), on a linux machine.
No tags attached.
Issue History
2008-02-06 10:56Jeff BaumesAssigned ToMathieu Malaterre => Berk Geveci
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036880
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036880)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.