| 476 | } |
| 477 | |
| 478 | mitk::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 | |
| 488 | mitk::DataNode* mitk::SegTool2D::GetReferenceDataNode() const |
| 489 | { |