[vtkusers] Display structured Grids

David Doria daviddoria+vtk at gmail.com
Wed Feb 17 12:31:06 EST 2010


On Wed, Feb 17, 2010 at 12:08 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Try:
> // .NAME vtkShrinkFilter - shrink cells composing an arbitrary data set
> // .SECTION Description
> // vtkShrinkFilter shrinks cells composing an arbitrary data set
> // towards their centroid. The centroid of a cell is computed as the
> // average position of the cell points. Shrinking results in
> // disconnecting the cells from one another. The output of this filter
> // is of general dataset type vtkUnstructuredGrid.
>
> You will be able to see the individual cells.

Good idea Bill. Sebastian, I think this is what you're trying to do:
http://www.vtk.org/Wiki/VTK/Examples/VisualizeStructuredGridCells

Thanks,

David



More information about the vtkusers mailing list