Hi Eschenberg and Amy,<br><br>I thanks speed response. I found it in the docs along with a sample so I'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 <<a href="mailto:ahs@cfdrc.com">ahs@cfdrc.com</a>> 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'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>
> You probably have some variable that indicates whether you want to<br>
> display the box. Lets call it x where 1/0 means show/don't show. There<br>
> is a filter called "Threshold" in ParaView (don't know its real name)<br>
> that can select cells based on some variable. Use it with a threshold<br>
> of x >= 0.5. Then use vtkDataSetSurfaceFilter to show the outer<br>
> surface of threshold's output. It will draw only the "outer surface"<br>
> and so avoid interior boundaries.<br>
><br>
> Kent<br>
> Pittsburgh Supercomputer Center<br>
><br>
> Freyr Magnússon wrote:<br>
>> Hi,<br>
>><br>
>> I have a project where I'm visualizing occupied areas in a 3d grid.<br>
>> Currently I'm rendering a box for each cell occupied for lack of<br>
>> better ideas.<br>
>><br>
>> The question are:<br>
>><br>
>> is there a better known way to render the grid?<br>
>><br>
>> if not is there a way to merge adjacent cubes to form a single shape<br>
>> and remove the unnecessary internal geometry that will never be<br>
>> rendered anyway?<br>
>><br>
>><br>
>> regards,<br>
>> Freyr<br>
</div></div>> _______________________________________________<br>
> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>
><br>
<font color="#888888"><br>
--<br>
Amy Squillacote Phone: (256) 726-4839<br>
Computer Scientist Fax: (256) 726-4806<br>
CFD Research Corporation Web: <a href="http://www.cfdrc.com" target="_blank">http://www.cfdrc.com</a><br>
215 Wynn Drive, Suite 501<br>
Huntsville, AL 35805<br>
<br>
<br>
</font></blockquote></div><br>