|
Classes | |
class | ArVizExample |
An example for how to use ArViz. More... | |
An example for how to visualize 3D elements via the 3D visualization framework ArViz.
The example creates several layers, fills them with visualization elements, and commits them to ArViz.
To see the result:
ArVizStorage
ArViz
ArVizExample
The scenario ArVizExample
starts the necessary components, including the example component.
A component which wants to visualize data via ArViz should:
#include <RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h>
armarx::ArVizComponentPluginUser
. This adds the necessary properties (e.g. the topic name) and provides a ready-to-use ArViz client called arviz
. arviz
of type viz::Client
to create layers, add visualization elements to the layers, and commit the layers to the ArViz topic.