<div dir="ltr">Thank you Maarten,<div><br></div><div>I see <span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">vtkClosestPointTransform receives as parameter a VtkDataSet. </span></div>
<div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">I have so far a vtkContourFilter, then </span><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3">vtkPolyDataConnectivityFilter, then vtkCleanPolyData (to remove inner points out of the skin) and finally a vtkPolyDataNormals and a vtkPolyDataMapper before adding it to the actor.</font></div>
<div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3"><br></font></div><div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3">Where in the step I can convert any of these objects into a VtkDataSet?</font></div>
<div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3"><br></font></div><div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3">I can provide the full code if needed.</font></div>
<div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3"><br></font></div><div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3">Thank you!</font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 12:03 PM, Maarten Beek <span dir="ltr"><<a href="mailto:beekmaarten@yahoo.com" target="_blank">beekmaarten@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Both data have their own coordinate system. One from the apparatus that generated the skin surface, the other one from the NDI tracker. Both data would be in the same coordinate system if some calibration of the equipment is performed.<br>
<br>The current data has to be registered to each other (moving one object into the coordinate system of the other). A first step would be to align the centers (see: vtkClosestPointTransform), then some additional iterations would be required to improve the registration.<br>
<div><span><br></span></div><div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
<div><div class="h5"> <div dir="ltr"> <font face="Arial"> On Saturday, January 18, 2014 7:44:23 PM, Matias Montroull <<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>> wrote:<br> </font> </div>
  </div></div><div><div><div class="h5"><div><div dir="ltr"><div><div><div>Hi,<br><br></div>I've managed to add 2 actors to a render, however, I would like to set the same center for both..<br><br></div>Reason being is that I have a skin face surface and a set of points I registered using a NDI tracker. So, I'd like to view both to see how close my points are to the surface to make some tests and then optimization (find the closest points to the surface).<br>

<br></div>My points appear at the right of the image as shown in the screenshoot attached.. Is that because I need to set the center to be the same por something else I'm missing?<br><div><div><br></div><div></div><div>

Thanks!<br></div></div></div></div><br></div></div>_______________________________________________<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><br></div>  </div> </div>  </div> </div></div></blockquote></div><br></div>