<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Bill,<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Would you be able to spare me a few minutes and tell me how to sample the output of a vtkWrapScalar, so that I can feed it to vtkProjectedTerrainPath?</div><div><br></div><div>I'm stuck with this problem for over a week now, and I tried suggestions from all the people who have responded, but I still haven't made any headway.&nbsp;</div><div><br></div><div>I think I'm missing something fundamental here and was wondering if you could take a look at the script that I've developed so far and tell me what I'm doing wrong.</div><div><br></div><div>I'm trying to sample the output of vtkWrapScalar into vtkImageData using vtkProbeFilter. This is to create a vtkImageData with the new scalar height field values that can be sent to vtkProjectedTerrainPath.&nbsp;</div><div><br></div><div>At the moment, the application hangs at vtkProbeFilter.</div><div><br></div><div>Best regards,</div><div><br></div><div>Elvis Dowson<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Elvis Dowson &lt;<a href="mailto:elvis.dowson@mac.com">elvis.dowson@mac.com</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">November 14, 2008 9:18:33 PM GMT+04:00</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">VTK Users &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: [vtkusers] Problem getting correct results with vtkProjectedTerrainPath</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Is the vtkProbeFilter capable of sampling the output of vtkPointSet and storing the results into a vtkImageData?</div><div><br></div><div>When I execute the following code snippet, it hangs the application indefinitely.&nbsp;</div><div><br></div><div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">vtkProbeFilter probe&nbsp;</span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp;probe SetInputConnection 0 [elevationData GetProducerPort]</span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp;probe SetInputConnection 1 [surface GetOutputPort]&nbsp;</span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">&nbsp;&nbsp;probe Update</span></font></div><div><br></div><div><br></div><div>I have attached the full script with this message. I think I'm missing something fundamental here.</div><div><br></div><div></div></div></div></blockquote></div></div></body></html>