[vtkusers] re:How can I modify an vtkImageData manually?

Yixun Liu yxliu at fudan.edu.cn
Mon Aug 21 21:19:41 EDT 2006


Hi,

change your for loop to 
for(int k=0;k<360;k++){

  renWin->Render();

  ren1->GetActiveCamera()->Azimuth( 1 );
     for(int j=0;j<dims[0]*dims[1]*dims[2];j++){
     f[j]+=10;
      }

 t->Modified();

}

Cheers,

Yixun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060822/73f11d24/attachment.htm>


More information about the vtkusers mailing list