MCPcopy Create free account
hub / github.com/Kitware/VTK / CopyArrayForPoints

Method CopyArrayForPoints

IO/XML/vtkXMLPUnstructuredDataReader.cxx:340–354  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

338
339//------------------------------------------------------------------------------
340void 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//------------------------------------------------------------------------------
357void vtkXMLPUnstructuredDataReader::CopyCellArray(

Callers 1

ReadPieceDataMethod · 0.95

Calls 2

GetNumberOfPointsMethod · 0.45
InsertTuplesMethod · 0.45

Tested by

no test coverage detected