|
Manages the layer info QTreeWidget
.
More...
#include <RobotAPI/gui-plugins/ArViz/LayerInfoTree.h>
Public Member Functions | |
LayerInfoTree () | |
void | registerVisualizerCallbacks (viz::CoinVisualizer &visualizer) |
void | setEnabled (bool enabled) |
Enable or disable the layer info tree. More... | |
void | setMaxElementCountDefault (int max) |
void | setSelectedLayer (viz::CoinLayerID id, viz::CoinLayerMap *layers) |
Set the selected layer. More... | |
void | setWidget (QTreeWidget *treeWidget) |
void | update () |
Update the currently expanded layer elements. More... | |
virtual | ~LayerInfoTree ()=default |
Manages the layer info QTreeWidget
.
Definition at line 16 of file LayerInfoTree.h.
LayerInfoTree | ( | ) |
Definition at line 22 of file LayerInfoTree.cpp.
|
virtualdefault |
void registerVisualizerCallbacks | ( | viz::CoinVisualizer & | visualizer | ) |
Definition at line 65 of file LayerInfoTree.cpp.
void setEnabled | ( | bool | enabled | ) |
Enable or disable the layer info tree.
When enabled, the tree will be filled on the first update. When disabled, the tree is cleared and will not be updated.
Definition at line 82 of file LayerInfoTree.cpp.
void setMaxElementCountDefault | ( | int | max | ) |
Definition at line 77 of file LayerInfoTree.cpp.
void setSelectedLayer | ( | viz::CoinLayerID | id, |
viz::CoinLayerMap * | layers | ||
) |
Set the selected layer.
Definition at line 98 of file LayerInfoTree.cpp.
void setWidget | ( | QTreeWidget * | treeWidget | ) |
Definition at line 26 of file LayerInfoTree.cpp.
void update | ( | ) |
Update the currently expanded layer elements.
Definition at line 112 of file LayerInfoTree.cpp.