I have an application (Geant4) where I would like to give users the ability to enable or disable filters in a pipeline. For example
polydata → clean → triangle → normal → feature → …
Is there a simple way to disable the action of one of the filters? I have looked through as carefully as I can the API/documentation for vtkPolyDataAlgorithm, vtkAlogrithm and did not find anything.
If this is something a user has to implement, does anyone have examples where this is done elegantly?
Any help would be appreciated, best
Stewart