<div dir="ltr">Connect the `reflectionFilter` to a `vtkSTLWriter` [1].<div><br></div><div>e.g</div><div><br></div><div>vtkNew<vtkSTLWriter> writer;</div><div>writer->SetInputConnection(reflectionFilter->GetOutputPort());</div><div>writer->SetFileName("/tmp/sample.stl");</div><div>writer->Write();</div><div><br></div><div>You may want to also call   `reflectionFilter->CopyInputOn()` on the filter if you want to have the original data along with its reflection in the STL file.</div><div><br></div><div>Utkarsh</div><div><br></div><div>[1] <a href="http://www.vtk.org/doc/nightly/html/classvtkSTLWriter.html">http://www.vtk.org/doc/nightly/html/classvtkSTLWriter.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 29, 2017 at 10:31 AM, guo7212 <span dir="ltr"><<a href="mailto:guo7212@163.com" target="_blank">guo7212@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
    In this example<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/Reflection" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/PolyData/<wbr>Reflection</a>,  could anyone<br>
tell me how to save the result as a STL file ?<br>
<br>
    Thanks !<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Save-reflection-result-as-STL-file-tp5743446.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Save-reflection-result-as-<wbr>STL-file-tp5743446.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>