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

Method GetCoordinates

IO/NetCDF/vtkXArrayAccessor.cxx:671–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671bool vtkXArrayAccessor::GetCoordinates(
672 int vtkNotUsed(ncid), int varId, std::vector<std::string>& coordName)
673{
674 coordName.resize(this->VarCoords[varId].size());
675 std::transform(this->VarCoords[varId].begin(), this->VarCoords[varId].end(), coordName.begin(),
676 [this](size_t index) { return this->Var[index]; });
677 return true;
678}
679
680bool vtkXArrayAccessor::NeedsFileName()
681{

Callers 6

LoadMetaDataMethod · 0.45
GetTimeValuesMethod · 0.45

Calls 5

transformFunction · 0.50
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected