|
virtual vtkMRMLNode * | activeHierarchyNode (vtkMRMLNode *mrmlNode) const |
|
bool | areAnnotationsParent () const |
|
bool | canBeAParent (vtkMRMLNode *node) const override |
| fast function that only check the type of the node to know if it can be a parent. More...
|
|
int | editColumn () const |
|
int | lockColumn () const |
|
vtkMRMLNode * | parentNode (vtkMRMLNode *node) const override |
|
| qMRMLSceneAnnotationModel (QObject *parent=nullptr) |
|
void | setAnnotationsAreParent (bool parentable) |
|
void | setEditColumn (int column) |
|
void | setLockColumn (int column) |
|
void | setLogic (vtkSlicerAnnotationModuleLogic *logic) |
|
void | setTextColumn (int column) |
|
void | setValueColumn (int column) |
|
int | textColumn () const |
|
int | valueColumn () const |
|
| ~qMRMLSceneAnnotationModel () override |
|
bool | canBeAChild (vtkMRMLNode *node) const override |
| fast function that only check the type of the node to know if it can be a child. More...
|
|
int | colorColumn () const |
|
int | opacityColumn () const |
|
| qMRMLSceneDisplayableModel (QObject *parent=nullptr) |
|
void | setColorColumn (int column) |
|
void | setOpacityColumn (int column) |
|
| ~qMRMLSceneDisplayableModel () override |
|
bool | canBeAChild (vtkMRMLNode *node) const override |
| fast function that only check the type of the node to know if it can be a child. More...
|
|
int | expandColumn () const |
|
int | nodeIndex (vtkMRMLNode *node) const override |
|
| qMRMLSceneHierarchyModel (QObject *parent=nullptr) |
|
bool | reparent (vtkMRMLNode *node, vtkMRMLNode *newParent) override |
| if newParent == 0, set the node into the vtkMRMLScene More...
|
|
void | setExpandColumn (int column) |
|
Qt::DropActions | supportedDropActions () const override |
|
| ~qMRMLSceneHierarchyModel () override |
|
int | checkableColumn () const |
|
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
|
int | extraItemColumn () const |
|
int | idColumn () const |
|
QModelIndexList | indexes (vtkMRMLNode *node) const |
|
QModelIndex | indexFromNode (vtkMRMLNode *node, int column=0) const |
|
bool | isAffiliatedNode (vtkMRMLNode *nodeA, vtkMRMLNode *nodeB) const |
|
bool | isParentNode (vtkMRMLNode *child, vtkMRMLNode *parent) const |
|
QStandardItem * | itemFromNode (vtkMRMLNode *node, int column=0) const |
|
bool | lazyUpdate () const |
|
NodeTypes | listenNodeModifiedEvent () const |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
|
vtkMRMLNode * | mrmlNodeFromIndex (const QModelIndex &nodeIndex) const |
|
vtkMRMLNode * | mrmlNodeFromItem (QStandardItem *nodeItem) const |
|
Q_INVOKABLE vtkMRMLScene * | mrmlScene () const |
|
QModelIndex | mrmlSceneIndex () const |
| invalid until a valid scene is set More...
|
|
QStandardItem * | mrmlSceneItem () const |
| 0 until a valid scene is set More...
|
|
int | nameColumn () const |
|
QStringList | postItems (QStandardItem *parent) const |
|
QStringList | preItems (QStandardItem *parent) const |
|
| qMRMLSceneModel (QObject *parent=nullptr) |
|
void | setCheckableColumn (int column) |
|
void | setExtraItemColumn (int column) |
|
void | setIDColumn (int column) |
|
void | setLazyUpdate (bool lazy) |
|
void | setListenNodeModifiedEvent (NodeTypes nodesToListen) |
|
virtual Q_INVOKABLE void | setMRMLScene (vtkMRMLScene *scene) |
| 0 by default More...
|
|
void | setNameColumn (int column) |
|
void | setPostItems (const QStringList &extraItems, QStandardItem *parent) |
|
void | setPreItems (const QStringList &extraItems, QStandardItem *parent) |
|
void | setToolTipNameColumn (int column) |
|
void | setVisibilityColumn (int column) |
|
Qt::DropActions | supportedDropActions () const override |
|
int | toolTipNameColumn () const |
|
int | visibilityColumn () const |
|
| ~qMRMLSceneModel () override |
|
|
int | maxColumnId () const override |
| Must be reimplemented in subclasses that add new column types. More...
|
|
QFlags< Qt::ItemFlag > | nodeFlags (vtkMRMLNode *node, int column) const override |
|
| qMRMLSceneAnnotationModel (qMRMLSceneAnnotationModelPrivate *pimpl, QObject *parent=nullptr) |
|
void | updateItemDataFromNode (QStandardItem *item, vtkMRMLNode *node, int column) override |
|
void | updateNodeFromItemData (vtkMRMLNode *node, QStandardItem *item) override |
|
void | observeNode (vtkMRMLNode *node) override |
|
| qMRMLSceneDisplayableModel (qMRMLSceneDisplayableModelPrivate *pimpl, QObject *parent=nullptr) |
|
void | observeNode (vtkMRMLNode *node) override |
|
| qMRMLSceneHierarchyModel (qMRMLSceneHierarchyModelPrivate *pimpl, QObject *parent=nullptr) |
|
virtual QStandardItem * | insertNode (vtkMRMLNode *node) |
|
virtual QStandardItem * | insertNode (vtkMRMLNode *node, QStandardItem *parent, int row=-1) |
|
virtual bool | isANode (const QStandardItem *item) const |
|
virtual void | populateScene () |
|
| qMRMLSceneModel (qMRMLSceneModelPrivate *pimpl, QObject *parent=nullptr) |
|
virtual void | updateItemFromNode (QStandardItem *item, vtkMRMLNode *node, int column) |
|
virtual void | updateNodeFromItem (vtkMRMLNode *node, QStandardItem *item) |
|
void | updateNodeItems () |
| You shouldn't need to call this function. More...
|
|
void | updateNodeItems (vtkMRMLNode *node, const QString &uid) |
| Update the items associated with the node and uid. More...
|
|
virtual void | updateScene () |
|
|
void | aboutToReparentByDragAndDrop (vtkMRMLNode *node, vtkMRMLNode *newParent) |
|
void | reparentedByDragAndDrop (vtkMRMLNode *node, vtkMRMLNode *newParent) |
|
void | sceneAboutToBeUpdated () |
| This signal is sent when the scene is about to be updated. More...
|
|
void | sceneUpdated () |
| This signal is sent after the scene is updated. More...
|
|
virtual void | delayedItemChanged () |
|
virtual void | onItemChanged (QStandardItem *item) |
|
void | onMRMLNodeIDChanged (vtkObject *node, void *callData) |
|
void | onMRMLNodeModified (vtkObject *node) |
|
virtual void | onMRMLSceneAboutToBeClosed (vtkMRMLScene *scene) |
|
virtual void | onMRMLSceneAboutToBeImported (vtkMRMLScene *scene) |
|
virtual void | onMRMLSceneClosed (vtkMRMLScene *scene) |
|
void | onMRMLSceneDeleted (vtkObject *scene) |
|
virtual void | onMRMLSceneEndBatchProcess (vtkMRMLScene *scene) |
|
virtual void | onMRMLSceneImported (vtkMRMLScene *scene) |
|
virtual void | onMRMLSceneNodeAboutToBeAdded (vtkMRMLScene *scene, vtkMRMLNode *node) |
|
virtual void | onMRMLSceneNodeAboutToBeRemoved (vtkMRMLScene *scene, vtkMRMLNode *node) |
|
virtual void | onMRMLSceneNodeAdded (vtkMRMLScene *scene, vtkMRMLNode *node) |
|
virtual void | onMRMLSceneNodeRemoved (vtkMRMLScene *scene, vtkMRMLNode *node) |
|
virtual void | onMRMLSceneStartBatchProcess (vtkMRMLScene *scene) |
|
void | updateColumnCount () |
|
static void | onMRMLSceneEvent (vtkObject *vtk_obj, unsigned long event, void *client_data, void *call_data) |
|
QScopedPointer< qMRMLSceneModelPrivate > | d_ptr |
|
- See also
- vtkMRMLAnnotationNode, vtkSlicerAnnotationLogic
Definition at line 39 of file qMRMLSceneAnnotationModel.h.