<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Not after the mapper because that doesn't generate a vtkPolyData (inherits from vtkDataSet).</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>I would put it at the end of both pipelines (</span><span style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;">vtkClosestPointTransform needs two inputs: source and target) before the results of these pipelines are added to their mappers.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; background-color: transparent; font-style:
 normal;"><span style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;">Depends on what data you want to register (vtkPolyDataNormals doesn't change the location of the points so you could take the result before this algorithm as well). <br></span></div><div style="display: block;" class="yahoo_quoted"> <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 dir="ltr"> <font size="2" face="Arial"> On Monday, January 20, 2014 10:04:10 AM, Maarten Beek <beekmaarten@yahoo.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv8718990766"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;font-size:12pt;">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 clear="none"><br clear="none">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 clear="none"><div><span><br clear="none"></span></div><div class="yiv8718990766yahoo_quoted" style="display:block;"> <br clear="none"> <br clear="none"> <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
 class="yiv8718990766yqt2328995307" id="yiv8718990766yqt43732"><div dir="ltr"> <font size="2" face="Arial"> On Saturday, January 18, 2014 7:44:23 PM, Matias Montroull <matimontg@gmail.com> wrote:<br clear="none"> </font> </div>  <div class="yiv8718990766y_msg_container"><div id="yiv8718990766"><div dir="ltr"><div><div><div>Hi,<br clear="none"><br clear="none"></div>I've managed to add 2 actors to a render, however, I would like to set the same center for both..<br clear="none"><br clear="none"></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 clear="none">
<br clear="none"></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 clear="none"><div><div><br clear="none"></div><div></div><div>
Thanks!<br clear="none"></div></div></div></div><br clear="none">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" shape="rect" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br clear="none"><br clear="none"><br clear="none"></div></div>  </div> </div>  </div> </div></div></div><br><div
 class="yqt2328995307" id="yqt94496">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>