[vtkusers] vtkContourGrid problems

Kevin H. Hobbs hobbsk at ohiou.edu
Mon Jun 19 15:46:15 EDT 2006


On Mon, 2006-06-19 at 12:24 -0700, Aaron Cois wrote:
> I'm trying to use a vtkContourGrid to calculate the contour of a
> vtkUnstructuredGrid for surface visualization.  I have been able to
> visualize my grid as a point cloud using a standard mapper/actor
> setup, so I know there is correct data in the grid.  However, when I
> try to pass it into my vtkContourGrid, I get an error indicating that
> there is "No data to contour".  My code basically looks like this:

From the documentation it looks like ContourGrid requires cells to
produce a contour. You are giving it only points. The best luck I've had
producing a contour from a point cloud was with the vtkImplicitModeller.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060619/719bdad6/attachment.pgp>


More information about the vtkusers mailing list