| 24 | } |
| 25 | |
| 26 | bool EvaluateQuery( |
| 27 | vtkCellGridQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override |
| 28 | { |
| 29 | auto* qq = dynamic_cast<QueryClass*>(query); |
| 30 | if (qq) |
| 31 | { |
| 32 | return this->Query(qq, cellType, caches); |
| 33 | } |
| 34 | return false; |
| 35 | } |
| 36 | |
| 37 | virtual bool Query( |
| 38 | QueryClass* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) = 0; |