[vtkusers] vtkIterativeClosestPointTransform

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Oct 4 17:27:34 EDT 2006


Alexander MacLennan wrote:
> Hi,
> 
> If I attempt to instansiate vtkIterativeClosestPointTransform in Java 
> like this:
> 
> vtkIterativeClosestPointTransform vtkicp = new 
> vtkIterativeClosestPointTransform();
> 
> My code bombs out with the following error:
> 
> Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
>     at vtk.vtkIterativeClosestPointTransform.VTKInit(Native Method)
>     at vtk.vtkObject.<init>(vtkObject.java:90)
>     at vtk.vtkAbstractTransform.<init>(vtkAbstractTransform.java:130)
>     at vtk.vtkHomogeneousTransform.<init>(vtkHomogeneousTransform.java:42)
>     at vtk.vtkLinearTransform.<init>(vtkLinearTransform.java :106)
>     at 
> vtk.vtkIterativeClosestPointTransform.<init>(vtkIterativeClosestPointTransform.java:146)
>     at 
> au.edu.curtin.cs.graphics.oogl.comparison.ICP.calculateTransform(ICP.java:45)
>     at au.edu.curtin.cs.graphics.oogl.comparison.ICPMain.main 
> (ICPMain.java:20)
> 
> My class paths seem to be fine as I am able to use the vtkPanel renderer 
> without any problems within the same environment.
> 
> Am I supposed to be calling the ICP class like this?
> Does anyone have a simple, working example of using ICP in Java?


Hi Alex,

	You forgot to mention: VTK version, os, compiler and java version. Did 
you build VTK with HYBRID:ON ?

Mathieu



More information about the vtkusers mailing list