------------------------------------------------------------------------------
| 1404 | |
| 1405 | //------------------------------------------------------------------------------ |
| 1406 | int vtkPStreamTracer::RequestUpdateExtent(vtkInformation* vtkNotUsed(request), |
| 1407 | vtkInformationVector** inputVector, vtkInformationVector* outputVector) |
| 1408 | { |
| 1409 | vtkInformation* outInfo = outputVector->GetInformationObject(0); |
| 1410 | int piece = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()); |
| 1411 | int numPieces = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES()); |
| 1412 | int ghostLevel = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS()); |
| 1413 | |
| 1414 | int numInputs = this->GetNumberOfInputConnections(0); |
| 1415 | for (int idx = 0; idx < numInputs; ++idx) |
| 1416 | { |
| 1417 | vtkInformation* info = inputVector[0]->GetInformationObject(idx); |
| 1418 | if (info) |
| 1419 | { |
| 1420 | info->Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(), piece); |
| 1421 | info->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(), numPieces); |
| 1422 | info->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(), ghostLevel); |
| 1423 | } |
| 1424 | } |
| 1425 | |
| 1426 | vtkInformation* sourceInfo = inputVector[1]->GetInformationObject(0); |
| 1427 | if (sourceInfo) |
| 1428 | { |
| 1429 | sourceInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(), 0); |
| 1430 | sourceInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(), 1); |
| 1431 | sourceInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(), ghostLevel); |
| 1432 | } |
| 1433 | |
| 1434 | return 1; |
| 1435 | } |
| 1436 | |
| 1437 | //------------------------------------------------------------------------------ |
| 1438 | int vtkPStreamTracer::RequestData( |
nothing calls this directly
no test coverage detected