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

Method GetAffectedLabelValues

Modules/Segmentation/src/Interactions/mitkSegTool2D.cpp:604–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604mitk::MultiLabelSegmentation::LabelValueVectorType mitk::SegTool2D::GetAffectedLabelValues() const
605{
606 if (auto* segmentation = this->GetWorkingData())
607 if (auto* activeLabel = segmentation->GetActiveLabel())
608 return { activeLabel->GetValue() };
609 return {};
610}
611
612void mitk::SegTool2D::WriteBackSegmentationResults(const DataNode* workingNode, const std::vector<SliceInformation>& sliceList, bool writeSliceToVolume, bool allowUndo, const std::string& toolName)
613{

Callers 1

Calls 3

GetWorkingDataMethod · 0.95
GetActiveLabelMethod · 0.80
GetValueMethod · 0.45

Tested by

no test coverage detected