<div><div class="gmail_quote">On Mon, Mar 29, 2010 at 2:40 PM, Francois Bertel <span dir="ltr">&lt;<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
vtkHyperOctree is the class to represent a dataset as an octree.<br>
point/cell Locators are just spatial structure to speed-up search but<br>
there are not made to store datasets.<br>
<br>
For example, see VTK/Graphics/Testing/Cxx/TestHyperOctreeSurfaceFilter.cxx<br>
<br>
The source vtkHyperOctreeSampleFunction is used to create a<br>
vtkHyperOctree dataset from a sphere implicit function.<br>
<br>
vtkHyperOctreeSampleFunction is then plugged to a<br>
vtkHyperOctreeSurfaceFilter to display the outer bounding box of the<br>
octree.<br><br></blockquote><div class="gmail_quote"><br></div>Francois,<div><br></div><div>So can you load points/cells from a vtkPolyData into a vtkHyperOctree?</div><div><br clear="all">Thanks,<br><br></div><div>David </div>
</div></div>