<div>
Hi All,
</div><div><br></div><div>I am new to VTK and I am trying to get the values of a mesh at a given contour/isosurface.</div><div><br></div><div>I am getting the contours using the following</div><div><br></div><div><div>vtkSmartPointer<vtkCutter> cutter = vtkSmartPointer<vtkCutter>::New();</div><div> cutter->SetCutFunction(plane);</div><div> cutter->SetGenerateCutScalars(1);</div><div>#if VTK_MAJOR_VERSION <= 5</div><div> cutter->SetInput(inputPolyData);</div><div>#else</div><div> cutter->SetInputData(inputPolyData);</div><div>#endif</div><div> cutter->GenerateValues(20, -distanceMin, distanceMax);</div><div> vtkSmartPointer<vtkPolyDataMapper> cutterMapper = vtkSmartPointer<vtkPolyDataMapper>::New();</div><div> cutterMapper->SetInputConnection( cutter->GetOutputPort());</div><div> cutterMapper->ScalarVisibilityOff();</div></div>
<div><div><br></div><div><br></div><div>But now I want to store the (x,y,z) positions of the mesh surface along each contour to an array of points. How can I do this? Is there any implemented utility to do this?</div><div><br></div><div>thanks,</div><div><br></div><div><br></div><div>billy</div><div><br></div></div>