Go to the documentation of this file.
26 #include <SimoxUtility/color/Color.h>
66 GuiGraph::ConstVertex vertex,
69 const std::string& name,
81 const std::string& sourceName,
82 const std::string& targetName,
103 template <
class VisuT,
class RangeT>
106 const std::optional<VisuT>& visu,
110 if (visu.has_value())
112 for (
auto element : range)
114 visu->draw(layer, element, info);
viz::Arrow draw(const EdgeData &edge, const std::string &sourceName, const std::string &targetName, const core::Pose &source, const core::Pose &target) const
void draw(viz::Layer &layer, const GuiGraph &graph, graph::visu::ObjectParserInfo info) const
std::optional< ForwardArrow > forwardArrow
Vertex target(const detail::edge_base< Directed, Vertex > &e, const PCG &)
The EdgeData struct holds data required for the edge.
viz::Pose draw(const std::string &name, const core::Pose &pose, const VertexData &attribs) const
float scaleFactorHighlighted
The NodeData struct holds data required for the node.
simox::Color colorHighlighted
uint32_t Color
RGBA color.
void draw(viz::Layer &layer, GuiGraph::ConstVertex vertex, graph::visu::ObjectParserInfo info) const
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
void draw(viz::Layer &layer, GuiGraph::ConstEdge edge, graph::visu::ObjectParserInfo info) const
std::optional< Pose > pose
viz::Arrow draw(const std::string &name, const core::Pose &pose, const VertexData &attribs) const
const simox::Color defaultColorHighlighted
std::optional< EdgeVisu > edge
std::optional< VertexVisu > vertex
simox::Color colorHighlighted
std::optional< Arrow > arrow
void applyVisu(viz::Layer &layer, const std::optional< VisuT > &visu, RangeT &&range, graph::visu::ObjectParserInfo info)