<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv734455344>
<DIV>Hi all vtk users.</DIV>
<DIV>I make the 3D reconstruction of a human skull and i want to use VolView to create an AVi file for this volume. The problem is that i saved my volume like this:</DIV>
<DIV>vtkXMLPolyDataWriter *vtkObject = vtkXMLPolyDataWriter::New();<BR>vtkObject ->SetInput(v16->GetOutput());<BR>vtkObject ->SetFileName("C:/Skull.vtk");</DIV>
<DIV>vtkObject ->SetDataModeToAscii();<BR>vtkObject ->Write();<BR>vtkObject ->Delete();</DIV>
<DIV> </DIV>
<DIV>When i try to open "Skull.vtk" usin VolView, i have this error message "The VTK file specified is either invalid or not a structured points data file.Of the different data types that vtk files can contain, only structured points is suitable for volume rendering."</DIV>
<DIV> </DIV>
<DIV>So, the problem is taht my volume is not saved as a structures points data file.</DIV>
<DIV> </DIV>
<DIV>Can you help me and tell me how to convert the skull volume saved as "Skull.vtk" into structured points data file?</DIV>
<DIV> </DIV>
<DIV>Thank yous so much</DIV></DIV></td></tr></table><br>