The set of properties for geometry used in a "perception" role.
Examples of functionality that depends on the perception role:
|
| | PerceptionProperties ()=default |
| | PerceptionProperties (const GeometryProperties &other) |
| | ~PerceptionProperties () final |
| | PerceptionProperties (const PerceptionProperties &)=default |
| PerceptionProperties & | operator= (const PerceptionProperties &)=default |
| | PerceptionProperties (PerceptionProperties &&)=default |
| PerceptionProperties & | operator= (PerceptionProperties &&)=default |
| virtual | ~GeometryProperties () |
| bool | HasGroup (const std::string &group_name) const |
| | Reports if the given named group is part of this property set.
|
| int | num_groups () const |
| | Reports the number of property groups in this set.
|
| const Group & | GetPropertiesInGroup (const std::string &group_name) const |
| | Retrieves the indicated property group.
|
| std::set< std::string > | GetGroupNames () const |
| | Returns all of the defined group names.
|
| template<typename ValueType> |
| void | AddProperty (const std::string &group_name, const std::string &name, const ValueType &value) |
| | Adds the named property (group_name, name) with the given value.
|
| template<typename ValueType> |
| void | UpdateProperty (const std::string &group_name, const std::string &name, const ValueType &value) |
| | Updates the named property (group_name, name) with the given value.
|
| void | AddPropertyAbstract (const std::string &group_name, const std::string &name, const AbstractValue &value) |
| | Adds the named property (group_name, name) with the given type-erased value.
|
| void | UpdatePropertyAbstract (const std::string &group_name, const std::string &name, const AbstractValue &value) |
| | Updates the named property (group_name, name) with the given type-erased value.
|
| bool | HasProperty (const std::string &group_name, const std::string &name) const |
| | Reports if the property (group_name, name) exists in the group.
|
| template<typename ValueType> |
| decltype(auto) | GetProperty (const std::string &group_name, const std::string &name) const |
| | Retrieves the typed value for the property (group_name, name) from this set of properties.
|
| const AbstractValue & | GetPropertyAbstract (const std::string &group_name, const std::string &name) const |
| | Retrieves the type-erased value for the property (group_name, name) from this set of properties.
|
| template<typename ValueType> |
| ValueType | GetPropertyOrDefault (const std::string &group_name, const std::string &name, ValueType default_value) const |
| | Retrieves the typed value for the property (group_name, name) from the set of properties (if it exists), otherwise returns the given default value.
|
| bool | RemoveProperty (const std::string &group_name, const std::string &name) |
| | Removes the (group_name, name) property (if it exists).
|
| std::string | to_string () const |
| | Converts the GeometryProperties to a string representation.
|