Go to the documentation of this file.
3 #include <SemanticObjectRelations/Hooks/VisualizerInterface.h>
7 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
25 virtual void clearLayer(
const std::string& layer)
override;
27 virtual void drawLine(semrel::VisuMetaInfo
id,
const Eigen::Vector3f& start,
const Eigen::Vector3f& end,
float lineWidth, semrel::DrawColor color)
override;
28 virtual void drawArrow(semrel::VisuMetaInfo
id,
const Eigen::Vector3f& origin,
const Eigen::Vector3f& direction,
float length,
float width, semrel::DrawColor color)
override;
29 virtual void drawBox(semrel::VisuMetaInfo
id,
const semrel::Box& box, semrel::DrawColor color)
override;
30 virtual void drawCylinder(semrel::VisuMetaInfo
id,
const semrel::Cylinder& cylinder, semrel::DrawColor color)
override;
31 virtual void drawSphere(semrel::VisuMetaInfo
id,
const semrel::Sphere& sphere, semrel::DrawColor color)
override;
32 virtual void drawPolygon(semrel::VisuMetaInfo
id,
const std::vector<Eigen::Vector3f>& polygonPoints,
float lineWidth, semrel::DrawColor colorInner, semrel::DrawColor colorBorder)
override;
33 virtual void drawTriMesh(semrel::VisuMetaInfo
id,
const semrel::TriMesh& mesh, semrel::DrawColor color)
override;
34 virtual void drawText(semrel::VisuMetaInfo
id,
const std::string& text,
const Eigen::Vector3f& position,
float size, semrel::DrawColor color)
override;
35 virtual void drawPointCloud(semrel::VisuMetaInfo
id,
const std::vector<Eigen::Vector3f>& cloud,
float pointSize, semrel::DrawColor color)
override;
53 semrel::VisuLevel defaultLevel = semrel::VisuLevel::RESULT,
virtual void drawLine(semrel::VisuMetaInfo id, const Eigen::Vector3f &start, const Eigen::Vector3f &end, float lineWidth, 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 clearLayer(const std::string &layer) override
const std::string visualizationLevelDescription
Implementation of semrel::VisualizerInterface for ArmarX (using the DebugDrawer).
virtual void drawText(semrel::VisuMetaInfo id, const std::string &text, const Eigen::Vector3f &position, float size, semrel::DrawColor color) override
static void setAsImplementation(const armarx::DebugDrawerInterfacePrx &debugDrawer)
virtual void drawTriMesh(semrel::VisuMetaInfo id, const semrel::TriMesh &mesh, semrel::DrawColor color) override
void defineVisualizationLevel(armarx::ComponentPropertyDefinitions &defs, const std::string &propertyName=defaults::visualizationLevelName, semrel::VisuLevel defaultLevel=semrel::VisuLevel::RESULT, const std::string &description=defaults::visualizationLevelDescription)
virtual void drawCylinder(semrel::VisuMetaInfo id, const semrel::Cylinder &cylinder, semrel::DrawColor color) override
semrel::VisuLevel getVisualizationLevel(armarx::PropertyUser &defs, const std::string &propertyName=defaults::visualizationLevelName)
ArmarXVisualizer(armarx::DebugDrawerInterfacePrx const &debugDrawer)
virtual void drawArrow(semrel::VisuMetaInfo id, const Eigen::Vector3f &origin, const Eigen::Vector3f &direction, float length, float width, semrel::DrawColor color) override
virtual void drawSphere(semrel::VisuMetaInfo id, const semrel::Sphere &sphere, semrel::DrawColor color) override
Default component property definition container.
const std::string visualizationLevelName
virtual void clearAll() override
virtual void drawBox(semrel::VisuMetaInfo id, const semrel::Box &box, semrel::DrawColor color) override
Abstract PropertyUser class.
void setMinimumVisuLevel(armarx::PropertyUser &defs, const std::string &propertyName=defaults::visualizationLevelName)
virtual void drawPointCloud(semrel::VisuMetaInfo id, const std::vector< Eigen::Vector3f > &cloud, float pointSize, semrel::DrawColor color) override