<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'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"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></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 <<a href="mailto:joao.sousa.domingos@gmail.com">joao.sousa.domingos@gmail.com</a>> wrote:<br>
> Hey David,<br>
><br>
> I am not very skilled on this. I'm trying to run the<br>
> vtkPoissonReconstruction in linux as well and trying to rebuild vtk with it<br>
> so I can get it wrapped to python. Do you know how to do this?<br>
><br>
> I also tried to rebuild vtk with vtkPowerCrustSurfaceReconstruction<br>
> (<a href="http://www.sq3.org.uk/powercrust/" target="_blank">http://www.sq3.org.uk/powercrust/</a>) but I couldn't because I don't know<br>
> where in the CMakeLists.txt I should add the line<br>
> "vtkPowerCrustSurfaceReconstruction.cxx". I tried different locations with<br>
> and without the needed changes in the header and it always gives me errors<br>
> re-building vtk (in certain locations putting that line doesn't even do<br>
> anything.. builds normally but does not include it).<br>
><br>
> Given the vtkPoissonReconstruction code in the Insight Journal, is the<br>
> process to include in vtk (wrapped in Python) the same? Where and what lines<br>
> should I include in the Hybrid folder CMakeLists.txt?<br>
><br>
> Thank you very much for your time in advance.<br>
><br>
> Joao<br>
<br>
</div>You don'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>