| 722 | } |
| 723 | |
| 724 | int vtkGenerateStatistics::RequestDataNonComposite( |
| 725 | vtkDataObject* dataObject, vtkStatisticalModel* model) |
| 726 | { |
| 727 | // We handle several cases: vtkDataSet, vtkCellGrid, vtkGraph, and vtkTable. |
| 728 | // However, these are all handled with two code paths: one for vtkCellGrid and |
| 729 | // one for the remaining (as each can just fetch vtkDataSetAttributes via |
| 730 | // vtkDataObject::GetAttributes()). |
| 731 | if (auto* cg = vtkCellGrid::SafeDownCast(dataObject)) |
| 732 | { |
| 733 | return this->RequestDataCellGrid(cg, model); |
| 734 | } |
| 735 | return this->RequestDataPlain(dataObject, model); |
| 736 | } |
| 737 | |
| 738 | int vtkGenerateStatistics::RequestDataAMR( |
| 739 | vtkUniformGridAMR* amr, vtkPartitionedDataSetCollection* modelTree) |
no test coverage detected