ArmarXVisualizer Class Reference

Implementation of semrel::VisualizerInterface for ArmarX (using the DebugDrawer). More...

#include <VisionX/libraries/SemanticObjectRelations/hooks/ArmarXVisualizer.h>

+ Inheritance diagram for ArmarXVisualizer:

Public Member Functions

 ArmarXVisualizer (armarx::DebugDrawerInterfacePrx const &debugDrawer)
 
virtual void clearAll () override
 
virtual void clearLayer (const std::string &layer) override
 
virtual void drawArrow (semrel::VisuMetaInfo id, const Eigen::Vector3f &origin, const Eigen::Vector3f &direction, float length, float width, semrel::DrawColor color) override
 
virtual void drawBox (semrel::VisuMetaInfo id, const semrel::Box &box, semrel::DrawColor color) override
 
virtual void drawCylinder (semrel::VisuMetaInfo id, const semrel::Cylinder &cylinder, semrel::DrawColor color) override
 
virtual void drawLine (semrel::VisuMetaInfo id, const Eigen::Vector3f &start, const Eigen::Vector3f &end, float lineWidth, semrel::DrawColor color) override
 
virtual void drawPointCloud (semrel::VisuMetaInfo id, const std::vector< Eigen::Vector3f > &cloud, float pointSize, semrel::DrawColor color) override
 
virtual void drawPolygon (semrel::VisuMetaInfo id, const std::vector< Eigen::Vector3f > &polygonPoints, float lineWidth, semrel::DrawColor colorInner, semrel::DrawColor colorBorder) override
 
virtual void drawSphere (semrel::VisuMetaInfo id, const semrel::Sphere &sphere, semrel::DrawColor color) override
 
virtual void drawText (semrel::VisuMetaInfo id, const std::string &text, const Eigen::Vector3f &position, float size, semrel::DrawColor color) override
 
virtual void drawTriMesh (semrel::VisuMetaInfo id, const semrel::TriMesh &mesh, semrel::DrawColor color) override
 

Static Public Member Functions

static void setAsImplementation (const armarx::DebugDrawerInterfacePrx &debugDrawer)
 

Detailed Description

Implementation of semrel::VisualizerInterface for ArmarX (using the DebugDrawer).

Definition at line 17 of file ArmarXVisualizer.h.

Constructor & Destructor Documentation

◆ ArmarXVisualizer()

Definition at line 34 of file ArmarXVisualizer.cpp.

Member Function Documentation

◆ clearAll()

void clearAll ( )
overridevirtual

Definition at line 39 of file ArmarXVisualizer.cpp.

◆ clearLayer()

void clearLayer ( const std::string &  layer)
overridevirtual

Definition at line 44 of file ArmarXVisualizer.cpp.

◆ drawArrow()

void drawArrow ( semrel::VisuMetaInfo  id,
const Eigen::Vector3f &  origin,
const Eigen::Vector3f &  direction,
float  length,
float  width,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 54 of file ArmarXVisualizer.cpp.

◆ drawBox()

void drawBox ( semrel::VisuMetaInfo  id,
const semrel::Box &  box,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 59 of file ArmarXVisualizer.cpp.

◆ drawCylinder()

void drawCylinder ( semrel::VisuMetaInfo  id,
const semrel::Cylinder &  cylinder,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 65 of file ArmarXVisualizer.cpp.

◆ drawLine()

void drawLine ( semrel::VisuMetaInfo  id,
const Eigen::Vector3f &  start,
const Eigen::Vector3f &  end,
float  lineWidth,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 49 of file ArmarXVisualizer.cpp.

◆ drawPointCloud()

void drawPointCloud ( semrel::VisuMetaInfo  id,
const std::vector< Eigen::Vector3f > &  cloud,
float  pointSize,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 129 of file ArmarXVisualizer.cpp.

+ Here is the call graph for this function:

◆ drawPolygon()

void drawPolygon ( semrel::VisuMetaInfo  id,
const std::vector< Eigen::Vector3f > &  polygonPoints,
float  lineWidth,
semrel::DrawColor  colorInner,
semrel::DrawColor  colorBorder 
)
overridevirtual

Definition at line 76 of file ArmarXVisualizer.cpp.

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

◆ drawSphere()

void drawSphere ( semrel::VisuMetaInfo  id,
const semrel::Sphere &  sphere,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 71 of file ArmarXVisualizer.cpp.

◆ drawText()

void drawText ( semrel::VisuMetaInfo  id,
const std::string &  text,
const Eigen::Vector3f &  position,
float  size,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 124 of file ArmarXVisualizer.cpp.

◆ drawTriMesh()

void drawTriMesh ( semrel::VisuMetaInfo  id,
const semrel::TriMesh &  mesh,
semrel::DrawColor  color 
)
overridevirtual

Definition at line 87 of file ArmarXVisualizer.cpp.

+ Here is the call graph for this function:

◆ setAsImplementation()

void setAsImplementation ( const armarx::DebugDrawerInterfacePrx debugDrawer)
static

Definition at line 29 of file ArmarXVisualizer.cpp.


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