[vtkusers] octree visualization example

David Doria daviddoria+vtk at gmail.com
Mon Mar 22 11:19:21 EDT 2010


On Mon, Mar 22, 2010 at 10:52 AM, Anders Wallin <anders.e.e.wallin at gmail.com
> wrote:

> Hi all,
> I want to represent solid (complicated) objects with an octree (which
> can be refined to the desired level).
>
> Is there a minimal VTK-example which shows how to visualize an octree?
> Could I write my own octree class and have it interface with
> vtkHyperOctreeSurfaceFilter which produces polydata for rendering?
>
> thanks,
> AW
>
>
Anders,

The vtkCellLocator and vtkPointLocator classes are the VTK octrees.

Here is an example of how to visualize it:
http://www.vtk.org/Wiki/VTK/Examples/PointLocatorVisualization

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100322/6a32dfec/attachment.htm>


More information about the vtkusers mailing list