[vtkusers] Mesh from 3-D distance field in octree

Simon Perreault nomis80 at nomis80.org
Fri Mar 23 15:53:09 EDT 2007


Hi,

I made an octree class and I use it to contain a distance field. I want to use 
VTK to compute a mesh of an isosurface of this distance field. Here's how I 
intend to do this:

1) Make my octree a subclass of vtkDataSet.
2) Connect the octree to the vtkMarchingCubes class with GetOutput / SetInput.

Is this right? Which particular subclass of vtkDataSet should I use as base 
for my octree? Any hints?

Thanks



More information about the vtkusers mailing list