I am using vtkContourWidget
to use contour drawing over an STL actor.
Next, I use vtkClipPolyData
to extract the region outside the drawn contour. Then, I apply vtkLinearExtrusionFilter
to generate a 3 mm thick region.
The issue: The generated region currently includes the area where I drew the contour. However, I need the extrusion to begin just above the STL surface, excluding the drawn contour area itself. In other words, the region growth should not start from the STL actor’s surface but rather from the outer boundary of the clipped region. The final generated region should be 3mm of thickness
I have attached images illustrating the issue and my expected outcome.
Is there a way to achieve this using vtkLinearExtrusionFilter
, or would another approach be more suitable? Any suggestions would be greatly appreciated!
I’m using VTK8.2 with cpp