[vtkusers] octree visualization example

David Doria daviddoria+vtk at gmail.com
Mon Mar 29 16:44:20 EDT 2010


On Mon, Mar 29, 2010 at 2:40 PM, Francois Bertel <
francois.bertel at kitware.com> wrote:

> Hello,
>
> vtkHyperOctree is the class to represent a dataset as an octree.
> point/cell Locators are just spatial structure to speed-up search but
> there are not made to store datasets.
>
> For example, see VTK/Graphics/Testing/Cxx/TestHyperOctreeSurfaceFilter.cxx
>
> The source vtkHyperOctreeSampleFunction is used to create a
> vtkHyperOctree dataset from a sphere implicit function.
>
> vtkHyperOctreeSampleFunction is then plugged to a
> vtkHyperOctreeSurfaceFilter to display the outer bounding box of the
> octree.
>
>
Francois,

So can you load points/cells from a vtkPolyData into a vtkHyperOctree?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/2ae79882/attachment.htm>


More information about the vtkusers mailing list