What is the easiest way to clip a vtkOutlineFilter?

I would like to show only the corners of the outline shown with a vtkOutlineFilter:

My thought was that I could first create the vtkOutlineFilter algorithm, and then “subtract” the parts that I don’t want using some kind of subtraction filter. Is this doable?

In my testing I applied a vtkBox implicit function to vtkClipPolyData, and then tried to use it to clip the vtkOutlineFilter, but it did not clip anything.

The vtkOutlineCornerFilter does exactly what you want. You can use that in place of the vtkOutlineFilter.