<div class="gmail_quote">On Thu, Mar 4, 2010 at 8:14 AM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The thin-plate spline example looks like it came from<br>
VTK/Hybrid/Testing/Tcl/TestThinPlateWarp.tcl.<br>
That means that I was the original author, and the Tcl<br>
version is in the public domain like most VTK tests.<br>
<br>
   David G<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br><div><br></div><div>Tim,</div><div><br></div><div>Thanks for your addition! A few comments (I already fixed them) in case you decide to contribute more in the future.</div>
<div><br>1) The VTK style mandates you use 2 spaces instead of a &quot;tab&quot; character.</div><div>2) The VTK style mandates that your lines are not more than 80 characters - basically what this means is you should break smartpointer declarations:</div>
<div>vtkSmartPointer&lt;vtkDataSetMapper&gt; imgDataSetMapper = </div><div>  vtkSmartPointer&lt;vtkDataSetMapper&gt;::New();</div><div><br></div><div>instead of</div><div><br></div><div>vtkSmartPointer&lt;vtkDataSetMapper&gt; imgDataSetMapper = vtkSmartPointer&lt;vtkDataSetMapper&gt;::New();</div>
<div><br></div><div>3) There is a cmake syntax highlighting package installed on the wiki:</div><div> &lt;source lang=&quot;cmake&quot;&gt;</div><div>instead of</div><div>&lt;source lang=&quot;text&quot;&gt;</div><div><br>
</div><div>4) Feel free to place credit where credit is due (I added a &quot;Contributed by: &quot; to the top of the page</div><div><br></div><div>5) I like to indicate the main class that is being demonstrated near the link from the Examples page for searchability purposes:</div>
<div>* [[VTK/Examples/Blending2DImagesWithDifferentColorMaps|Blending 2D images with different color maps]] - vtkImageMapToColors</div><div><br></div><div><br></div><div>Anka, thanks for translating this ; I added the ThinPlateSplineTransform example here:</div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/ThinPlateSplineTransform">http://www.vtk.org/Wiki/VTK/Examples/ThinPlateSplineTransform</a></div><div><br clear="all">Thanks,<br><br>David D.<br></div>