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

Method DeleteIsoDoseLevel

Modules/RT/src/mitkIsoDoseLevelCollections.cpp:106–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void mitk::IsoDoseLevelSet::DeleteIsoDoseLevel(DoseValueType value)
107{
108 auto pos = std::find_if(this->m_IsoLevels.begin(), this->m_IsoLevels.end(), EqualDoseFunctor(value));
109
110 if (pos != this->m_IsoLevels.end())
111 {
112 this->m_IsoLevels.erase(pos);
113 }
114}
115
116void mitk::IsoDoseLevelSet::DeleteIsoDoseLevel(IsoLevelIndexType index)
117{

Callers 3

SetIsoDoseLevelMethod · 0.95
setDataMethod · 0.80
deleteLevelMethod · 0.80

Calls 4

EqualDoseFunctorClass · 0.85
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected