[vtkusers] Polydata point coords

Burlen burlen at apollo.sr.unh.edu
Fri Dec 15 13:35:08 EST 2006


Buna Gheorghe,
this isn't tcl, but in general you could use the following chain to return the 
array of points.

vtkPolyData->GetPoints()->GetData() => vtkDataArray


On Friday 15 December 2006 12:52 pm, Gheorghe Postelnicu wrote:
> Hi,
>
> Is there a way to retrieve the coordinates of the points of a polyData
> as a float array? I am mainly concerned with efficiency, since I do
> this in Tcl.
>
> Thanks,

-- 

Burlen Loring
Space Science Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
39 College Road, Durham, NH 03824
Phone: 603-862-1140



More information about the vtkusers mailing list