------------------------------------------------------------------------------
| 107 | |
| 108 | //------------------------------------------------------------------------------ |
| 109 | int vtkXMLPDataObjectWriter::RequestUpdateExtent(vtkInformation* vtkNotUsed(request), |
| 110 | vtkInformationVector** inputVector, vtkInformationVector* vtkNotUsed(outputVector)) |
| 111 | { |
| 112 | vtkInformation* inInfo = inputVector[0]->GetInformationObject(0); |
| 113 | int piece = 0; |
| 114 | if (this->ContinuingExecution) |
| 115 | { |
| 116 | assert(this->CurrentPiece >= this->StartPiece && this->CurrentPiece <= this->EndPiece && |
| 117 | this->CurrentPiece < this->NumberOfPieces); |
| 118 | piece = this->CurrentPiece; |
| 119 | } |
| 120 | else |
| 121 | { |
| 122 | piece = this->StartPiece; |
| 123 | } |
| 124 | |
| 125 | inInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(), piece); |
| 126 | inInfo->Set( |
| 127 | vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(), this->GetNumberOfPieces()); |
| 128 | inInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS(), this->GhostLevel); |
| 129 | return 1; |
| 130 | } |
| 131 | |
| 132 | //------------------------------------------------------------------------------ |
| 133 | int vtkXMLPDataObjectWriter::WriteInternal() |
no test coverage detected