<div dir="ltr"><div><div>From VTK documerntation: <br>&quot;vtkCylinderSource creates a polygonal cylinder centered at Center; The axis of the cylinder is aligned along the global y-axis.&quot;<br><br></div>So to achieve what you want translate output of vtkCylinderSource (which is polidata) height/2 along y-axis which will place beginning of the cylinder at origin, then rotate it about x (90 degrees ) to have axis of the cylinder aligned with  Z axis.<br>
<br></div>You may look at <br><pre class=""><span class=""></span>vtkTransformPolyDataFilter<span class=""> and  </span>vtkTransform<span class=""></span></pre><div>There some examples on wiki pages:<br><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>Alex<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 12, 2013 at 10:42 PM, Arindam <span dir="ltr">&lt;<a href="mailto:arindam@triassicsolutions.com" target="_blank">arindam@triassicsolutions.com</a>&gt;</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">
    Hi,<br>
    <br>
    I am showing my 3D point with 3d glyphing with spare source. And i
    want to point the points by cylinder source.But by each translation
    the point is showing at the middle of cylinder source.But i want it
    to come at the tip and it should point vertically .Please help me
    for doing this.<br>
    <img src="cid:part1.01060905.09070508@triassicsolutions.com" alt="" height="420" width="999">
  </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>