|
|
The DesignerTrajectoryHolder class enables creating, deleting and getting DesignerTrajectorManagers, which are unambiguously assigned to a RobotNodeSet. More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Manager/DesignerTrajectoryHolder.h>
Public Member Functions | |
| bool | createDesignerTrajectoryManager (std::string rnsName) |
| Public functions. More... | |
| bool | deleteDesignerTrajectoryManager (std::string rnsName) |
| Deletes the DesignerTrajectoryManager assigned to the given RobotNodeSet. More... | |
| DesignerTrajectoryHolder (EnvironmentPtr environment) | |
| Constructor(s) More... | |
| DesignerTrajectoryManagerPtr | getTrajectoryManager (std::string rnsName) |
| Returns the DesignerTrajectoryManager assigned to the given RobotNodeSet. More... | |
| bool | import (DesignerTrajectoryPtr designerTrajectory, bool force) |
| Imports the given DesignerTrajectory. More... | |
| bool | isInCollision (std::string activeColModelName, std::vector< std::string > bodyColModelsNames, unsigned int fps) |
| isInCollision Checks if the given collision models (active and body) collide for the jointangle configurations given in the trajectory More... | |
| bool | rnsExists (std::string rnsName) |
| Checks if there is already a DesignerTrajectoryManager assigned to the given RobotNodeSet. More... | |
| bool | rnsIsPartOfExistingRns (std::string rnsName) |
| Checks if the given RobotNodeSet is part of a RobotNodeSet to which a DesignerTrajectoryManager is assigned to. More... | |
The DesignerTrajectoryHolder class enables creating, deleting and getting DesignerTrajectorManagers, which are unambiguously assigned to a RobotNodeSet.
Definition at line 46 of file DesignerTrajectoryHolder.h.
| DesignerTrajectoryHolder | ( | EnvironmentPtr | environment | ) |
Constructor(s)
Constructor(s) /////////////////////////////////////////////////////////////////////////////////////////////////.
Definition at line 36 of file DesignerTrajectoryHolder.cpp.
| bool createDesignerTrajectoryManager | ( | std::string | rnsName | ) |
Public functions.
Public functions /////////////////////////////////////////////////////////////////////////////////////////////////.
If the given RobotNodeSet is not already assigned to a DesignerTrajectoryManager a DesignerTrajectoryManager is created and assigned to this RobotNodeSet, else nothing happens.
| rns | RobotNodeSet |
Definition at line 46 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:| bool deleteDesignerTrajectoryManager | ( | std::string | rnsName | ) |
Deletes the DesignerTrajectoryManager assigned to the given RobotNodeSet.
| rns | RobotNodeSet |
Definition at line 66 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:| DesignerTrajectoryManagerPtr getTrajectoryManager | ( | std::string | rnsName | ) |
Returns the DesignerTrajectoryManager assigned to the given RobotNodeSet.
| rns | RobotNodeSet |
Definition at line 91 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:| bool import | ( | DesignerTrajectoryPtr | designerTrajectory, |
| bool | force = true |
||
| ) |
Imports the given DesignerTrajectory.
The DesignerTrajectory holds a RobotNodeSet. If this RobotNodeSet is not assigned to a DesignerTrajectoryManager then a new DesignerTrajectoryManager is created with the given DesignerTrajectory (return true). If the DesignerTrajectory's RobotNodeSet is already assigned to a DesignerTrajectoryManager there are two options:
| designerTrajectory | new DesignerTrajectory |
| force | Boolean indicating wheather to force the import or not |
Definition at line 104 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:| bool isInCollision | ( | std::string | activeColModelName, |
| std::vector< std::string > | bodyColModelsNames, | ||
| unsigned int | fps | ||
| ) |
isInCollision Checks if the given collision models (active and body) collide for the jointangle configurations given in the trajectory
| t | trajectory combining all trajectories represented by the managers |
| activeColModelName | the collision model of the RobotNodeSet which gets manipulated |
| bodyColModelsNames | the collision models to check against |
| fps | resolution for collision checking in frames per second |
Definition at line 192 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:| bool rnsExists | ( | std::string | rnsName | ) |
Checks if there is already a DesignerTrajectoryManager assigned to the given RobotNodeSet.
| rns | RobotNodeSet |
Definition at line 132 of file DesignerTrajectoryHolder.cpp.
Here is the caller graph for this function:| bool rnsIsPartOfExistingRns | ( | std::string | rnsName | ) |
Checks if the given RobotNodeSet is part of a RobotNodeSet to which a DesignerTrajectoryManager is assigned to.
| rns | RobotNodeSet |
Definition at line 148 of file DesignerTrajectoryHolder.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: