[vtkusers] use vtkDiscreteMarchingCubes with C#

David Cole david.cole at kitware.com
Thu Jan 29 10:52:22 EST 2009


Have you tried using the Personal Edition of ActiViz .NET from
http://www.kitware.com/ActiViz ?

If your C++ code and C# code are truly equivalent, they should both work the
same...

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.


HTH,
David


On Thu, Jan 29, 2009 at 9:03 AM, Phillip <fibbes82 at gmx.net> wrote:

> Hallo all vtk users,
>
> I use the vtkDiscreteMarchingCubes algorithm zo extract an isosurface from
> segmented volume data (tiff images).
>
> To install and setup VTK 5.0 on Visual Studio 2005 (.NET 2.0) I follow the
> steps of this page http://www.evl.uic.edu/aej/526/vtk.html
>
> If I debug my C# project my pipeline doesn't work and I get the following
> errors:
>
> ERROR: In m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkDecimatePro.cxx, line
> 161
> vtkDecimatePro (04042A88): No data to decimate!
> ERROR: In
> m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkSmoothPolyDataFilter.cxx, line
> 212
> vtkSmoothPolyDataFilter (04053210): No data to smooth!
> ERROR: In m:\dev\cur\vtkdotnet\branch\50\Graphics\vtkPolyDataNormals.cxx,
> line 94
> vtkPolyDataNormals (040540D0): No data to generate normals for!
>
> 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#.
>
> Is it possible that I can't use vtkDiscreteMarchingCubes  with C#? Or is my
> installation not correct?
> What do I wrong with the installation and setup to use C#?
>
> Best regards,
>       Phillip
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090129/e6cda380/attachment.htm>


More information about the vtkusers mailing list