21#ifndef __qMRMLSceneHierarchyModel_h
22#define __qMRMLSceneHierarchyModel_h
26class qMRMLSceneHierarchyModelPrivate;
62 QObject *parent=
nullptr);
void observeNode(vtkMRMLNode *node) override
void setExpandColumn(int column)
qMRMLSceneHierarchyModel(qMRMLSceneHierarchyModelPrivate *pimpl, QObject *parent=nullptr)
bool canBeAParent(vtkMRMLNode *node) const override
fast function that only check the type of the node to know if it can be a parent.
qMRMLSceneModel Superclass
~qMRMLSceneHierarchyModel() override
void updateNodeFromItemData(vtkMRMLNode *node, QStandardItem *item) override
Reimplemented to add expandColumn support.
Qt::DropActions supportedDropActions() const override
int nodeIndex(vtkMRMLNode *node) const override
void updateItemDataFromNode(QStandardItem *item, vtkMRMLNode *node, int column) override
Reimplemented to add expandColumn support.
bool canBeAChild(vtkMRMLNode *node) const override
fast function that only check the type of the node to know if it can be a child.
int maxColumnId() const override
Must be reimplemented in subclasses that add new column types.
QFlags< Qt::ItemFlag > nodeFlags(vtkMRMLNode *node, int column) const override
vtkMRMLNode * parentNode(vtkMRMLNode *node) const override
bool reparent(vtkMRMLNode *node, vtkMRMLNode *newParent) override
if newParent == 0, set the node into the vtkMRMLScene
qMRMLSceneHierarchyModel(QObject *parent=nullptr)
qMRMLSceneModel(QObject *parent=nullptr)
Abstract Superclass for all specific types of MRML nodes.