DebugDrawerComponent.cpp File Reference
#include "DebugDrawerComponent.h"
#include <RobotAPI/libraries/core/math/ColorUtils.h>
#include <VirtualRobot/VirtualRobot.h>
#include <VirtualRobot/Visualization/CoinVisualization/CoinVisualizationFactory.h>
#include <VirtualRobot/Visualization/CoinVisualization/CoinVisualization.h>
#include <Inventor/nodes/SoUnits.h>
#include <Inventor/nodes/SoCube.h>
#include <Inventor/nodes/SoMaterial.h>
#include <Inventor/nodes/SoAnnotation.h>
#include <Inventor/nodes/SoTransform.h>
#include <Inventor/nodes/SoFont.h>
#include <Inventor/nodes/SoText2.h>
#include <Inventor/nodes/SoSphere.h>
#include <Inventor/nodes/SoCylinder.h>
#include <Inventor/nodes/SoComplexity.h>
#include <Inventor/nodes/SoCoordinate3.h>
#include <Inventor/nodes/SoPointSet.h>
#include <Inventor/actions/SoWriteAction.h>
#include <Inventor/nodes/SoTranslation.h>
#include <Inventor/nodes/SoMaterialBinding.h>
#include <Inventor/nodes/SoDrawStyle.h>
#include <Inventor/nodes/SoLineSet.h>
#include <Inventor/SbVec3f.h>
#include <Inventor/fields/SoMFVec3f.h>
#include <Inventor/fields/SoMFColor.h>
#include <Inventor/nodes/SoShapeHints.h>
#include <ArmarXCore/core/system/ArmarXDataPath.h>
#include <ArmarXCore/core/system/cmake/CMakePackageFinder.h>
#include <SimoxUtility/algorithm/string/string_tools.h>
#include <VirtualRobot/Robot.h>
#include <VirtualRobot/XML/RobotIO.h>
#include <VirtualRobot/Visualization/CoinVisualization/CoinVisualizationNode.h>
#include <VirtualRobot/Visualization/TriMeshModel.h>
+ Include dependency graph for DebugDrawerComponent.cpp:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 

Macros

#define SELECTION_NAME(layerName, elementName)   simox::alg::replace_all(std::string(SELECTION_NAME_PREFIX + "_" + layerName + SELECTION_NAME_SPLITTER + elementName), " ", "_").c_str()
 
#define SELECTION_NAME_PREFIX   ("selection_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)))
 
#define SELECTION_NAME_SPLITTER   "____"
 

Functions

void deselection_callback (void *userdata, SoPath *path)
 
Eigen::Vector3f GetOrthonormalVectors (Eigen::Vector3f vec, Eigen::Vector3f &dir1, Eigen::Vector3f &dir2)
 
template<class UpdateDataType >
void removeUpdateDataFromMap (const std::string &layerName, std::map< std::string, UpdateDataType > &map)
 
void selection_callback (void *userdata, SoPath *path)
 

Macro Definition Documentation

◆ SELECTION_NAME

#define SELECTION_NAME (   layerName,
  elementName 
)    simox::alg::replace_all(std::string(SELECTION_NAME_PREFIX + "_" + layerName + SELECTION_NAME_SPLITTER + elementName), " ", "_").c_str()

Definition at line 70 of file DebugDrawerComponent.cpp.

◆ SELECTION_NAME_PREFIX

#define SELECTION_NAME_PREFIX   ("selection_" + std::to_string(reinterpret_cast<std::uintptr_t>(this)))

Definition at line 68 of file DebugDrawerComponent.cpp.

◆ SELECTION_NAME_SPLITTER

#define SELECTION_NAME_SPLITTER   "____"

Definition at line 69 of file DebugDrawerComponent.cpp.