------------------------------------------------------------------------------
| 338 | |
| 339 | //------------------------------------------------------------------------------ |
| 340 | void vtkXMLPUnstructuredDataReader::CopyArrayForPoints( |
| 341 | vtkAbstractArray* inArray, vtkAbstractArray* outArray) |
| 342 | { |
| 343 | if (!this->PieceReaders[this->Piece]) |
| 344 | { |
| 345 | return; |
| 346 | } |
| 347 | if (!inArray || !outArray) |
| 348 | { |
| 349 | return; |
| 350 | } |
| 351 | |
| 352 | vtkIdType numPoints = this->PieceReaders[this->Piece]->GetNumberOfPoints(); |
| 353 | outArray->InsertTuples(this->StartPoint, numPoints, 0, inArray); |
| 354 | } |
| 355 | |
| 356 | //------------------------------------------------------------------------------ |
| 357 | void vtkXMLPUnstructuredDataReader::CopyCellArray( |
no test coverage detected