Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
RobotAPI
Commits
65a539b7
Commit
65a539b7
authored
3 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Revise doc for ArVizExample
parent
2c16c43f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/components/ArViz/ArVizStorage.h
+1
-1
1 addition, 1 deletion
source/RobotAPI/components/ArViz/ArVizStorage.h
source/RobotAPI/components/ArViz/Example/ArVizExample.h
+15
-9
15 additions, 9 deletions
source/RobotAPI/components/ArViz/Example/ArVizExample.h
with
16 additions
and
10 deletions
source/RobotAPI/components/ArViz/ArVizStorage.h
+
1
−
1
View file @
65a539b7
...
...
@@ -49,7 +49,7 @@ namespace armarx
* visualization episodes and restore.
*
*
* @class ArViz
* @class ArViz
Storage
* @ingroup Component-ArVizStorage
*
* @brief Stores visualization elements drawn by ArViz clients.
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/components/ArViz/Example/ArVizExample.h
+
15
−
9
View file @
65a539b7
...
...
@@ -47,22 +47,28 @@ namespace armarx
* \li Open the gui plugin `ArViz`
* \li Start the component `ArVizExample`
*
* The scenario `ArVizExample` starts the necessary components
including
* the example component.
* The scenario `ArVizExample` starts the necessary components
,
*
including
the example component.
*
*
* A component which wants to visualize data via ArViz should:
* \li `#include <RobotAPI/libraries/RobotAPIComponentPlugins/ArVizComponentPlugin.h>`
* \li Inherit from the `armarx::ArVizComponentPluginUser`. This adds the
* necessary properties (e.g. the topic name) and provides a
* ready-to-use ArViz client called `arviz`.
* \li Use the inherited ArViz client variable `arviz` of type `viz::Client`
* to create layers, add visualization elements to the layers,
* and commit the layers to the ArViz topic.
*
* \see ArVizExample
*
*
* @class ArVizExample
* @ingroup Component-ArVizExample
* @brief Brief description of class ArVizExample.
*
* A component which wants to visualize data via ArViz should inherit from
* the `armarx::ArVizComponentPluginUser`.
* This adds the necessary properties (e.g. the topic name) and provides a
* ready-to-use ArViz client called `arviz`.
* The ArViz client can be used to create layers and commit them to the
* ArViz topic.
* @brief An example for how to use ArViz.
*
* @see @ref Component-ArVizExample
*/
class
ArVizExample
:
virtual
public
armarx
::
Component
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment