------------------------------------------------------------------------------
| 615 | |
| 616 | //------------------------------------------------------------------------------ |
| 617 | int vtkCriticalTime::Initialize( |
| 618 | vtkInformation*, vtkInformationVector** inputVector, vtkInformationVector* outputVector) |
| 619 | { |
| 620 | vtkInformation* inInfo = inputVector[0]->GetInformationObject(0); |
| 621 | vtkDataObject* input = vtkDataObject::GetData(inInfo); |
| 622 | |
| 623 | vtkInformation* outInfo = outputVector->GetInformationObject(0); |
| 624 | vtkDataObject* output = vtkDataObject::GetData(outInfo); |
| 625 | |
| 626 | if (!input || !output) |
| 627 | { |
| 628 | return 0; |
| 629 | } |
| 630 | |
| 631 | this->Internals->OutputCache->Initialize(); |
| 632 | return this->Internals->InitializeCriticalTimeArray(input, output, this->Internals->OutputCache); |
| 633 | } |
| 634 | |
| 635 | //------------------------------------------------------------------------------ |
| 636 | int vtkCriticalTime::Execute( |