animating large amount of cylindrical vectors

Jody Winston josephwinston at mac.com
Fri May 12 22:01:08 EDT 2000


pahsieh at usgs.gov writes:
 > 
 > > Well, I'm having problems with extracting extents.  When I extract
 > > some data using vtkStructuredGridGeometryFilter() and then try to
 > > display it, I only have points.  So, I thought to myself, why I need
 > 
 > I think the filter that you want is not vtkStructuredGridGeometryFilter,
 > but vtkExtractGrid.
 > 
 > Paul
 > 
 > 

That fixes my problem, thanks:

The code was changed to:

    grid = vtkExtractGrid()
    grid.SetInput(sgrid)
    grid.SetVOI(0, shots,
                0, shots,
                0, 4)
    mapper = vtkDataSetMapper()
    mapper.SetInput(grid.GetOutput())

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list