[vtkusers] vtkPoissonReconstruction problem in Release mode

João Domingos joao.sousa.domingos at gmail.com
Wed May 9 07:49:05 EDT 2012


Hey guys!

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)?

Many thanks in advance,
Joao



On 30 April 2012 19:09, David Doria <daviddoria at gmail.com> wrote:

> On Mon, Apr 30, 2012 at 1:26 PM, Domingos <joao.sousa.domingos at gmail.com>
> wrote:
> > Hey David,
> >
> > I am not very skilled on this. I'm trying to run the
> > vtkPoissonReconstruction in linux as well and trying to rebuild vtk with
> it
> > so I can get it wrapped to python. Do you know how to do this?
> >
> > I also tried to rebuild vtk with vtkPowerCrustSurfaceReconstruction
> > (http://www.sq3.org.uk/powercrust/) but I couldn't because I don't know
> > where in the CMakeLists.txt I should add the line
> > "vtkPowerCrustSurfaceReconstruction.cxx". I tried different locations
> with
> > and without the needed changes in the header and it always gives me
> errors
> > re-building vtk (in certain locations putting that line doesn't even do
> > anything.. builds normally but does not include it).
> >
> > Given the vtkPoissonReconstruction code in the Insight Journal, is the
> > process to include in vtk (wrapped in Python) the same? Where and what
> lines
> > should I include in the Hybrid folder CMakeLists.txt?
> >
> > Thank you very much for your time in advance.
> >
> > Joao
>
> You don't have to change anything in the VTK build to use the Poisson
> reconstruction code. You can just download and build the code from the
> VTK journal in its own folder. You just have to tell CMake (through
> the CMake GUI) where to find your VTK build.
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120509/73877ec7/attachment.htm>


More information about the vtkusers mailing list