------------------------------------------------------------------------------
| 269 | |
| 270 | //------------------------------------------------------------------------------ |
| 271 | int vtkXMLPStructuredDataReader::ReadPieceData() |
| 272 | { |
| 273 | // Use the internal reader to read the piece. |
| 274 | this->PieceReaders[this->Piece]->UpdateExtent(this->SubExtent); |
| 275 | |
| 276 | // Skip rest of read if aborting. |
| 277 | if (this->AbortExecute) |
| 278 | { |
| 279 | return 0; |
| 280 | } |
| 281 | |
| 282 | // Get the actual portion of the piece that was read. |
| 283 | this->GetPieceInputExtent(this->Piece, this->SubPieceExtent); |
| 284 | this->ComputePointDimensions(this->SubPieceExtent, this->SubPiecePointDimensions); |
| 285 | this->ComputePointIncrements(this->SubPieceExtent, this->SubPiecePointIncrements); |
| 286 | this->ComputeCellDimensions(this->SubPieceExtent, this->SubPieceCellDimensions); |
| 287 | this->ComputeCellIncrements(this->SubPieceExtent, this->SubPieceCellIncrements); |
| 288 | |
| 289 | // Let the superclass read the data it wants. |
| 290 | return this->Superclass::ReadPieceData(); |
| 291 | } |
| 292 | |
| 293 | //------------------------------------------------------------------------------ |
| 294 | void vtkXMLPStructuredDataReader::CopyArrayForPoints( |
nothing calls this directly
no test coverage detected