Go to the documentation of this file.
45 #include <moveit/task_constructor/properties.h>
49 class PropertyTreeModel;
56 namespace task_constructor {
102 const std::string& description,
const std::string& value,
rviz::Property * create(const std::string &prop_name, moveit::task_constructor::Property &prop, const planning_scene::PlanningScene *scene, rviz::DisplayContext *display_context) const
create rviz::Property for given MTC Property
std::function< rviz::Property *(const QString &, moveit::task_constructor::Property &, const planning_scene::PlanningScene *, rviz::DisplayContext *)> PropertyFactoryFunction
std::map< std::type_index, TreeFactoryFunction > stage_registry_
void addRemainingProperties(rviz::Property *root, moveit::task_constructor::PropertyMap &properties, const planning_scene::PlanningScene *scene, rviz::DisplayContext *display_context)
add all properties from map that are not yet in root
static PropertyFactory & instance()
void operator=(const PropertyFactory &)=delete
PropertyFactory()
class is singleton
std::function< rviz::PropertyTreeModel *(moveit::task_constructor::PropertyMap &, const planning_scene::PlanningScene *, rviz::DisplayContext *)> TreeFactoryFunction
rviz::PropertyTreeModel * createPropertyTreeModel(moveit::task_constructor::Stage &stage, const planning_scene::PlanningScene *scene, rviz::DisplayContext *display_context)
create PropertyTreeModel for given Stage
rviz::PropertyTreeModel * defaultPropertyTreeModel(moveit::task_constructor::PropertyMap &properties, const planning_scene::PlanningScene *scene, rviz::DisplayContext *display_context)
turn a PropertyMap into an rviz::PropertyTreeModel
std::map< std::string, PropertyFactoryFunction > property_registry_
void registerType(const PropertyFactoryFunction &f)
register a factory function for type T
void registerStage(const TreeFactoryFunction &f)
register a factory function for stage T
static rviz::Property * createDefault(const std::string &name, const std::string &type, const std::string &description, const std::string &value, rviz::Property *old=nullptr)
create rviz::Property for property of given name, type, description, and value
visualization
Author(s): Robert Haschke
autogenerated on Thu Feb 27 2025 03:39:51