|  | 
The DesignerTrajectoryManager class enables easy interaction with the model. More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Manager/DesignerTrajectoryManager.h>
| Public Member Functions | |
| void | addWaypoint (const PoseBasePtr pose) | 
| Adds a UserWaypoint to the end of this manager's DesignerTrajectory.  More... | |
| void | deleteWaypoint (unsigned int index) | 
| Deletes a UserWaypoint from this manager's DesignerTrajectory.  More... | |
| DesignerTrajectoryManager (std::string rnsName, EnvironmentPtr environment_) | |
| Constructor(s)  More... | |
| void | editWaypointIKSelection (unsigned int index, VirtualRobot::IKSolver::CartesianSelection ikSelection) | 
| Edits the IKSelection of a UserWaypoint.  More... | |
| void | editWaypointPoseBase (unsigned int index, const PoseBasePtr pose) | 
| Edits the pose of a UserWaypoint.  More... | |
| DesignerTrajectoryPtr | getDesignerTrajectory () const | 
| Returns a deep copy of this manager's DesignerTrajectory.  More... | |
| bool | getIsInitialized () | 
| True if the DesignerTrajectory is initialized.  More... | |
| bool | import (DesignerTrajectoryPtr newDesignerTrajectory) | 
| Overrides the current DesignerTrajectory with the given DesignerTrajectory.  More... | |
| void | initializeDesignerTrajectory (std::vector< double > &jointAngles) | 
| Public functions.  More... | |
| void | insertWaypoint (unsigned int index, const PoseBasePtr pose) | 
| Inserts a UserWaypoint at the given position to this manager's DesignerTrajectory.  More... | |
| bool | redo () | 
| redo  More... | |
| bool | redoPossible () | 
| void | setTransitionInterpolation (unsigned int index, InterpolationType it) | 
| Sets the InterpolationType of a Transition from this manager's DesignerTrajectory.  More... | |
| void | setTransitionUserDuration (unsigned int index, double duration) | 
| Sets the desired duration of a Transition.  More... | |
| void | setWaypointAsBreakpoint (unsigned int index, bool b) | 
| Sets a UserWaypoint as (not-) breakpoint.  More... | |
| bool | undo () | 
| undo  More... | |
| bool | undoPossible () | 
| setCollisionModels Sets the collision models on the collision detection attribute  More... | |
The DesignerTrajectoryManager class enables easy interaction with the model.
Using this class, the model is always self-consistent.
Definition at line 57 of file DesignerTrajectoryManager.h.
| DesignerTrajectoryManager | ( | std::string | rnsName, | 
| EnvironmentPtr | environment_ | ||
| ) | 
Constructor(s)
Constructor of this class.
| rns | RobotNodeSet | 
Definition at line 795 of file DesignerTrajectoryManager.cpp.
| void addWaypoint | ( | const PoseBasePtr | pose | ) | 
Adds a UserWaypoint to the end of this manager's DesignerTrajectory.
To create this UserWaypoint the following parameters are needed:
| pose | pose of the UserWaypoint | 
Definition at line 836 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void deleteWaypoint | ( | unsigned int | index | ) | 
Deletes a UserWaypoint from this manager's DesignerTrajectory.
| index | index of the UserWaypoint to delete | 
Definition at line 964 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void editWaypointIKSelection | ( | unsigned int | index, | 
| VirtualRobot::IKSolver::CartesianSelection | ikSelection | ||
| ) | 
Edits the IKSelection of a UserWaypoint.
| index | index of the UserWaypoint to edit | 
| ikSelection | new IKSelection | 
Definition at line 945 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void editWaypointPoseBase | ( | unsigned int | index, | 
| const PoseBasePtr | pose | ||
| ) | 
Edits the pose of a UserWaypoint.
| index | index of the UserWaypoint to edit | 
| pose | new pose | 
Definition at line 890 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| DesignerTrajectoryPtr getDesignerTrajectory | ( | ) | const | 
Returns a deep copy of this manager's DesignerTrajectory.
Definition at line 1071 of file DesignerTrajectoryManager.cpp.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| bool getIsInitialized | ( | ) | 
True if the DesignerTrajectory is initialized.
Definition at line 551 of file DesignerTrajectoryManager.cpp.
| bool import | ( | DesignerTrajectoryPtr | newDesignerTrajectory | ) | 
Overrides the current DesignerTrajectory with the given DesignerTrajectory.
| designerTrajectory | new DesignerTrajectory | 
Definition at line 1086 of file DesignerTrajectoryManager.cpp.
| void initializeDesignerTrajectory | ( | std::vector< double > & | jointAngles | ) | 
Public functions.
Public Functions.
Initializes the DesignerTrajectory object of this manager instance.
| jointAngles | start jointangle-configuration of the trajectory | 
Definition at line 808 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void insertWaypoint | ( | unsigned int | index, | 
| const PoseBasePtr | pose | ||
| ) | 
Inserts a UserWaypoint at the given position to this manager's DesignerTrajectory.
To create this UserWaypoint the following parameters are needed:
| index | position to insert the UserWaypoint into | 
| pb | pose of the UserWaypoint | 
Definition at line 854 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| bool redo | ( | ) | 
| bool redoPossible | ( | ) | 
Definition at line 1150 of file DesignerTrajectoryManager.cpp.
| void setTransitionInterpolation | ( | unsigned int | index, | 
| InterpolationType | it | ||
| ) | 
Sets the InterpolationType of a Transition from this manager's DesignerTrajectory.
| index | index of the Transition to edit | 
| it | new InterpolationType | 
Definition at line 1013 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void setTransitionUserDuration | ( | unsigned int | index, | 
| double | duration | ||
| ) | 
Sets the desired duration of a Transition.
| index | index of the Transition to edit | 
| duration | desired duration | 
Definition at line 1047 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| void setWaypointAsBreakpoint | ( | unsigned int | index, | 
| bool | b | ||
| ) | 
Sets a UserWaypoint as (not-) breakpoint.
| index | index of the UserWaypoint to edit | 
| b | true when the selected UserWaypoint should be a breakpoint false when the selected UserWaypoint should not be a breakpoint | 
Definition at line 1030 of file DesignerTrajectoryManager.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| bool undo | ( | ) | 
| bool undoPossible | ( | ) | 
setCollisionModels Sets the collision models on the collision detection attribute
| activeCollisionModel | The collision model of the RobotNodeSet which gets manipulated | 
| bodyCollisionModels | The collision models to check against | 
Definition at line 1144 of file DesignerTrajectoryManager.cpp.