<DIV>dear frens<BR>> as directed by you, i have tried reading a series of bmp files, but i am<BR>> unable to do so.<BR>> here is the code that i have used<BR>><BR>> # For 512 x 512 images foo1 to foo100<BR>><BR>> vtkBMPReader* bmp_d = vtkBMPReader::New();<BR>> bmp_d->SetFilePrefix ("c:/foo"); // base file prefix for a series<BR>> bmp_d->SetFilePattern ("%s%d.bmp");<BR>> bmpData->SetDataExtent (0,511,0,511,1,100);<BR>> vtkPolyDataMapper *mapper = vtkPolyDataMapper::New();<BR>> mapper->SetInput( (vtkPolyData*) bmp_d->GetOutput());<BR>> vtkRenderer* ren = vtkRenderer::New();<BR>> vtkRenderWindow* renwin = vtkRenderWindow::New();<BR>> renwin->AddRenderer (ren);<BR>> vtkActor* actor = vtkActor::New();<BR>> actor->SetMapper (mapper);<BR>> ren->AddActor (actor);<BR>> renwin->Render();<BR>></DIV>
<DIV> Is there some error in the pipeline that i have used.<BR>> Please suggest<BR>><BR>> Thanks for your help in advance<BR>> Megha<BR></DIV><p><font face=arial size=-1>
<a href="http://in.rd.yahoo.com/specials/mailtg/*http://pepsizone.yahoo.co.in/pepsi3/cktkipyaas/" target="_blank">
Win an evening</a> with the <b>Indian cricket captain</b>:
<a href="http://in.rd.yahoo.com/specials/mailtg2/*http://pepsizone.yahoo.co.in/pepsi3/cktkipyaas/" target="_blank">
Yahoo! India Promos</a>.</font>