| 495 | } |
| 496 | |
| 497 | mitk::Image* mitk::SegTool2D::GetReferenceData() const |
| 498 | { |
| 499 | auto node = this->GetReferenceDataNode(); |
| 500 | if (nullptr != node) |
| 501 | { |
| 502 | return dynamic_cast<Image*>(node->GetData()); |
| 503 | } |
| 504 | return nullptr; |
| 505 | } |
| 506 | |
| 507 | |
| 508 | void mitk::SegTool2D::WriteBackSegmentationResult(const InteractionPositionEvent *positionEvent, const Image * segmentationResult) |