[vtkusers] Get individual points from vtkSphereSource

Berkowitz, Benjamin M benjamin-berkowitz at uiowa.edu
Mon Feb 25 14:54:14 EST 2013


David and Bill,  that worked.  Thanks for your help

Ben



On Feb 25, 2013, at 7:20 AM, David Doria <daviddoria at gmail.com> wrote:

> 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
> 
> Ben,
> 
> vtkSphereSource::GetOutput() returns a vtkPolyData, so you can do
> anything you want with it just as you would any other vtkPolyData.
> 
> David




More information about the vtkusers mailing list