<div dir="ltr">Hello,<br><br>I'm new to VTK,i'm working on a 3D indexing project for my research so i need to use Reeb's graph.<br>I have been trying to view vtkReebGraph since 2 days now,i have he correct data but i'm not able to display it.<br>
I'm developing on Java and this is my code,the view part copied form this one <a href="http://www.vtk.org/Wiki/VTK/Examples/Graphs/VisualizeDirectedGraph">http://www.vtk.org/Wiki/VTK/Examples/Graphs/VisualizeDirectedGraph</a> i just translated it to Java :<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">vtkPolyDataToReebGraphFilter surfaceReebGraphFilter = new vtkPolyDataToReebGraphFilter();<br>
</blockquote><div> </div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"> surfaceReebGraphFilter.SetInput(reader.GetOutput());<br><br>
surfaceReebGraphFilter.Update();<br><br> vtkReebGraph surfaceReebGraph = surfaceReebGraphFilter.GetOutput();<br> <br> System.out.println(surfaceReebGraph.Print());<br> <br> <br> vtkGraphLayoutView graphLayoutView =new vtkGraphLayoutView ();<br>
<br> vtkGraphLayout layout = new vtkGraphLayout ();<br> vtkSimple2DLayoutStrategy strategy = new vtkSimple2DLayoutStrategy ();<br> layout.SetInput(surfaceReebGraph);<br> layout.SetLayoutStrategy(strategy);<br>
......<br></blockquote><br><br>The Graph is correctly printed but i have this weird error : Exception in thread "main" java.lang.UnsatisfiedLinkError: vtk.vtkGraphLayoutView.VTKInit()J<br><br>The PATH is correctly set so i don't know where it may come from.<br>
Can you please help me ? I'm desperate.<br>Maybe another method to display ReebGraph without using the graphLayoutView ?<br><br>Thanks a lot.<br><br></div>