Have you tried using the Personal Edition of ActiViz .NET from <a href="http://www.kitware.com/ActiViz">http://www.kitware.com/ActiViz</a> ?<br><br>If your C++ code and C# code are truly equivalent, they should both work the same...<br>
<br>If you are still having problems after trying ActiViz .NET, then send along some sample C# code. Maybe somebody can recommend something to try if they see the code you are trying to use.<br><br><br>HTH,<br>David<br><br>
<br><div class="gmail_quote">On Thu, Jan 29, 2009 at 9:03 AM, Phillip <span dir="ltr"><<a href="mailto:fibbes82@gmx.net">fibbes82@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hallo all vtk users,<br>
<br>
I use the vtkDiscreteMarchingCubes algorithm zo extract an isosurface from segmented volume data (tiff images).<br>
<br>
To install and setup VTK 5.0 on Visual Studio 2005 (.NET 2.0) I follow the steps of this page <a href="http://www.evl.uic.edu/aej/526/vtk.html" target="_blank">http://www.evl.uic.edu/aej/526/vtk.html</a><br>
<br>
If I debug my C# project my pipeline doesn't work and I get the following errors:<br>
<br>
ERROR: In m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkDecimatePro.cxx, line 161<br>
vtkDecimatePro (04042A88): No data to decimate!<br>
ERROR: In m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkSmoothPolyDataFilter.cxx, line 212<br>
vtkSmoothPolyDataFilter (04053210): No data to smooth!<br>
ERROR: In m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkPolyDataNormals.cxx, line 94<br>
vtkPolyDataNormals (040540D0): No data to generate normals for!<br>
<br>
If I translate my C# code into C++ and create the C++ projekt with Cmake it works fine and I can visualize my isosurface. So I think my pipeline is correct and it is because of use vtkMarchingCubes and C#.<br>
<br>
Is it possible that I can't use vtkDiscreteMarchingCubes with C#? Or is my installation not correct?<br>
What do I wrong with the installation and setup to use C#?<br>
<br>
Best regards,<br><font color="#888888">
Phillip<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></blockquote></div><br>