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

Method GetAffectedWorkingSlice

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

Source from the content-addressed store, hash-verified

335}
336
337mitk::Image::Pointer mitk::SegTool2D::GetAffectedWorkingSlice(const InteractionPositionEvent *positionEvent) const
338{
339 const auto workingData = this->GetWorkingData();
340 if (!workingData)
341 {
342 return nullptr;
343 }
344
345 return GetAffectedImageSliceAs2DImage(positionEvent, workingData->GetGroupImage(workingData->GetActiveLayer()));
346}
347
348mitk::Image::Pointer mitk::SegTool2D::GetAffectedReferenceSlice(const InteractionPositionEvent *positionEvent) const
349{

Callers 1

OnClickMethod · 0.80

Calls 3

GetWorkingDataMethod · 0.95
GetActiveLayerMethod · 0.80
GetGroupImageMethod · 0.45

Tested by

no test coverage detected