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

Method GetSelectedNode

Modules/QtWidgets/src/QmitkDataStorageComboBox.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89mitk::DataNode::Pointer QmitkDataStorageComboBox::GetSelectedNode() const
90{
91 if (this->count() == 0)
92 return nullptr;
93
94 int currentIndex = this->currentIndex();
95
96 return currentIndex >= 0 ? this->GetNode(currentIndex) : nullptr;
97}
98
99mitk::DataStorage::SetOfObjects::ConstPointer QmitkDataStorageComboBox::GetNodes() const
100{

Callers 15

OnCurrentIndexChangedMethod · 0.95
OnPerturbeSurfaceMethod · 0.45
OnAddOutliersMethod · 0.45
OnMoveToOriginClickedMethod · 0.45
OnComputeCoGMethod · 0.45
CreateSurfaceMethod · 0.45
OnStampMethod · 0.45
OnSegSelectionChangedMethod · 0.45
ConfigureWidgetsMethod · 0.45

Calls 2

GetNodeMethod · 0.95
countMethod · 0.80

Tested by

no test coverage detected