#include <scene_win_model.hh>
Inherits ost::gfx::SceneObserver.
Public Member Functions | |
| SceneWinModel (QObject *parent=NULL) | |
| ~SceneWinModel () | |
| gfx::NodePtrList | GetGfxNodes (QModelIndexList indexes) |
| mol::QueryViewWrapperList | GetQueryViewsList (QModelIndexList indexes) |
| gfx::EntityP | GetEntityOfViews (QModelIndexList indexes) |
| virtual void | Update () |
| SceneNode * | GetItem (const QModelIndex &index) const |
| SceneNode * | FindGfxNode (gfx::GfxNodeP node) const |
| bool | AddNode (SceneNode *parent, SceneNode *child) |
| bool | RemoveNode (SceneNode *node) |
| void | AttachRenderModeObserver (RenderModesNode *node) |
| void | DetachRenderModeObserver (RenderModesNode *node) |
| QModelIndex | GetIndexOf (SceneNode *node, int column=0) |
| QModelIndex | index (int row, int col, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual Qt::ItemFlags | flags (const QModelIndex &index=QModelIndex()) const |
| virtual bool | setData (const QModelIndex &index=QModelIndex(), const QVariant &value=QVariant(), int role=Qt::DisplayRole) |
| virtual QStringList | mimeTypes () const |
| Qt::DropActions | supportedDragActions () const |
| virtual QMimeData * | mimeData (const QModelIndexList &indexes) const |
| virtual void | NodeAdded (const gfx::GfxNodeP &node) |
| virtual void | NodeRemoved (const gfx::GfxNodeP &node) |
| virtual void | SelectionChanged (const gfx::GfxObjP &obj, const mol::EntityView &sel) |
| virtual void | RenderModeChanged (const gfx::GfxNodeP &node) |
Definition at line 47 of file scene_win_model.hh.
| SceneWinModel | ( | QObject * | parent = NULL |
) |
| ~SceneWinModel | ( | ) |
| void AttachRenderModeObserver | ( | RenderModesNode * | node | ) |
| int columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| QVariant data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
| void DetachRenderModeObserver | ( | RenderModesNode * | node | ) |
| SceneNode* FindGfxNode | ( | gfx::GfxNodeP | node | ) | const |
| virtual Qt::ItemFlags flags | ( | const QModelIndex & | index = QModelIndex() |
) | const [virtual] |
| gfx::EntityP GetEntityOfViews | ( | QModelIndexList | indexes | ) |
| gfx::NodePtrList GetGfxNodes | ( | QModelIndexList | indexes | ) |
| QModelIndex GetIndexOf | ( | SceneNode * | node, | |
| int | column = 0 | |||
| ) |
| SceneNode* GetItem | ( | const QModelIndex & | index | ) | const |
| mol::QueryViewWrapperList GetQueryViewsList | ( | QModelIndexList | indexes | ) |
| QVariant headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const |
| QModelIndex index | ( | int | row, | |
| int | col, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
| virtual QMimeData* mimeData | ( | const QModelIndexList & | indexes | ) | const [virtual] |
| virtual QStringList mimeTypes | ( | ) | const [virtual] |
| virtual void NodeAdded | ( | const gfx::GfxNodeP & | node | ) | [virtual] |
| virtual void NodeRemoved | ( | const gfx::GfxNodeP & | node | ) | [virtual] |
| QModelIndex parent | ( | const QModelIndex & | index | ) | const |
| bool RemoveNode | ( | SceneNode * | node | ) |
| virtual void RenderModeChanged | ( | const gfx::GfxNodeP & | node | ) | [virtual] |
| int rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| virtual void SelectionChanged | ( | const gfx::GfxObjP & | obj, | |
| const mol::EntityView & | sel | |||
| ) | [virtual] |
| virtual bool setData | ( | const QModelIndex & | index = QModelIndex(), |
|
| const QVariant & | value = QVariant(), |
|||
| int | role = Qt::DisplayRole | |||
| ) | [virtual] |
| Qt::DropActions supportedDragActions | ( | ) | const |
| virtual void Update | ( | ) | [virtual] |
1.5.8