|
|
The CoinRobotViewerAdapter class. More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Visualization/CoinRobotViewerAdapter.h>
Inheritance diagram for CoinRobotViewerAdapter:Public Member Functions | |
| void | addRobotVisualization (VirtualRobot::RobotPtr robot, QString selectedChain) override |
| METHODS FOR VISUALIZATION SETUP. More... | |
| void | addSceneVisualization (VirtualRobot::ScenePtr scene) override |
| addSceneVisualization visualizes the whole scene where the robot is placed in More... | |
| void | addTransitionVisualization (int index, std::vector< PoseBasePtr > transition) override |
| METHODS FOR TRANSITIONS. More... | |
| void | addWaypointVisualization (int index, PoseBasePtr waypoint, VirtualRobot::EndEffectorPtr tcp) override |
| METHODS FOR WAYPOINTS. More... | |
| void | clearTrajectory () override |
| clearTrajectory removes all visualization of waypoints and transitions but keeps the robot and the maipulator visualized More... | |
| CoinRobotViewerAdapter (QWidget *widget) | |
| CoinRobotViewerAdapter. More... | |
| void | disableVisualization () override |
| disableVisualization hides the viewer More... | |
| void | enableVisualization () override |
| enableVisualization shows the viewer More... | |
| Eigen::Matrix4f | getManipulatorPose () override |
| INHERITED BY OBSERVER. More... | |
| int | getSelectedWaypoint () override |
| getSelectedWaypoint More... | |
| void | highlightTransitionVisualization (int index, std::vector< PoseBasePtr > transition) override |
| highlightTransitionVisualization highlights the transition with index i by changing the color of all points belonging to that transition More... | |
| void | removeAllWaypointVisualizations () override |
| removeAllWaypointVisualizations removes all waypoints that are currently visualized More... | |
| void | removeTransitionVisualization (int index) override |
| removeTransitionVisualization removes visualization of a certain transition More... | |
| void | removeWaypointVisualization (int index) override |
| removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized More... | |
| RobotVisualizationPtr | reproduce (QWidget *parent) override |
| UPDATING OF VISUALIZATION. More... | |
| void | setCamera (const Eigen::VectorXf position, const Eigen::VectorXf pointAtA, const Eigen::VectorXf pointAtB) override |
| setCamera sets the camera at a certain position More... | |
| void | setManipulator (VirtualRobot::RobotNodeSetPtr kc, std::vector< float > jointAngles) override |
| SETTING MANIPULATOR. More... | |
| void | setSelectedWaypoint (int index) override |
| removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized More... | |
| void | updateRobotVisualization () override |
| UPDATING OF VISUALIZATION. More... | |
| ~CoinRobotViewerAdapter () | |
Public Member Functions inherited from VisualizationSubject | |
| void | removeObservers () |
| void | setObserver (VisualizationObserverPtr observer) |
| setObserver adds a new observer to this subject, everytime the subjet changes the observer should be notified by calling its refresh method More... | |
Protected Member Functions | |
| AdvancedVisualizationFactoryPtr | createAdvancedVisualizationFactory () override |
Additional Inherited Members | |
Protected Attributes inherited from RobotVisualization | |
| VirtualRobot::RobotPtr | robot |
| VirtualRobot::ScenePtr | scene |
Protected Attributes inherited from VisualizationSubject | |
| std::weak_ptr< VisualizationObserver > | observer |
The CoinRobotViewerAdapter class.
Definition at line 41 of file CoinRobotViewerAdapter.h.
| CoinRobotViewerAdapter | ( | QWidget * | widget | ) |
| widget | the parent widget on the gui |
Definition at line 54 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
METHODS FOR VISUALIZATION SETUP.
Implements RobotVisualization.
Definition at line 127 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
addSceneVisualization visualizes the whole scene where the robot is placed in
| scene |
Implements RobotVisualization.
Definition at line 167 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
METHODS FOR TRANSITIONS.
Implements RobotVisualization.
Definition at line 189 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
METHODS FOR WAYPOINTS.
Implements RobotVisualization.
Definition at line 249 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
clearTrajectory removes all visualization of waypoints and transitions but keeps the robot and the maipulator visualized
Implements RobotVisualization.
Definition at line 358 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Implements RobotVisualization.
Definition at line 243 of file CoinRobotViewerAdapter.cpp.
Here is the caller graph for this function:
|
overridevirtual |
disableVisualization hides the viewer
Implements RobotVisualization.
Definition at line 352 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
enableVisualization shows the viewer
Implements RobotVisualization.
Definition at line 346 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
INHERITED BY OBSERVER.
Implements VisualizationSubject.
Definition at line 230 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
getSelectedWaypoint
Implements VisualizationSubject.
Definition at line 236 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
highlightTransitionVisualization highlights the transition with index i by changing the color of all points belonging to that transition
| index | the index of the transition to be highlighted starting with 0 |
| transition | the transition to be highlighted |
Implements RobotVisualization.
Definition at line 207 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
removeAllWaypointVisualizations removes all waypoints that are currently visualized
Implements RobotVisualization.
Definition at line 302 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
removeTransitionVisualization removes visualization of a certain transition
| index | the index of the transition to be removed starting with 0 |
Implements RobotVisualization.
Definition at line 199 of file CoinRobotViewerAdapter.cpp.
Here is the caller graph for this function:
|
overridevirtual |
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized
| index | the index of the waypoint to be removed starting with 0 |
Implements RobotVisualization.
Definition at line 293 of file CoinRobotViewerAdapter.cpp.
Here is the caller graph for this function:
|
overridevirtual |
UPDATING OF VISUALIZATION.
Implements RobotVisualization.
Definition at line 371 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
setCamera sets the camera at a certain position
| position | the 3D Position of the camera |
| pointAtA | the highest point the camera points at |
| pointAtB | the lowest point the camera looks at |
Implements RobotVisualization.
Definition at line 175 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
SETTING MANIPULATOR.
Implements RobotVisualization.
Definition at line 322 of file CoinRobotViewerAdapter.cpp.
Here is the call graph for this function:
|
overridevirtual |
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized
| index | the index of the waypoint to be removed starting with 0 |
Implements RobotVisualization.
Definition at line 312 of file CoinRobotViewerAdapter.cpp.
|
overridevirtual |
UPDATING OF VISUALIZATION.
Implements RobotVisualization.
Definition at line 340 of file CoinRobotViewerAdapter.cpp.