21 #ifndef __qMRMLSceneDisplayableModel_h 22 #define __qMRMLSceneDisplayableModel_h 26 class qMRMLSceneDisplayableModelPrivate;
38 Q_PROPERTY (
int colorColumn READ colorColumn WRITE setColorColumn)
41 Q_PROPERTY (
int opacityColumn READ opacityColumn WRITE setOpacityColumn)
49 int colorColumn()
const;
50 void setColorColumn(
int column);
52 int opacityColumn()
const;
53 void setOpacityColumn(
int column);
virtual bool canBeAParent(vtkMRMLNode *node) const
fast function that only check the type of the node to know if it can be a parent. ...
qMRMLSceneHierarchyModel Superclass
virtual bool canBeAChild(vtkMRMLNode *node) const
fast function that only check the type of the node to know if it can be a child.
void updateItemDataFromNode(QStandardItem *item, vtkMRMLNode *node, int column)
Reimplemented to add expandColumn support.
virtual int maxColumnId() const
Must be reimplemented in subclasses that add new column types.
The Visibility icon is in the same column than the name by default.
virtual QFlags< Qt::ItemFlag > nodeFlags(vtkMRMLNode *node, int column) const
void updateNodeFromItemData(vtkMRMLNode *node, QStandardItem *item)
Reimplemented to add expandColumn support.
virtual vtkMRMLNode * parentNode(vtkMRMLNode *node) const
virtual void observeNode(vtkMRMLNode *node)
Abstract Superclass for all specific types of MRML nodes.