----------------------------------------------------------------------------
| 56 | |
| 57 | //---------------------------------------------------------------------------- |
| 58 | int vtkGroupTimeStepsFilter::RequestInformation(vtkInformation* vtkNotUsed(request), |
| 59 | vtkInformationVector** inInfo, vtkInformationVector* outInfoVec) |
| 60 | { |
| 61 | this->UpdateTimeIndex = 0; |
| 62 | |
| 63 | auto info = inInfo[0]->GetInformationObject(0); |
| 64 | int len = info->Length(vtkStreamingDemandDrivenPipeline::TIME_STEPS()); |
| 65 | const double* timeSteps = info->Get(vtkStreamingDemandDrivenPipeline::TIME_STEPS()); |
| 66 | this->TimeSteps.resize(len); |
| 67 | std::copy(timeSteps, timeSteps + len, this->TimeSteps.begin()); |
| 68 | |
| 69 | auto outInfo = outInfoVec->GetInformationObject(0); |
| 70 | outInfo->Remove(vtkStreamingDemandDrivenPipeline::TIME_STEPS()); |
| 71 | outInfo->Remove(vtkStreamingDemandDrivenPipeline::TIME_RANGE()); |
| 72 | return 1; |
| 73 | } |
| 74 | |
| 75 | //---------------------------------------------------------------------------- |
| 76 | int vtkGroupTimeStepsFilter::RequestData( |