MarkerManager Class Reference
Creates, deletes, and maintains marker visuals. Only the Scene class should instantiate and use this class. More...
#include <MarkerManager.hh>
Public Member Functions | |
| MarkerManager () | |
| Constructor. More... | |
| virtual | ~MarkerManager () |
| Destructor. More... | |
| bool | Init (const gz::rendering::ScenePtr &_scene) |
| Initialize the marker manager. More... | |
| rendering::ScenePtr | Scene () const |
| Get the scene. More... | |
| void | SetScene (rendering::ScenePtr _scene) |
| Set the scene to manage. More... | |
| void | SetSimTime (const std::chrono::steady_clock::duration &_time) |
| Set the simulation time. More... | |
| void | SetTopic (const std::string &_name) |
| Set the marker service topic name. More... | |
| void | Update () |
| Update MarkerManager. More... | |
Detailed Description
Creates, deletes, and maintains marker visuals. Only the Scene class should instantiate and use this class.
Constructor & Destructor Documentation
◆ MarkerManager()
| MarkerManager | ( | ) |
Constructor.
◆ ~MarkerManager()
|
virtual |
Destructor.
Member Function Documentation
◆ Init()
| bool Init | ( | const gz::rendering::ScenePtr & | _scene | ) |
Initialize the marker manager.
- Parameters
-
[in] _scene Reference to the scene.
- Returns
- True on success
◆ Scene()
| rendering::ScenePtr Scene | ( | ) | const |
Get the scene.
- Returns
- Pointer to scene
◆ SetScene()
| void SetScene | ( | rendering::ScenePtr | _scene | ) |
Set the scene to manage.
- Parameters
-
[in] _scene Scene pointer.
◆ SetSimTime()
| void SetSimTime | ( | const std::chrono::steady_clock::duration & | _time | ) |
Set the simulation time.
- Parameters
-
[in] _time The provided time.
◆ SetTopic()
| void SetTopic | ( | const std::string & | _name | ) |
Set the marker service topic name.
- Parameters
-
[in] _name Name of service
◆ Update()
| void Update | ( | ) |
Update MarkerManager.
The documentation for this class was generated from the following file: