MCPcopy Create free account
hub / github.com/MITK/MITK / GetToolById

Method GetToolById

Modules/Segmentation/src/Controllers/mitkToolManager.cpp:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158mitk::Tool *mitk::ToolManager::GetToolById(int id)
159{
160 if (id >= 0 && id < static_cast<int>(m_Tools.size()))
161 return m_Tools[id];
162
163 return nullptr;
164}
165
166bool mitk::ToolManager::ActivateTool(int id)
167{

Callers 8

ActivateToolMethod · 0.95
GetToolIdByToolNameMethod · 0.80
RunTestWithParametersMethod · 0.80
OnShowMarkerNodesMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 3

GetToolIdByToolNameMethod · 0.64
RunTestWithParametersMethod · 0.64