Ignition Gazebo

API Reference

6.0.0~pre1
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 ignition::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

◆ Init()

bool Init ( const ignition::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: