#include <WSceneDataModel.h>
|
| WNodeDataModel () |
|
void | setScene (std::shared_ptr< dyno::SceneGraph > scene) |
|
virtual Wt::WModelIndex | parent (const Wt::WModelIndex &index) const |
|
virtual Wt::WModelIndex | index (int row, int column, const Wt::WModelIndex &parent=Wt::WModelIndex()) const |
|
virtual int | columnCount (const Wt::WModelIndex &parent=Wt::WModelIndex()) const |
|
virtual int | rowCount (const Wt::WModelIndex &parent=Wt::WModelIndex()) const |
|
virtual Wt::cpp17::any | data (const Wt::WModelIndex &index, Wt::ItemDataRole role=Wt::ItemDataRole::Display) const |
|
virtual Wt::cpp17::any | headerData (int section, Wt::Orientation orientation=Wt::Orientation::Horizontal, Wt::ItemDataRole role=Wt::ItemDataRole::Display) const |
|
std::shared_ptr< dyno::Node > | getNode (const Wt::WModelIndex &index) |
|
Definition at line 20 of file WSceneDataModel.h.
◆ WNodeDataModel()
WNodeDataModel::WNodeDataModel |
( |
| ) |
|
◆ columnCount()
int WNodeDataModel::columnCount |
( |
const Wt::WModelIndex & | parent = Wt::WModelIndex() | ) |
const |
|
virtual |
◆ data()
Wt::cpp17::any WNodeDataModel::data |
( |
const Wt::WModelIndex & | index, |
|
|
Wt::ItemDataRole | role = Wt::ItemDataRole::Display ) const |
|
virtual |
◆ getNode()
std::shared_ptr< dyno::Node > WNodeDataModel::getNode |
( |
const Wt::WModelIndex & | index | ) |
|
◆ headerData()
Wt::cpp17::any WNodeDataModel::headerData |
( |
int | section, |
|
|
Wt::Orientation | orientation = Wt::Orientation::Horizontal, |
|
|
Wt::ItemDataRole | role = Wt::ItemDataRole::Display ) const |
|
virtual |
◆ index()
Wt::WModelIndex WNodeDataModel::index |
( |
int | row, |
|
|
int | column, |
|
|
const Wt::WModelIndex & | parent = Wt::WModelIndex() ) const |
|
virtual |
◆ parent()
Wt::WModelIndex WNodeDataModel::parent |
( |
const Wt::WModelIndex & | index | ) |
const |
|
virtual |
◆ rowCount()
int WNodeDataModel::rowCount |
( |
const Wt::WModelIndex & | parent = Wt::WModelIndex() | ) |
const |
|
virtual |
◆ setScene()
◆ mNodeList
std::vector<NodeItem*> WNodeDataModel::mNodeList |
|
private |
◆ mScene
The documentation for this class was generated from the following files: