<span style>Hey guys!</span><div style><br></div><div style>Considering for example the source folders from the Insight Journal papers, does someone know how to include that/those function(s) in the vtk build so that they can be wrapped to python (i&#39;m using a linux machine)? If I build those functions in the their folder, is it just a question of telling vtk where that folder is so that it can be included? If yes, is this done through ccmake (which field specifically)?</div>

<div style><br></div><div style>Many thanks in advance,</div><div style>Joao</div><div style><br></div><div style><br></div><br><div class="gmail_quote">On 30 April 2012 19:09, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@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"><div class="im">On Mon, Apr 30, 2012 at 1:26 PM, Domingos &lt;<a href="mailto:joao.sousa.domingos@gmail.com">joao.sousa.domingos@gmail.com</a>&gt; wrote:<br>


&gt; Hey David,<br>
&gt;<br>
&gt; I am not very skilled on this. I&#39;m trying to run the<br>
&gt; vtkPoissonReconstruction in linux as well and trying to rebuild vtk with it<br>
&gt; so I can get it wrapped to python. Do you know how to do this?<br>
&gt;<br>
&gt; I also tried to rebuild vtk with vtkPowerCrustSurfaceReconstruction<br>
&gt; (<a href="http://www.sq3.org.uk/powercrust/" target="_blank">http://www.sq3.org.uk/powercrust/</a>) but I couldn&#39;t because I don&#39;t know<br>
&gt; where in the CMakeLists.txt I should add the line<br>
&gt; &quot;vtkPowerCrustSurfaceReconstruction.cxx&quot;. I tried different locations with<br>
&gt; and without the needed changes in the header and it always gives me errors<br>
&gt; re-building vtk (in certain locations putting that line doesn&#39;t even do<br>
&gt; anything.. builds normally but does not include it).<br>
&gt;<br>
&gt; Given the vtkPoissonReconstruction code in the Insight Journal, is the<br>
&gt; process to include in vtk (wrapped in Python) the same? Where and what lines<br>
&gt; should I include in the Hybrid folder CMakeLists.txt?<br>
&gt;<br>
&gt; Thank you very much for your time in advance.<br>
&gt;<br>
&gt; Joao<br>
<br>
</div>You don&#39;t have to change anything in the VTK build to use the Poisson<br>
reconstruction code. You can just download and build the code from the<br>
VTK journal in its own folder. You just have to tell CMake (through<br>
the CMake GUI) where to find your VTK build.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>