I have a problem regarding vtkSelectPolyData

If my polygon data has multiple layers (the polygon data also contains polygon data), when vtkSelectPolyData is selected, the internal data will be fixed and the surface selected part will be output. i am confused