<div dir="ltr">Hi,<div><br></div><div>I have an elevation map stored in a STL file. I can successfully load this as a vtkPolyData instance and display it. Now, I have several 2D polylines that I want to display as paths on this surface. From the documentation (<a href="http://www.vtk.org/doc/nightly/html/classvtkProjectedTerrainPath.html#details">http://www.vtk.org/doc/nightly/html/classvtkProjectedTerrainPath.html#details</a>) I understand that I can use vtkProjectedTerrainPath for that. However, I cannot find any examples of its usage. </div>
<div><br></div><div>Can anyone give me C++, Python or pseudo-code that would get me started?</div><div><br></div><div>From what I understand I need to convert my vtkPolyData to vtkImageData. How can I do that?</div><div><br>
</div><div>Many thanks.</div><div><br></div><div>Guillaume</div></div>