<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">In my program I am sending the result of a vtkContourFilter through to this....<br><br>&nbsp;&nbsp;&nbsp; vtkPolyDataWriter *fileWriter = vtkPolyDataWriter::New();<br>&nbsp;&nbsp;&nbsp; fileWriter-&gt;SetInput(contour-&gt;GetOutput());<br>&nbsp;&nbsp;&nbsp; fileWriter-&gt;SetFileName("outputVTK.vtk");<br>&nbsp;&nbsp;&nbsp; fileWriter-&gt;SetFileTypeToASCII(); <br>&nbsp;&nbsp;&nbsp; fileWriter-&gt;Update();<br><br><br>Maybe there are functions to get the contour of a vtkActor. Not sure.<br><br>Hope that helps a bit,<br>Cameron.<br></div><br><div></div><br><br><hr id="stopSpelling">&gt; From: boolegue@gmail.com<br>&gt; To: vtkusers@vtk.org<br>&gt; Date: Mon, 2 Jun 2008 11:12:14 -0600<br>&gt; Subject: [vtkusers] vtkActor to file<br>&gt; <br>&gt; Hello,<br>&gt; How could I save a vtkActor to a vtp file ?<br>&gt; <br>&gt; Thanks,<br>&gt; Antoine.<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list.<br>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br><br /><hr />Email Australia. <a href='http://emailaustralia.ninemsn.com.au' target='_new'>Be part of history. Take part in Australia's first e-mail archive with </a></body>
</html>