<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I'm currently trying to make use of Paraview program but I need a *.vti type file.&nbsp; So I'm trying to make use of vtkXMLImageDataWriter and read through its library details.&nbsp; I noticed they had a test file which I used it's few lines of writing out a file.&nbsp; Such as...<br><br>&nbsp;&nbsp;&nbsp; //WRITER - Save the result of the filter in a file<br>&nbsp;&nbsp;&nbsp; vtkXMLImageDataWriter *writer = vtkXMLImageDataWriter::New();<br>&nbsp;&nbsp;&nbsp; writer-&gt;SetInputConnection(vtkPolyDataMapper::skinMapper-&gt;GetOutputPort());<br>&nbsp;&nbsp;&nbsp; writer-&gt;SetFileName("image.vti");<br>&nbsp;&nbsp;&nbsp; writer-&gt;SetDataModeToBinary();<br>&nbsp;&nbsp;&nbsp; writer-&gt;Write();<br>&nbsp;&nbsp;&nbsp; writer-&gt;Delete();<br><br>My problem is when I run the program I don't have an image.vti file anywhere.&nbsp; I've scanned through my computer a few times but nothing comes up.&nbsp; What are some possible problems why it doesn't run?&nbsp; Also where would it write my file to?&nbsp; Can I set my directory location within the argument of SetFileName() function?&nbsp; Thanks<br><br>Chris<br><br /><hr />HotmailŪ goes with you.  <a href='http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009' target='_new'>Get it on your BlackBerry or iPhone.</a></body>
</html>