Is there any "CanFilter" APIs?

I create my own filter, but these filter is just can use for my own “MyMultiBlockDataSet” which inherited from vtkMultiBlockDataSet.

So i wonder is there any method i can check the input vtkMultiBlockDataSet to decide whether i can filter it or not ?

in the xml declaration of your filter you can check a number of things, eg: the presence of a three component point data array.

Is that what you are looking for ?

I want a method like “CanFilter(inputDataObject)”, then i can cast this “inputDataObject” to “myOwnDataObject”, if it is successful, it means myFilter can handle…

Not possible without more complex implementation. I suggested an alternative.

OK, Thank you for your suggestion.

If this is not so directly, i will give up…