Help needed trying to use vtkTableBasedClipDataSet with a ImplicitFunction
I'm developing a pre-processor for a Finite Differences based
geomechanics solver and I need to clip though my original mesh,
but for mathematical reasons is desirable that all Hexas that
weren't touched by the cutting surface remains untouched (not
triangulated). That's why I'm using
vtkPolyData pd = vtkPolyData.New(); vtkTableBasedClipDataSet.
In my initial tests where I cut the mesh with a plane everything
Now I have a cloud of points, which I can triangulate with a
delaunay2d to form the surface, and I wanted to use that surface
as the Clipping Function, passing it via SetClipFunction(..).
My first option was to feed a vtkImplicitDataSet with the data
from my delaunay2d but I keep receiving the error:
line 76 vtkImplicitDataSet (0A17E848): Can't evaluate dataset!"
I'm using C# and this is my code:
PS: points contains the cloud of points I'm reading from a DXF
file and I've checked, points are ok, the surface is shown perfectly
in the render window.