DebugLayerControlWidget Class Reference

#include <RobotAPI/libraries/widgets/DebugLayerControlWidget.h>

+ Inheritance diagram for DebugLayerControlWidget:

Public Slots

void layerToggleVisibility (QString layerName)
 
void updateLayers ()
 

Public Member Functions

 DebugLayerControlWidget (QWidget *parent=0)
 
void setEntityDrawer (armarx::DebugDrawerComponentPtr entityDrawer)
 
 ~DebugLayerControlWidget () override
 

Protected Slots

void layerRemove (QString layerName)
 

Static Protected Member Functions

static void onTimer (void *data, SoSensor *sensor)
 

Protected Attributes

armarx::DebugDrawerComponentPtr entityDrawer
 
QSignalMapper layerSignalMapperRemove
 Maps events to remove a layer. More...
 
QSignalMapper layerSignalMapperVisible
 Maps events to toggle a layer's visibility from checkboxes contained in the table to layerToggleVisibility. More...
 
std::unordered_map< std::string, bool > layerVisibility
 Stores whether a layer is currently visible. More...
 
SoTimerSensor * timerSensor
 

Detailed Description

Definition at line 54 of file DebugLayerControlWidget.h.

Constructor & Destructor Documentation

◆ DebugLayerControlWidget()

DebugLayerControlWidget ( QWidget *  parent = 0)

Definition at line 29 of file DebugLayerControlWidget.cpp.

+ Here is the call graph for this function:

◆ ~DebugLayerControlWidget()

~DebugLayerControlWidget ( )
override

Definition at line 47 of file DebugLayerControlWidget.cpp.

Member Function Documentation

◆ layerRemove

void layerRemove ( QString  layerName)
protectedslot

Definition at line 120 of file DebugLayerControlWidget.cpp.

+ Here is the caller graph for this function:

◆ layerToggleVisibility

void layerToggleVisibility ( QString  layerName)
slot

Definition at line 103 of file DebugLayerControlWidget.cpp.

+ Here is the caller graph for this function:

◆ onTimer()

void onTimer ( void *  data,
SoSensor *  sensor 
)
staticprotected

Definition at line 135 of file DebugLayerControlWidget.cpp.

+ Here is the caller graph for this function:

◆ setEntityDrawer()

void setEntityDrawer ( armarx::DebugDrawerComponentPtr  entityDrawer)

Definition at line 58 of file DebugLayerControlWidget.cpp.

◆ updateLayers

void updateLayers ( )
slot

Definition at line 63 of file DebugLayerControlWidget.cpp.

Member Data Documentation

◆ entityDrawer

armarx::DebugDrawerComponentPtr entityDrawer
protected

Definition at line 69 of file DebugLayerControlWidget.h.

◆ layerSignalMapperRemove

QSignalMapper layerSignalMapperRemove
protected

Maps events to remove a layer.

Definition at line 78 of file DebugLayerControlWidget.h.

◆ layerSignalMapperVisible

QSignalMapper layerSignalMapperVisible
protected

Maps events to toggle a layer's visibility from checkboxes contained in the table to layerToggleVisibility.

Definition at line 74 of file DebugLayerControlWidget.h.

◆ layerVisibility

std::unordered_map<std::string, bool> layerVisibility
protected

Stores whether a layer is currently visible.

Definition at line 82 of file DebugLayerControlWidget.h.

◆ timerSensor

SoTimerSensor* timerSensor
protected

Definition at line 70 of file DebugLayerControlWidget.h.


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