| 736 | } |
| 737 | |
| 738 | int vtkGenerateStatistics::RequestDataAMR( |
| 739 | vtkUniformGridAMR* amr, vtkPartitionedDataSetCollection* modelTree) |
| 740 | { |
| 741 | // TODO: Eventually, we should handle the case for \a SingleModel set to false. |
| 742 | // But since there is not an obvious use case at the moment and since it |
| 743 | // greatly simplifies things, we just force a single model for AMR data. |
| 744 | bool prevSingleModel = this->SingleModel; |
| 745 | this->SingleModel = true; |
| 746 | this->RequestDataPDC(amr, modelTree); |
| 747 | this->SingleModel = prevSingleModel; |
| 748 | return 1; |
| 749 | } |
| 750 | |
| 751 | int vtkGenerateStatistics::RequestDataPDC( |
| 752 | vtkPartitionedDataSetCollection* pdc, vtkPartitionedDataSetCollection* modelTree) |
no test coverage detected