<div dir="ltr">I'ld investigate by inserting a writer in the pipeline before the mapper, saving out the mesh and then opening up the file in ParaView. With selection and the spreadsheet view you should be able to diagnose what is going on in the twisted segments.<div>
<br></div><div>cheers</div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 3:53 PM, Doug Hoppes <span dir="ltr"><<a href="mailto:dhoppes@mbfbioscience.com" target="_blank">dhoppes@mbfbioscience.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> Got a weird problem. I have a surface where I’m seeing this odd twisting. The code looks like:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">-------------------------------<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:"Courier New""><<span style="color:#010001">vtkAppendPolyData</span>>
<span style="color:#010001">pBranchData</span> = <span style="color:#010001">GetSurfacePolyData</span>();<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:"Courier New""><<span style="color:#010001">vtkPolyDataMapper</span>>
<span style="color:#010001">pMapper</span> = <span style="color:#010001">vtkSmartPointer</span><<span style="color:#010001">vtkPolyDataMapper</span>>::<span style="color:#010001">New</span>();<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">pMapper</span><span style="font-size:10.0pt;font-family:"Courier New"">-><span style="color:#010001">SetInputConnection</span>(<span style="color:#010001">pBranchData</span>
-><span style="color:#010001">GetOutputPort</span>());<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">pMapper</span><span style="font-size:10.0pt;font-family:"Courier New"">-><span style="color:#010001">ScalarVisibilityOff</span>();<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">m_pSurfaceActor</span><span style="font-size:10.0pt;font-family:"Courier New""> =
<span style="color:#010001">vtkSmartPointer</span><<span style="color:#010001">vtkActor</span>>::<span style="color:#010001">New</span>();<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:#010001">m_pSurfaceActor</span><span style="font-size:10.0pt;font-family:"Courier New"">-><span style="color:#010001">SetMapper</span>(<span style="color:#010001">pMapper</span>);<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">m_pRenderer-><span style="color:#010001">AddViewProp(m_pSurfaceActor);</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New"">-------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any idea what would cause this type of issue?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u><img width="216" height="432" src="cid:image008.png@01CF57F9.948374B0"><span class="HOEnZb"><font color="#888888"><u></u><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040">Doug</span></b><u></u><u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>