36 std::vector<mitk::DataNode::Pointer> dataNodes;
40 if (dataStorage.IsNotNull())
42 mitk::DataStorage::SetOfObjects::ConstPointer nodesCandidats;
49 nodesCandidats = dataStorage->GetAll();
56 auto finding = std::find(nodesCandidats->begin(), nodesCandidats->end(), historyNode);
57 if (finding != nodesCandidats->end())
59 dataNodes.push_back(*finding);
itk::SmartPointer< T > Lock() const
QmitkDataStorageHistoryModel(QObject *parent)
The 'QmitkDataStorageDefaultListModel' is a basic list model, derived from the 'QmitkAbstractDataStor...
NodeHistoryType _nodeHistory
std::vector< mitk::DataNode::Pointer > m_DataNodes
mitk::NodePredicateBase::ConstPointer m_NodePredicate
bool IsExpired() const noexcept
std::deque< const mitk::DataNode *> NodeHistoryType
static void AddNodeToHistory(mitk::DataNode *node)
void UpdateModelData() override
static void ResetHistory()
Class for nodes of the DataTree.
mitk::WeakPointer< mitk::DataStorage > m_DataStorage