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

Method ReadArrayTuples

IO/XML/vtkXMLReader.cxx:1020–1028  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1018
1019//------------------------------------------------------------------------------
1020int vtkXMLReader::ReadArrayTuples(vtkXMLDataElement* da, vtkIdType arrayTupleIndex,
1021 vtkAbstractArray* array, vtkIdType startTupleIndex, vtkIdType numTuples, FieldType fieldType)
1022{
1023 assert(array != nullptr);
1024
1025 int noc = array->GetNumberOfComponents();
1026 return this->ReadArrayValues(
1027 da, noc * arrayTupleIndex, array, noc * startTupleIndex, noc * numTuples, fieldType);
1028}
1029
1030//------------------------------------------------------------------------------
1031void vtkXMLReader::ReadXMLData()

Callers 1

ReadTrees_2Method · 0.80

Calls 3

ReadArrayValuesMethod · 0.95
assertFunction · 0.50
GetNumberOfComponentsMethod · 0.45

Tested by

no test coverage detected