[vtkusers] Obtaining XYZ Coords

B.J.Prosser at cs.cardiff.ac.uk B.J.Prosser at cs.cardiff.ac.uk
Thu Mar 30 05:20:53 EST 2006


Im trying to get the xyz coords (individually) from points in a mesh (using tcl)

Ive got as far as:
set points [[smoother GetOutput] GetPoints]
set point *[$points GetPoint $x]

but how do i then get from the vtkPoint point to the x, y and z numbers

thanks




More information about the vtkusers mailing list