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

Method GetPlanePosition

Modules/Core/src/Controllers/mitkPlanePositionManager.cpp:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84mitk::RestorePlanePositionOperation *mitk::PlanePositionManagerService::GetPlanePosition(unsigned int ID)
85{
86 if (ID < m_PositionList.size())
87 {
88 return m_PositionList[ID];
89 }
90 else
91 {
92 MITK_WARN << "GetPlanePosition returned nullptr!";
93 return nullptr;
94 }
95}
96
97unsigned int mitk::PlanePositionManagerService::GetNumberOfPlanePositions()
98{

Callers 3

testGetPlanePositionFunction · 0.80
testRemoveAllFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

testGetPlanePositionFunction · 0.64
testRemoveAllFunction · 0.64