[vtkusers] About Structured Points

Amy Squillacote amy.squillacote at kitware.com
Tue Oct 11 08:34:04 EDT 2005


At 04:01 AM 10/11/2005, =?gb2312?B?yrcg1Ma1zw==?= wrote:
>I've just began on VTK, so my questions may sound very silly:)
>
>For structured points read from a .vtk file, how to convert them to 
>polydata? I tried to use vtkStructuredPointsToPolyDataFilter which I 
>found on the book, but ther is always an error saying it's illegal 
>command. :( Any one any idea what filter to use?

vtkStructuredPointsToPolyDataFilter is an abstract class; you cannot 
create an instance of it.  Instead you might try 
vtkImageToPolyDataFilter, vtkImageDataGeometryFilter, or one of the 
contour filters (e.g., vtkContourFilter).

- Amy




More information about the vtkusers mailing list