Ok I know what you mean. But I don't know how to do that.
Maybe I should discribe what I want to achive:
1. Read a polygonal mesh from blender.
2. convert it to volume data.
3. apply boolean operations on those volume data.
4. convert it back to a polygonal mesh.
What I did so far:
1. I read polygonal data from blender.
2. Convert it to vtkPolyData.
3. then I use vtkVoxelModeller to get voxels.
4. pass the vtkVoxelModeller to vtkMarchingCubes.
Yes thats a good question. I tried this example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter My first modification of this example crashed already. (My only modification was that I used a cube instead of a sphere)
So this boolean filter doesn't seem very robust.
My idea is to work with voxels instead of polygons because adding/deleting voxels should be much more robust than cutting polygons.
Are there any alternatives to voxelmodeller?