<div dir="ltr">The vtkCellLocator does this, but it operates on a vtkDataSet<div>rather than on an actor: actor->GetMapper()->GetInput()<div><div class="gmail_extra">The cell locator works in data coords rather than world coords</div><div class="gmail_extra">(use the actor's matrix to do the coord conversion, if needed).</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 19, 2015 at 9:03 AM, Doug Hoppes <span dir="ltr"><<a href="mailto:dhoppes@mbfbioscience.com" target="_blank">dhoppes@mbfbioscience.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> I was wondering what the best way to do this. I have a vtkactor in my scene. In this case, I have a point(Point 1) inside of the vtkactor and a point (Point 2) outside of the actor. Is there a class that will get me
the intersection position on the surface of the actor if I draw a line from point 1 to point 2?
<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Doug</p></font></span></div></div></blockquote></div><br></div></div></div></div>