[vtkusers] Get individual points from vtkSphereSource

David Doria daviddoria at gmail.com
Mon Feb 25 08:20:05 EST 2013

On Fri, Feb 22, 2013 at 4:13 PM, Berkowitz, Benjamin M
<benjamin-berkowitz at uiowa.edu> wrote:
> I created a sphere source, and I need to get the locations of that sphere's individual surface mesh points.  Since this isn't a conventional polydata, is that possible?
> Thanks,
> Ben


vtkSphereSource::GetOutput() returns a vtkPolyData, so you can do
anything you want with it just as you would any other vtkPolyData.


More information about the vtkusers mailing list