LayerInfoTree Class Reference

Manages the layer info QTreeWidget. More...

#include <RobotAPI/gui-plugins/ArViz/LayerInfoTree.h>

+ Inheritance diagram for LayerInfoTree:

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
 

Detailed Description

Manages the layer info QTreeWidget.

Definition at line 16 of file LayerInfoTree.h.

Constructor & Destructor Documentation

◆ LayerInfoTree()

Definition at line 22 of file LayerInfoTree.cpp.

◆ ~LayerInfoTree()

virtual ~LayerInfoTree ( )
virtualdefault

Member Function Documentation

◆ registerVisualizerCallbacks()

void registerVisualizerCallbacks ( viz::CoinVisualizer visualizer)

Definition at line 65 of file LayerInfoTree.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEnabled()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMaxElementCountDefault()

void setMaxElementCountDefault ( int  max)

Definition at line 77 of file LayerInfoTree.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSelectedLayer()

void setSelectedLayer ( viz::CoinLayerID  id,
viz::CoinLayerMap layers 
)

Set the selected layer.

Definition at line 98 of file LayerInfoTree.cpp.

+ Here is the call graph for this function:

◆ setWidget()

void setWidget ( QTreeWidget *  treeWidget)

Definition at line 26 of file LayerInfoTree.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

void update ( )

Update the currently expanded layer elements.

Definition at line 112 of file LayerInfoTree.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: