[vtkusers] Display structured Grids

Bill Lorensen bill.lorensen at gmail.com
Wed Feb 17 14:13:06 EST 2010


I cleaned it a bit. No need for the surface filter. Use a
DataSetMapper instead of a PolyDataMapper.

On Wed, Feb 17, 2010 at 12:31 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list