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

Method SetActiveObject

Web/Core/vtkObjectIdMap.cxx:78–86  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

76
77//------------------------------------------------------------------------------
78vtkTypeUInt32 vtkObjectIdMap::SetActiveObject(const char* objectType, vtkObject* obj)
79{
80 if (objectType)
81 {
82 this->Internals->ActiveObjects[objectType] = obj;
83 return this->GetGlobalId(obj);
84 }
85 return 0;
86}
87
88//------------------------------------------------------------------------------
89vtkObject* vtkObjectIdMap::GetActiveObject(const char* objectType)

Callers 1

setActiveViewMethod · 0.80

Calls 1

GetGlobalIdMethod · 0.95

Tested by

no test coverage detected