<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear users,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have just realised that vtkPolyData stores 
triangle information in the point list by replicating vertices in the list 
according to the facets index order. I assume this enables fast rendering, which 
is good for display purposes. However, I also intended to use the PolyData 
object as a container for surface information that I&nbsp;need&nbsp;for 
registration. I was expecting to be able to retrieve both vertex and polygon 
information for my closest point search algorithm from the PolyData object ( 
i.e. GetPoints() and GetPolys() ), however it appears that the PointSet list has 
replicated vertices and that the facet indices no longer correspond to the 
correct vertices in the PointSet list. By inspecting the source code, I realised 
that during loading of a WaveFront object file (vtkOBJReader.cxx), the original 
vertex index information is lost.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any idea on how I can retain that information 
without modifying the source code? Or am I simply doing something wrong? Any 
help would be much appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ferdinando</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>