<div dir="ltr"><br><div class="gmail_extra">Hi,</div><div class="gmail_extra" style>   Do you have any idea about the class, which can read any format of image???</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
<br></div><div class="gmail_extra" style>Looking forward your reply soon.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>rahul indoria<br></div><div class="gmail_extra" style>
<br></div><div class="gmail_extra" style><br></div><div class="gmail_extra" style><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 6:19 PM, Seth Gilchrist <span dir="ltr">&lt;<a href="mailto:seth@mech.ubc.ca" target="_blank">seth@mech.ubc.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">Hi Rahul,</div><div dir="ltr">It seems that you want to provide x,y,z coordinates and get the index of the point back. Once you have the index, you can use polydata&#39;s &quot;GetPointData&quot; method to access the point data.</div>


<div dir="ltr"><br></div><div dir="ltr">To do this, you can use the vtkKdTreePointLocator which as methods like &quot;FindClosestPoint&quot;, &quot;FindNClosestPoints&quot;, and &quot;FindPointsWithinRadius&quot;. There are a few examples of how to use this class at <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx#KD-Tree" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx#KD-Tree</a>. There are other classes like vtkPointLocator, vtkOctreePointLocator which you can look at too.</div>


<div dir="ltr"><div><br></div><div>Cheers,</div><div>Seth</div><div><br></div><span style="font-style:italic">Seth Gilchrist, MASc, PhD Candidate</span><br style="font-style:italic"><span style="font-style:italic;font-family:&#39;courier new&#39;,monospace">+---------------------------------------+</span><br style="font-style:italic;font-family:&#39;courier new&#39;,monospace">


<span style="font-style:italic;font-family:&#39;courier new&#39;,monospace">Orthopaedic and Injury Biomechanics Group<br>UBC Department of Mechanical Engineering</span><span style="font-style:italic;font-family:&#39;courier new&#39;,monospace"></span><br style="font-style:italic;font-family:&#39;courier new&#39;,monospace">


<span style="font-style:italic;font-family:&#39;courier new&#39;,monospace">6th Floor-2635 Laurel Street</span><br style="font-style:italic;font-family:&#39;courier new&#39;,monospace"><span style="font-style:italic;font-family:&#39;courier new&#39;,monospace">Vancouver, BC V5Z-1M9<br>


</span><span style="font-style:italic;font-family:&#39;courier new&#39;,monospace">+---------------------------------------+<br><a href="mailto:seth@mech.ubc.ca" target="_blank">seth@mech.ubc.ca</a><br>Fax <a href="tel:604-675-2576" value="+16046752576" target="_blank">604-675-2576</a></span></div>


</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best  Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div></div>