Gazebo Sim

API Reference

7.9.0
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...
 
void Clear ()
 Clear the marker manager Clears internal resources stored in the marker manager. Note: this does not actually destroy the objects. 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()

Constructor.

◆ ~MarkerManager()

virtual ~MarkerManager ( )
virtual

Destructor.

Member Function Documentation

◆ Clear()

void Clear ( )

Clear the marker manager Clears internal resources stored in the marker manager. Note: this does not actually destroy the objects.

◆ Init()

bool Init ( const gz::rendering::ScenePtr &  _scene)

Initialize the marker manager.

Parameters
[in]_sceneReference 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]_sceneScene pointer.

◆ SetSimTime()

void SetSimTime ( const std::chrono::steady_clock::duration &  _time)

Set the simulation time.

Parameters
[in]_timeThe provided time.

◆ SetTopic()

void SetTopic ( const std::string _name)

Set the marker service topic name.

Parameters
[in]_nameName of service

◆ Update()

void Update ( )

Update MarkerManager.


The documentation for this class was generated from the following file: