<div>Hi,</div>
<div> </div>
<div>This is in regards with the interpolation of the data. I have one unstructured grid which stores the information of a finite elemental mesh. And one polydata coming from vtkDelaunay2D object. This polydata is being assinged some scalar values. Using these scalars information, I need to estimate the scalar values for the mesh point (Points in unstructured gird). I make use of vtkProbeFilter class. Here goes my code. </div>
<div> </div>
<div>vtkSmartPointer<vtkUnstructuredGrid> meshGrid = vtkSmartPointer<vtkUnstructuredGrid>::New();</div>
<div>... /* Assign points and cells to the mesh*/</div>
<div> </div>
<div>vtkSmartPointer<vtkPolyData> scatterDataGrid = del2D->GetOutput();</div>
<div> </div>
<div>vtkSmartPointer<vtkProbeFilter> prb = vtkSmartPointer<vtkProbeFilter>::New();</div>
<div>prb->SetInput(meshGrid);</div>
<div>prb->SetSource(scatterDataGrid);</div>
<div>prb->Update();</div>
<div> </div>
<div>My questions are,</div>
<div>1) Is my code correct?</div>
<div>2) If it is correct, how can I get the interpolated scalar values for the meshGrid points?</div>
<div> </div>
<div>Thanks in advance</div>
<div> </div>
<div>Regards</div>
<div>Rakesh Patil</div>