Hi Eschenberg and Amy,<br><br>I thanks speed response.&nbsp; I found it in the docs along with a sample so I&#39;m pretty happy<br><br>many thanks.<br><br>regards,<br>Freyr<br><br><div class="gmail_quote">On Fri, Mar 7, 2008 at 6:35 PM, Amy Squillacote &lt;<a href="mailto:ahs@cfdrc.com">ahs@cfdrc.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The real name of the filter is vtkThreshold. It&#39;s in the vtkGraphics<br>
library. The on-line documentation for vtkThreshold is here:<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkThreshold.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkThreshold.html</a>.<br>
<br>
- Amy<br>
<div><div></div><div class="Wj3C7c"><br>
Kent Eschenberg wrote:<br>
&gt; You probably have some variable that indicates whether you want to<br>
&gt; display the box. Lets call it x where 1/0 means show/don&#39;t show. There<br>
&gt; is a filter called &quot;Threshold&quot; in ParaView (don&#39;t know its real name)<br>
&gt; that can select cells based on some variable. Use it with a threshold<br>
&gt; of x &gt;= 0.5. Then use vtkDataSetSurfaceFilter to show the outer<br>
&gt; surface of threshold&#39;s output. It will draw only the &quot;outer surface&quot;<br>
&gt; and so avoid interior boundaries.<br>
&gt;<br>
&gt; Kent<br>
&gt; Pittsburgh Supercomputer Center<br>
&gt;<br>
&gt; Freyr Magnússon wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I have a project where I&#39;m visualizing occupied areas in a 3d grid.<br>
&gt;&gt; Currently I&#39;m rendering a box for each cell occupied for lack of<br>
&gt;&gt; better ideas.<br>
&gt;&gt;<br>
&gt;&gt; The question are:<br>
&gt;&gt;<br>
&gt;&gt; is there a better known way to render the grid?<br>
&gt;&gt;<br>
&gt;&gt; if not is there a way to merge adjacent cubes to form a single shape<br>
&gt;&gt; and remove the unnecessary internal geometry that will never be<br>
&gt;&gt; rendered anyway?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; regards,<br>
&gt;&gt; Freyr<br>
</div></div>&gt; _______________________________________________<br>
&gt; This is the private VTK discussion list.<br>
&gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
--<br>
Amy Squillacote &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Phone: (256) 726-4839<br>
Computer Scientist &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fax: (256) 726-4806<br>
CFD Research Corporation &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Web: <a href="http://www.cfdrc.com" target="_blank">http://www.cfdrc.com</a><br>
215 Wynn Drive, Suite 501<br>
Huntsville, AL &nbsp;35805<br>
<br>
<br>
</font></blockquote></div><br>