|
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Visualization/RobotVisualization.h>
Public Member Functions | |
virtual void | addRobotVisualization (VirtualRobot::RobotPtr robot, QString selectedChain)=0 |
METHODS FOR VISUALIZATION SETUP. More... | |
virtual void | addSceneVisualization (VirtualRobot::ScenePtr scene)=0 |
addSceneVisualization visualizes the whole scene where the robot is placed in More... | |
virtual void | addTransitionVisualization (int index, std::vector< PoseBasePtr > transition)=0 |
METHODS FOR TRANSITIONS. More... | |
virtual void | addWaypointVisualization (int index, PoseBasePtr waypoint, VirtualRobot::EndEffectorPtr tcp)=0 |
METHODS FOR WAYPOINTS. More... | |
virtual void | clearTrajectory ()=0 |
clearTrajectory removes all visualization of waypoints and transitions but keeps the robot and the maipulator visualized More... | |
virtual void | disableVisualization ()=0 |
disableVisualization hides the viewer More... | |
virtual void | enableVisualization ()=0 |
enableVisualization shows the viewer More... | |
virtual void | highlightTransitionVisualization (int index, std::vector< PoseBasePtr > transition)=0 |
highlightTransitionVisualization highlights the transition with index i by changing the color of all points belonging to that transition More... | |
virtual void | removeAllWaypointVisualizations ()=0 |
removeAllWaypointVisualizations removes all waypoints that are currently visualized More... | |
virtual void | removeTransitionVisualization (int index)=0 |
removeTransitionVisualization removes visualization of a certain transition More... | |
virtual void | removeWaypointVisualization (int index)=0 |
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized More... | |
virtual std::shared_ptr< RobotVisualization > | reproduce (QWidget *parent)=0 |
reproduce creates a new view with thesame visualization nodes but an independent camera More... | |
virtual void | setCamera (const Eigen::VectorXf position, const Eigen::VectorXf pointAtA, const Eigen::VectorXf pointAtB)=0 |
setCamera sets the camera at a certain position More... | |
virtual void | setManipulator (VirtualRobot::RobotNodeSetPtr kc, std::vector< float >jointAngles)=0 |
SETTING MANIPULATOR. More... | |
virtual void | setSelectedWaypoint (int index)=0 |
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized More... | |
virtual void | updateRobotVisualization ()=0 |
UPDATING OF VISUALIZATION. More... | |
Public Member Functions inherited from VisualizationSubject | |
virtual Eigen::Matrix4f | getManipulatorPose ()=0 |
getManipulatorPose More... | |
virtual int | getSelectedWaypoint ()=0 |
getSelectedWaypoint More... | |
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 | |
virtual AdvancedVisualizationFactoryPtr | createAdvancedVisualizationFactory ()=0 |
Protected Attributes | |
VirtualRobot::RobotPtr | robot |
VirtualRobot::ScenePtr | scene |
Protected Attributes inherited from VisualizationSubject | |
std::weak_ptr< VisualizationObserver > | observer |
Definition at line 39 of file RobotVisualization.h.
|
pure virtual |
METHODS FOR VISUALIZATION SETUP.
addRobotVisualization adds a robot to the robotviewer
robot | the robot to be visualized |
selectedChain | the standard kinematic chain of the robot to use |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
addSceneVisualization visualizes the whole scene where the robot is placed in
scene |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
METHODS FOR TRANSITIONS.
addTransitionVisualization visualizes a transition that means an array of points in 3d space
transition | the transition to be visualized |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
METHODS FOR WAYPOINTS.
addWaypointVisualization visualizes a certain waypoint by putting a visual representaiton of a toolcenterpoint at a predefined pose
index | the index of the waypoint to be added |
waypoint | Pose that should be realized by the WaypointVisualization |
tcp | the Endeffector that should be visualized |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
clearTrajectory removes all visualization of waypoints and transitions but keeps the robot and the maipulator visualized
Implemented in CoinRobotViewerAdapter.
|
protectedpure virtual |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
disableVisualization hides the viewer
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
enableVisualization shows the viewer
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
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 |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
removeAllWaypointVisualizations removes all waypoints that are currently visualized
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
removeTransitionVisualization removes visualization of a certain transition
index | the index of the transition to be removed starting with 0 |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
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 |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
reproduce creates a new view with thesame visualization nodes but an independent camera
parent | the widget to attach the newly created viewer to |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
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 |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
SETTING MANIPULATOR.
setManipulator sets a new endeffector at a predefined pose that is calculated by using forward kinematic on the joint angles
kc | the kinematic chain to use the endeffector of as the manipulator |
jointAngles | the joint angles of the robot to reach the manipulator |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
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 |
Implemented in CoinRobotViewerAdapter.
|
pure virtual |
UPDATING OF VISUALIZATION.
updateRobotVisualization refreshes the viewer so it visualizes the new robot state
Implemented in CoinRobotViewerAdapter.
|
protected |
Definition at line 156 of file RobotVisualization.h.
|
protected |
Definition at line 155 of file RobotVisualization.h.