vtkMultiBlockDataSet + vtkClipDataSet

Hi,

Is it possible to cut a vtkMultiBlockDataSet somehow ?
Seams that vtkClipDataSet does not accept vtkMultiBlockDataSet as input …
Thanks !

When you work with vtkMultiBlockDataSet you should use the vtkCompositeDataPipeline executive which supports processing of composite data by non-composite-data-aware algorithms like vtkClipDataSet. This executive will traverse over the leaf nodes of your composite data to the algorithm and present the output in the same composite structure at the output.

@Olivier Do you have got how to clip the multiblockdataset? can you paste an exameple? I have the same problem.

Hi Rockydut,

My use case is pretty specific : I must be able to conditionally clip each Block !

So I didn’t leaned on vtkCompositeDataPipeline.
I’ve written a tree based pipe that applies a vtkClipClosedSurface / vtkTableBasedClipDataSet on each block, and reinjects the result inside block’s geometry.
This way I can fully drive the clipping process (condition + multithreading).