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

Method GetWorkingData

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

Source from the content-addressed store, hash-verified

476}
477
478mitk::MultiLabelSegmentation* mitk::SegTool2D::GetWorkingData() const
479{
480 auto node = this->GetWorkingDataNode();
481 if (nullptr != node)
482 {
483 return dynamic_cast<MultiLabelSegmentation*>(node->GetData());
484 }
485 return nullptr;
486}
487
488mitk::DataNode* mitk::SegTool2D::GetReferenceDataNode() const
489{

Calls 2

GetWorkingDataNodeMethod · 0.95
GetDataMethod · 0.45

Tested by 1

TestSetterMethodsMethod · 0.36