A visualisation ID.
More...
#include <RobotAPI/libraries/core/visualization/DebugDrawerTopic.h>
|
| | VisuID () |
| | Empty constructor.
|
| |
| template<typename Source> |
| | VisuID (const Source &name) |
| | Construct a VisuID from a non-std::string source (e.g. char[]).
|
| |
| | VisuID (const std::string &layer, const std::string &name) |
| | Construct a VisuID with given name and layer.
|
| |
| | VisuID (const std::string &name) |
| | Construct a VisuID with given name (for drawing to the preset layer).
|
| |
| VisuID | withName (const std::string &name) const |
| | Get a VisuID with the given name and same layer as `*this.
|
| |
|
| std::string | layer = "" |
| | The layer name (empty by default).
|
| |
| std::string | name = "" |
| | The visu name (empty by default).
|
| |
|
| std::ostream & | operator<< (std::ostream &os, const VisuID &rhs) |
| | Streams a short human-readable description of rhs to os.
|
| |
A visualisation ID.
This constructor can be called in the following ways (with draw(const VisuID& id, ...) being any drawing method):
std::string
name =
"pose";
std::string
layer =
"layer";
draw({layer,
name}, ...);
std::string layer
The layer name (empty by default).
Definition DebugDrawerTopic.h:196
std::string name
The visu name (empty by default).
Definition DebugDrawerTopic.h:197
(And of course by an explicit call if you want to be really verbose.) Not passing a layer will cause DebugDrawerTopic to use the preset layer.
◆ VisuID() [1/4]
◆ VisuID() [2/4]
| VisuID |
( |
const std::string & | name | ) |
|
Construct a VisuID with given name (for drawing to the preset layer).
◆ VisuID() [3/4]
| VisuID |
( |
const std::string & | layer, |
|
|
const std::string & | name ) |
Construct a VisuID with given name and layer.
◆ VisuID() [4/4]
template<typename Source>
Construct a VisuID from a non-std::string source (e.g. char[]).
◆ withName()
Get a VisuID with the given name and same layer as `*this.
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const VisuID & | rhs ) |
|
friend |
Streams a short human-readable description of rhs to os.
◆ layer
The layer name (empty by default).
◆ name
The visu name (empty by default).
The documentation for this struct was generated from the following files: