<html><div style='background-color:'><DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I read in data from a file (the file is really just an array of numbers) and use this to create vtkImageData..</DIV>
<DIV>Then I use vtkImageViewer to render this data..</DIV>
<DIV>pretty simple..</DIV>
<DIV> </DIV>
<DIV>The data is actually a graph, with the x-axis being time..</DIV>
<DIV> </DIV>
<DIV>Now I just want to show this graph in a kind of animation.. sort of like you can see the graph being drawn out on the screen wiht respect to time </DIV>
<DIV> </DIV>
<DIV>so i created a loop which contained Imageviewer->Render() so that the first time it renders, you see only upto time=1. The second time it renders, you see upto time = 2. The third time, u see upto time=3.. etc.. Sort of like the graph is being drawn out..</DIV>
<DIV> </DIV>
<DIV>but it doesnt work. </DIV>
<DIV> </DIV>
<DIV>It doesnt seem to be updating or i'm not really sure wat its doing.. i just see a single line (seems liek a single time point) so i dont relaly know wat the heck thats doing there...</DIV>
<DIV> </DIV>
<DIV>I guess its not possible to use just a loop that keeps updating the imageData and then rendering repeatedly..??</DIV>
<DIV>I read something about saving images and then combingin these images to make the frames??</DIV>
<DIV> </DIV>
<DIV>But I couldnt find any examples in C++ describing how to do this (i'm using VC++) - so if anyone can point me in the right direction of how to create this kind of animation - that would be super - an example especially would be super - or if u know whether it is possible using jsut a loop that keeps updating the imageData and rendering (which is wat i'm trying)..???</DIV>
<DIV> </DIV>
<DIV>Thank u for ur help............</DIV>
<DIV> </DIV>
<DIV>-vtkNewbie</DIV>
<DIV> </DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2731??PS=">Surf and talk on the phone at the same time with broadband Internet access. Get high-speed for as low as $29.95/month.* <br></a> *Depending on the local service providers in your area.</html>