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

Method GetVTKObject

Web/Core/vtkObjectIdMap.cxx:67–75  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

65
66//------------------------------------------------------------------------------
67vtkObject* vtkObjectIdMap::GetVTKObject(vtkTypeUInt32 globalId)
68{
69 auto iter = this->Internals->Object.find(globalId);
70 if (iter == this->Internals->Object.end())
71 {
72 return nullptr;
73 }
74 return iter->second;
75}
76
77//------------------------------------------------------------------------------
78vtkTypeUInt32 vtkObjectIdMap::SetActiveObject(const char* objectType, vtkObject* obj)

Callers 1

mapIdToObjectMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected