<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. So I'm trying to make use of vtkXMLImageDataWriter and read through its library details. I noticed they had a test file which I used it's few lines of writing out a file. Such as...<br><br> //WRITER - Save the result of the filter in a file<br> vtkXMLImageDataWriter *writer = vtkXMLImageDataWriter::New();<br> writer->SetInputConnection(vtkPolyDataMapper::skinMapper->GetOutputPort());<br> writer->SetFileName("image.vti");<br> writer->SetDataModeToBinary();<br> writer->Write();<br> writer->Delete();<br><br>My problem is when I run the program I don't have an image.vti file anywhere. I've scanned through my computer a few times but nothing comes up. What are some possible problems why it doesn't run? Also where would it write my file to? Can I set my directory location within the argument of SetFileName() function? 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>