Hi Normanius, thanks for your reply.
Well, to be honest, after digging a bit more on the forum (I was checking the old mail-list system as was configured in my e-mail reader, my fault. I’m not yet used to discourse) and missed some interesting discussions about the topic.
But first of all: I was able to solve my problem by simply replacing the vtkClipDataSet class by the vtkTableBasedClipDataSet. I must say sometimes the number of classes (and despite de great work on the examples page) is overwhelming and I often find myself with 6 or 7 open tabs on VTK classes trying to find the one which best fit to my needs. But in this case problem is solved.
That said, my apologies for not being able to provide a working example. I was afraid of having too much unrelated code posted which could make it less readable. But in response to you question:
How does your input volume look like?
It is simply a vtkImage block of i x k x j dimensions. From this block, I use implicit functions to extract volumes, both the the clipped region and the ‘remaining’ of the clipped region.
This is the post that lead me to the solution (Is it possible to turn off triangles on vtkClipDataSet filter?) that lead me to the solution.
Well, thanks a lot for your reply. Since I’m just starting with VTK, you’ll probably see me again with more questions. I’ll try to dig deeper next time before posting, but it seems that only after trying to organize the ideas down do a text to ask a proper question, it happens that I easily find the aswer to the very question…
Regards,
Vitor