<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2726.2500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hey VTK'ers,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> So, I've got some code that I'm
working on that can stream an MPEG movie from a running VTK application...
my current problem is that I trigger the encoding of a frame based on the
EndEvent of the render window. When using this with a
vtkRenderWindowInteractor... the EndEvent is only called when something
(camera, data, filters, etc...) changes... this makes good sense...
Unfortunately, in my case this means that my MPEG stream stalls... and some
players don't like this :) </FONT></DIV>
<DIV><FONT face=Arial size=2> So my question is this... is
there a way to force the vtkRenderWindowInteractor to render continuously? or is
there a way to set a timer inside the interactor's Start() method that can call
my MPEG encoding stuff at some predefined time interval not dependant on
rendering? I seem to remember way back in the day that
vtkRenderWindowInteractor had an Idle() method... but I see that this has gone
away :) Does anyone have any suggestions?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Rob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Robert Stein<BR>Senior Technical Lead<BR>Indiana
Pervasive Technology Labs<BR><A
href="mailto:rjstein@iu.edu">rjstein@iu.edu</A> - (317)
278-8154</FONT></DIV></BODY></HTML>