<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello all,<br>in my project I'm creating volume from 2D medical images (CT).<br>the porblem that i want you help me to resolve is that after changing properties of the vtkVolume such as Interpolation, colorFunction , I have to render the iren ( or the windowRender) to apply changes and while rendering the user is waiting and don't know when it's finishing and if it's and endless loop, so is ther something whitch indicates me the progression of the rendering to make a progress updated or show it in a textActor?<br>thank you for your help.<br>this is a&nbsp; part of my source code showin how I proceed :<br><br><font size="2">rndr3D = vtkRenderer::New(); <br>GetRenderWindow()-&gt;AddRenderer(rndr3D);<br>iren = vtkRenderWindowInteractor::New();<br>intrctrStl = CIntrctrStlTrckBll::New(); //
 ih=nheritence from vtkInteractorStyleTrackballCamera<br>&nbsp; iren-&gt;SetInteractorStyle(intrctrStl);<br>&nbsp; iren-&gt;SetRenderWindow(GetRenderWindow());<br>tfun = vtkPiecewiseFunction::New();<br>....<br>ctfun = vtkColorTransferFunction::New();<br>....<br>vlmPrprt = vtkVolumeProperty::New();<br>.....<br>cmpstFnctn = vtkVolumeRayCastCompositeFunction::New();<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;vlmMppr = vtkVolumeRayCastMapper::New();<br>&nbsp;vlmMppr-&gt;SetInput(reader);<br>&nbsp;vlmMppr-&gt;SetVolumeRayCastFunction(cmpstFnctn);<br>&nbsp;vlmMppr-&gt;SetBlendModeToMaximumIntensity();<br>vlm = vtkVolume::New();<br>vlm-&gt;SetMapper(vlmMppr);<br>vlm-&gt;SetProperty(vlmPrprt);<br><br>aCamera=vtkCamera::New();<br><br>rndr3D-&gt;AddVolume(vlm);<br>&nbsp;rndr3D-&gt;SetActiveCamera(aCamera);<br>&nbsp;rndr3D-&gt;ResetCamera();<br><br><span style="color: rgb(64, 64, 255);">//Rendering :</span><br>iren-&gt;Render();<br><br></font></div></div><br>



      <hr size="1"> 
Ne gardez plus qu'une seule adresse mail ! <a href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/SIG=11gshn0bu/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-fr%2F">Copiez vos mails</a> vers Yahoo! Mail </body></html>