| 23 | namespace |
| 24 | { |
| 25 | class CellVisibility |
| 26 | { |
| 27 | public: |
| 28 | CellVisibility(vtkCartesianGrid* input) |
| 29 | : Input(input) |
| 30 | { |
| 31 | } |
| 32 | bool operator()(const vtkIdType id) { return !Input->IsCellVisible(id); } |
| 33 | |
| 34 | private: |
| 35 | vtkCartesianGrid* Input; |
| 36 | }; |
| 37 | } // anonymous namespace |
| 38 | |
| 39 | //------------------------------------------------------------------------------ |