A tab for configuring collision properties of a link.
More...
#include <CollisionConfig.hh>
A tab for configuring collision properties of a link.
gazebo::gui::CollisionConfig::CollisionConfig |
( |
| ) |
|
gazebo::gui::CollisionConfig::~CollisionConfig |
( |
| ) |
|
void gazebo::gui::CollisionConfig::AddCollision |
( |
const std::string & |
_name, |
|
|
const msgs::Collision * |
_collisionMsg = NULL |
|
) |
| |
Add a collision widget to the tab.
- Parameters
-
[in] | _name | Name of collision added. |
[in] | _collisionMsg | Msg containing information of the collision to be added. |
void gazebo::gui::CollisionConfig::Applied |
( |
| ) |
|
|
signal |
Qt signal emitted to indicate that changes should be applied.
void gazebo::gui::CollisionConfig::CollisionAdded |
( |
const std::string & |
_name | ) |
|
|
signal |
Qt signal emitted when a collision is added.
- Parameters
-
[in] | _name | Name of collision added. |
void gazebo::gui::CollisionConfig::CollisionRemoved |
( |
const std::string & |
_name | ) |
|
|
signal |
Qt signal emitted when a collision is removed.
- Parameters
-
[in] | _name | Name of collision removed. |
Get collision config data.
- Returns
- Config data for the collisions.
void gazebo::gui::CollisionConfig::Geometry |
( |
const std::string & |
_name, |
|
|
ignition::math::Vector3d & |
_size, |
|
|
std::string & |
_uri |
|
) |
| const |
Get the geometry data of a collision.
- Parameters
-
[in] | _name | Name of collision. |
[in] | _size | Size of the geometry. |
[in] | _uri | URI of the geometry. |
unsigned int gazebo::gui::CollisionConfig::GetCollisionCount |
( |
| ) |
const |
Get the number of collisions.
- Returns
- Number of collisions.
msgs::Collision* gazebo::gui::CollisionConfig::GetData |
( |
const std::string & |
_name | ) |
const |
Get the msg containing all collision data.
- Parameters
-
[in] | _name | Name of collision. |
- Returns
- Collision msg.
void gazebo::gui::CollisionConfig::Init |
( |
| ) |
|
void gazebo::gui::CollisionConfig::Reset |
( |
| ) |
|
void gazebo::gui::CollisionConfig::RestoreOriginalData |
( |
| ) |
|
|
slot |
Restore the widget's data to how it was when first opened.
void gazebo::gui::CollisionConfig::SetGeometry |
( |
const std::string & |
_name, |
|
|
const ignition::math::Vector3d & |
_size, |
|
|
const std::string & |
_uri = "" |
|
) |
| |
Set the geometry data of a collision.
- Parameters
-
[in] | _name | Name of collision. |
[in] | _size | Size to set the geometry to. |
[in] | _uri | URI of the geometry. |
void gazebo::gui::CollisionConfig::UpdateCollision |
( |
const std::string & |
_name, |
|
|
ConstCollisionPtr |
_collisionMsg |
|
) |
| |
Update a collision widget from a collision msg.
- Parameters
-
[in] | _name | Name of collision to be updated. |
[in] | _collisionMsg | Msg used to update the collision widget values. |
The documentation for this class was generated from the following file: