<br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 2:57 PM, Ben Medina <span dir="ltr">&lt;<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks, it works perfectly when<br>
vtkMapper::SetResolveCoincidentTopologyToPolygonOffset is called. Do<br>
you have an idea of what kind of performance hit is involved with<br>
this?<br>
<br></blockquote><div>No idea. :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Also, I was unaware of the EdgeVisibility on the property. Is there a<br>
way to get it to render just the edges, and not the cells (like set<br>
SurfaceVisibilityOff())?<br>
<br></blockquote><div>If you just want to see the edges and not the cells, use property-&gt;<span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;, Verdana, Geneva, Arial, sans-serif; font-size: 12px; "><a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkProperty.html#a2a4bdf2f46dc499ead4011024eddde5c" style="color: rgb(21, 55, 136); font-weight: bold; text-decoration: none; ">SetRepresentationToWireframe</a> ()</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;, Verdana, Geneva, Arial, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: arial; font-size: small; "><br></span></span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;, Verdana, Geneva, Arial, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: arial; font-size: small; ">- Wes </span></span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks,<br>
<font color="#888888">Ben<br>
</font><div><div></div><div class="h5"><br>
On Thu, Feb 25, 2010 at 10:42 AM, Wes Turner &lt;<a href="mailto:wes.turner@kitware.com">wes.turner@kitware.com</a>&gt; wrote:<br>
&gt; Use SetResolveCoincidentTopology from the mapper.<br>
&gt; <a href="http://www.vtk.org/doc/nightly/html/classvtkMapper.html#aa2ea475413fed0b45566e33cc9f659e8" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkMapper.html#aa2ea475413fed0b45566e33cc9f659e8</a><br>
&gt; If you just want to see the edges and not extract them into a separate<br>
&gt; actor, you can also turn display of the edges by turning on the<br>
&gt; EdgeVisibility<br>
&gt;<br>
&gt; <a href="http://www.vtk.org/doc/nightly/html/classvtkProperty.html#a7cbadce1d984207ccabe3e75e63f11e4" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkProperty.html#a7cbadce1d984207ccabe3e75e63f11e4</a><br>

&gt; i.e. actor-&gt;GetProperty()-&gt;EdgeVisibilityOn()<br>
&gt;<br>
&gt; - Wes<br>
&gt;<br>
&gt; On Thu, Feb 25, 2010 at 12:44 PM, Ben Medina &lt;<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello all,<br>
&gt;&gt;<br>
&gt;&gt; I have a structured grid, and I want to plot a surface contour with<br>
&gt;&gt; overlaid grid lines. To get the surface, I have a pipeline like this:<br>
&gt;&gt; surface grid -&gt; vtkGeometryFilter -&gt; vtkPolyDataMapper -&gt; vtkActor<br>
&gt;&gt;<br>
&gt;&gt; To get the grid lines, I take the output of the geometry filter and<br>
&gt;&gt; extract edges:<br>
&gt;&gt; vtkGeometryFilter -&gt; vtkExtractEdges-&gt; vtkPolyDataMapper -&gt; vtkActor<br>
&gt;&gt;<br>
&gt;&gt; However, the rendering of the lines clips the surface, leading to poor<br>
&gt;&gt; output as in the attached image. How can I lift the lines off the<br>
&gt;&gt; surface to get correct rendering?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Ben<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Wesley D. Turner, Ph.D.<br>
&gt; Kitware, Inc.<br>
&gt; Technical Leader<br>
&gt; 28 Corporate Drive<br>
&gt; Clifton Park, NY 12065-8662<br>
&gt; Phone: 518-881-4920<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>