AffordancePipelineVisualization.cpp File Reference
#include "AffordancePipelineVisualization.h"
#include <ArmarXCore/core/system/ArmarXDataPath.h>
#include <MemoryX/libraries/memorytypes/entity/Affordance.h>
#include <MemoryX/libraries/memorytypes/entity/EnvironmentalPrimitive.h>
#include <MemoryX/libraries/memorytypes/MemoryXTypesObjectFactories.h>
#include <MemoryX/core/MemoryXCoreObjectFactories.h>
#include <VisionX/libraries/AffordanceKitArmarX/UnimanualAffordanceArmarX.h>
#include <VisionX/libraries/AffordanceKitArmarX/BimanualAffordanceArmarX.h>
#include <VirtualRobot/MathTools.h>
#include <SimoxUtility/algorithm/string/string_tools.h>
#include <pcl/point_types.h>
#include <pcl/common/colors.h>
#include <memory>
#include <fstream>
#include <cmath>
+ Include dependency graph for AffordancePipelineVisualization.cpp:

Go to the source code of this file.

Macros

#define AFFORDANCES_LAYER_NAME(n)   (std::string("affordancesLayer") + std::string(((n)%2 == 0)? "" : "_2"))
 
#define PRIMITIVE_FRAMES_LAYER_NAME(n)   (std::string("primitiveFramesLayer") + std::string(((n)%2 == 0)? "" : "_2"))
 
#define PRIMITIVE_GRASP_POINTS_LAYER_NAME(n)   (std::string("graspPointLayer") + std::string(((n)%2 == 0)? "" : "_2"))
 
#define PRIMITIVE_LABELS_LAYER_NAME(n)   (std::string("primitiveLabelsLayer") + std::string(((n)%2 == 0)? "" : "_2"))
 
#define PRIMITIVE_LAYER_NAME(n)   (std::string("primitivesLayer") + std::string(((n)%2 == 0)? "" : "_2"))
 

Variables

int alternatingAffordanceVisualizationIndex = 0
 
int alternatingDebugInfoVisualizationIndex = 0
 
int alternatingPrimitiveVisualizationIndex = 0
 

Macro Definition Documentation

◆ AFFORDANCES_LAYER_NAME

#define AFFORDANCES_LAYER_NAME (   n)    (std::string("affordancesLayer") + std::string(((n)%2 == 0)? "" : "_2"))

Definition at line 53 of file AffordancePipelineVisualization.cpp.

◆ PRIMITIVE_FRAMES_LAYER_NAME

#define PRIMITIVE_FRAMES_LAYER_NAME (   n)    (std::string("primitiveFramesLayer") + std::string(((n)%2 == 0)? "" : "_2"))

Definition at line 51 of file AffordancePipelineVisualization.cpp.

◆ PRIMITIVE_GRASP_POINTS_LAYER_NAME

#define PRIMITIVE_GRASP_POINTS_LAYER_NAME (   n)    (std::string("graspPointLayer") + std::string(((n)%2 == 0)? "" : "_2"))

Definition at line 52 of file AffordancePipelineVisualization.cpp.

◆ PRIMITIVE_LABELS_LAYER_NAME

#define PRIMITIVE_LABELS_LAYER_NAME (   n)    (std::string("primitiveLabelsLayer") + std::string(((n)%2 == 0)? "" : "_2"))

Definition at line 50 of file AffordancePipelineVisualization.cpp.

◆ PRIMITIVE_LAYER_NAME

#define PRIMITIVE_LAYER_NAME (   n)    (std::string("primitivesLayer") + std::string(((n)%2 == 0)? "" : "_2"))

Definition at line 49 of file AffordancePipelineVisualization.cpp.

Variable Documentation

◆ alternatingAffordanceVisualizationIndex

int alternatingAffordanceVisualizationIndex = 0

Definition at line 56 of file AffordancePipelineVisualization.cpp.

◆ alternatingDebugInfoVisualizationIndex

int alternatingDebugInfoVisualizationIndex = 0

Definition at line 57 of file AffordancePipelineVisualization.cpp.

◆ alternatingPrimitiveVisualizationIndex

int alternatingPrimitiveVisualizationIndex = 0

Definition at line 55 of file AffordancePipelineVisualization.cpp.