<div dir="ltr"><div>Hi there,<br>I'm trying to build a custom oriented arrow based upon the OrientedArrow example [1]. However, I seem not to be doing it right.<br><br>I'm trying to set a sphere in the middle of the arrow, as well as two orthogonal lines centered at that point.<br>
<br>The sphere is not located in the middle of the arrow, and the lines, even if orthogonal do not cross in the center of the sphere.<br><br>I guess it has to do with the transformations (scale and rotation), but cannot make head or tails of it.<br>
<br>On the other hand, I cannot guess how to center the point where the lines cross at the center of the sphere.<br><br></div>When the arrow's head and base are not random, but defined with some known values, it seems to work well.<br>
<div><div><div><div><br>Attached, the screenshots of the attempt, the version with some known points (which seems to be OK), and the corresponding .cxx and CMakeLists.txt.<br><br>Thanks,<br>JON HAITZ<br><br>[1] <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/OrientedArrow">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/OrientedArrow</a><br>
<br><div><div dir="ltr"><table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><br></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><span style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"></span><br>
</td></tr></tbody></table></td></tr></tbody></table></div></div>
</div></div></div></div></div>