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

Method FillArraySelection

IO/NetCDF/vtkNetCDFUGRIDReader.cxx:532–541  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

530
531//--------------------------------------------------------------------------------------------------
532bool vtkNetCDFUGRIDReader::FillArraySelection(
533 const std::vector<int>& varIds, vtkDataArraySelection* selection)
534{
535 for (int var : varIds)
536 {
537 selection->AddArray(this->GetVariableName(var).c_str());
538 }
539
540 return true;
541}
542
543//--------------------------------------------------------------------------------------------------
544struct PointsExtractor

Callers 1

ParseHeaderMethod · 0.95

Calls 3

GetVariableNameMethod · 0.95
AddArrayMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected