[vtkusers] How to project a polyline to terrain that represented by TIN?
hellow
lab_zj at 163.com
Sat Sep 26 22:53:22 EDT 2009
How to project a polyline to terrain that represented by TIN (triangulate irregular network)? I have a 2D polyline and a TIN, and I want to get all Z value of points that recursive subdivision of the polyline by TIN, how to do?
I currently solve it as follows:
1. along polyline, resample to get many points.
2. probe these points' Z value on TIN with it's scalars (height).
3. using vtkDecimatePolylineFilter to reduce number of points.
This method is very slowly when polyline is more longer and TIN is more bigger. So I want someone to help to get another solution.
thanks.
Liang Aibin
lab_zj at 163.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090927/1f2843c2/attachment.htm>
More information about the vtkusers
mailing list