<div class="gmail_quote">On Mon, Mar 22, 2010 at 10:52 AM, Anders Wallin <span dir="ltr"><<a href="mailto:anders.e.e.wallin@gmail.com">anders.e.e.wallin@gmail.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>
I want to represent solid (complicated) objects with an octree (which<br>
can be refined to the desired level).<br>
<br>
Is there a minimal VTK-example which shows how to visualize an octree?<br>
Could I write my own octree class and have it interface with<br>
vtkHyperOctreeSurfaceFilter which produces polydata for rendering?<br>
<br>
thanks,<br>
AW<br><br></blockquote><div class="gmail_quote"><br></div>Anders,</div><div class="gmail_quote"><br></div><div class="gmail_quote">The vtkCellLocator and vtkPointLocator classes are the VTK octrees.</div><div class="gmail_quote">
<br>Here is an example of how to visualize it:</div><div class="gmail_quote"><a href="http://www.vtk.org/Wiki/VTK/Examples/PointLocatorVisualization">http://www.vtk.org/Wiki/VTK/Examples/PointLocatorVisualization</a></div>
<div class="gmail_quote"><br>Thanks,<br><br><div>David </div></div>