[vtkusers] Want: Data Set keeps updating on render window

Max smapersmaper at gmail.com
Mon Sep 9 08:27:21 EDT 2013


Hi Chao,
Maybe it can be done with a timer:

                vtkRenderWindowInteractor interactor =
renderer.GetRenderWindow().GetInteractor();
                interactor.Initialize();

                timerIndex = interactor.CreateRepeatingTimer(100);

                interactor.TimerEvt += new
vtkObject.vtkObjectEventHandler(interactorTimerEvt);

        public void interactorTimerEvt(vtkObject sender, vtkObjectEventArgs
e)
        {
             //clear previous or whatever you want mesh

             //add whatever mesh you want
        }


Max



--
View this message in context: http://vtk.1045678.n5.nabble.com/Want-Data-Set-keeps-updating-on-render-window-tp5723305p5723337.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list