| 206 | } |
| 207 | |
| 208 | void QmitkSingleNodeSelectionWidget::AutoSelectNodes() |
| 209 | { |
| 210 | if (this->GetSelectedNode().IsNull() && m_AutoSelectNodes) |
| 211 | { |
| 212 | auto autoNode = this->DetermineAutoSelectNode(); |
| 213 | |
| 214 | if (autoNode.IsNotNull()) |
| 215 | { |
| 216 | this->HandleChangeOfInternalSelection({ autoNode }); |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | mitk::DataNode::Pointer QmitkSingleNodeSelectionWidget::DetermineAutoSelectNode(const NodeList& ignoreNodes) |
| 222 | { |
no test coverage detected