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

Function LookupValue

Common/Core/vtkGenericDataArrayLookupHelper.h:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 vtkIdType LookupValue(ValueType elem)
69 {
70 this->UpdateLookup();
71 auto indices = FindIndexVec(elem);
72 if (indices == nullptr)
73 {
74 return -1;
75 }
76 return indices->front();
77 }
78
79 void LookupValue(ValueType elem, vtkIdList* ids)
80 {

Callers

nothing calls this directly

Calls 7

FindIndexVecFunction · 0.85
InsertNextIdMethod · 0.80
UpdateLookupMethod · 0.45
frontMethod · 0.45
ResetMethod · 0.45
AllocateMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected