<div dir="ltr"><div><div><div><div>Correctly asked question is 50% of the answer.<br></div>Your question does not provide details on which data types your are working with.<br></div>There is no such class in vtk as ArrowObject.<br>
<br></div>If you work with vtkPolyData which represent your arrow, you need to define transformation which will adjust orientation of your polydata and translate it to desired location.<br><br></div>Useful example might be:<br>
<div><br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TransformPolyData">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TransformPolyData</a><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 23, 2013 at 10:17 PM, Arindam <span dir="ltr"><<a href="mailto:arindam@triassicsolutions.com" target="_blank">arindam@triassicsolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
Hi,<br>
<br>
I have point and a ArrowObject.I need to move the object to the
point on a 3D surface and with the direction of the point
normal.Means the arrow should point to the point at the direction of
the normal of the given point.How can i achieve that?Any help will
be appreciated.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Thanks.<br>
<font color="#262626"><font><font face="calibri,sans
serif,arial">Arindam<br>
<br>
</font></font></font>
<div><font color="#262626" face="calibri,sans
serif,arial">
<div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="2" valign="top" width="230"><br>
</td>
</tr>
<tr>
<td valign="top" width="100%"><br>
</td>
</tr>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
</div>
</font></div>
</font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>