[vtkusers] Is there a filter to transform PointData to CellData?Thanks.

Jeffrey Meng mengjinjie at gmail.com
Tue Mar 29 17:06:35 EST 2005


Thanks, I didn't realize it's so obvious. : )


On Wed, 30 Mar 2005 00:03:23 +0200, John Biddiscombe
<jbiddiscombe at bluewin.ch> wrote:
> There is a class that is named after your question.
> 
> // .NAME vtkPointDataToCellData - map point data to cell data
> // .SECTION Description
> // vtkPointDataToCellData is a filter that transforms point data (i.e., data
> // specified per point) into cell data (i.e., data specified per cell).
> // The method of transformation is based on averaging the data
> // values of all points defining a particular cell. Optionally, the input
> point
> // data can be passed through to the output as well.
> 
> // .SECTION Caveats
> // This filter is an abstract filter, that is, the output is an abstract
> type
> // (i.e., vtkDataSet). Use the convenience methods (e.g.,
> // vtkGetPolyDataOutput(), GetStructuredPointsOutput(), etc.) to get the
> type
> // of output you want.
> 
> // .SECTION See Also
> // vtkPointData vtkCellData vtkCellDataToPointData
> 
> ----- Original Message -----
> From: "Jeffrey Meng" <mengjinjie at gmail.com>
> To: <vtkusers at vtk.org>
> Sent: Tuesday, March 29, 2005 11:51 PM
> Subject: [vtkusers] Is there a filter to transform PointData to
> CellData?Thanks.
> 
> > (As the subject)
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the 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