Thanks, Shriram.<br><br>I do know how to read 'cone-&gt;GetOutput()-&gt;<layer id="google-toolbar-hilite-0" style="background-color: Yellow; color: black;">GetPoints</layer>()' you suggested. So I tired to add the below codes. <br>-------------------------------------------------------------------------<br>&nbsp; vtkPoints *points = vtkPoints::New();<br>&nbsp;&nbsp;&nbsp; points = cone-&gt;GetOutput()-&gt;GetPoints(); <br><br>&nbsp; vtkCellArray *indexes = vtkCellArray::New();<br>&nbsp;&nbsp;&nbsp; indexes = cone-&gt;GetOutput()-&gt;GetPoints(); <br>------------------------------------------------------------------------<br>They did work. Could you correct them or let me know any example like this?<br><br>Toron<br><br><br><br><br><br><b><i>Shriram Iyer &lt;shriram.uc@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Use cone-&gt;GetOutput()-&gt;<layer id="google-toolbar-hilite-0"
 style="background-color: Yellow; color: black;">GetPoints</layer>() to get the vertices.<br><br>Shriram<br><br><div><span class="gmail_quote">On 10/22/07, <b class="gmail_sendername">Toron J.</b> &lt;<a href="mailto:ji_wi@yahoo.com">ji_wi@yahoo.com</a> &gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>I used the following codes to build a simple cone.<br>--------------------------------------------------------------------------------------- <br>&nbsp; vtkConeSource *cone = vtkConeSource::New();<br>&nbsp; &nbsp;&nbsp;&nbsp; cone-&gt;SetHeight( 3.0 );<br>&nbsp; &nbsp;&nbsp;&nbsp; cone-&gt;SetRadius( 1.0 );<br>&nbsp; &nbsp;&nbsp;&nbsp; cone-&gt;SetResolution( 6 );<br>&nbsp; <br>&nbsp; vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); <br>&nbsp;&nbsp;&nbsp; &nbsp; coneMapper-&gt;SetInput( cone-&gt;GetOutput()
 );<br>--------------------------------------------------------------------------------------<br>Does any one can help me to know how to get the position (x,y,z) of each vertex and the rendering index? &nbsp; &nbsp;&nbsp; Thanks in advance! <br><span class="sg"><br>Toron<br></span><span class="ad"><div> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://mail.yahoo.com</a> </div></span><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank"> http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return
 top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers </a><br><br></blockquote></div><br> </blockquote><br><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com