<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all vtk users.</DIV>
<DIV>I have many VRML images. When i save one of those images&nbsp;as a VTP file and i display it, i always have a 'blue' data (i join here the code i use)</DIV>
<DIV>I want to know if thers is a wrong thing which gives me such output.</DIV>
<DIV>Thank you so much</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkVRMLImporter *vrml = vtkVRMLImporter::New();<BR>vrml-&gt;SetRenderWindow(myRenderWindow);<BR>vrml-&gt;SetFileName(fileName.wrl);<BR>vrml-&gt;Update();<BR>myRenderWindow-&gt;Render();<BR>&nbsp;<BR>vtkDataSet *object;<BR>vtkActorCollection *actor = Afficher-&gt;GetActors();<BR>actor-&gt;InitTraversal();<BR>object = actor-&gt;GetNextActor()-&gt;GetMapper()-&gt;GetInput();<BR>&nbsp;<BR>//&nbsp;Save the data as a VTP file<BR>vtkXMLPolyDataWriter *vtpObject = vtkXMLPolyDataWriter::New();<BR>vtpObject-&gt;SetInput(object);<BR>vtpObject-&gt;SetFileName(vtpFile);<BR>vtpObject-&gt;SetDataModeToAscii();<BR>vtpObject-&gt;Write();<BR>vtpObject-&gt;Delete();</DIV></td></tr></table><br>



      <hr size="1"> 
Ne pleurez pas si votre Webmail ferme. <a href="http://fr.rd.yahoo.com/mail_fr/taglines/caramail/*http://fr.docs.yahoo.com/mail/transfert_mails.html">Récupérez votre historique sur Yahoo! Mail</a>