Go to the documentation of this file.
22 #ifndef ROBOTVISUALIZATION_H
23 #define ROBOTVISUALIZATION_H
25 #include <RobotAPI/interface/core/PoseBase.h>
27 #include <VirtualRobot/RobotNodeSet.h>
65 virtual void setCamera(
const Eigen::VectorXf position,
const Eigen::VectorXf pointAtA,
const Eigen::VectorXf pointAtB) = 0;
152 virtual std::shared_ptr<RobotVisualization>
reproduce(QWidget* parent) = 0;
virtual AdvancedVisualizationFactoryPtr createAdvancedVisualizationFactory()=0
virtual void addWaypointVisualization(int index, PoseBasePtr waypoint, VirtualRobot::EndEffectorPtr tcp)=0
METHODS FOR WAYPOINTS.
virtual void removeAllWaypointVisualizations()=0
removeAllWaypointVisualizations removes all waypoints that are currently visualized
virtual void setCamera(const Eigen::VectorXf position, const Eigen::VectorXf pointAtA, const Eigen::VectorXf pointAtB)=0
setCamera sets the camera at a certain position
virtual void removeTransitionVisualization(int index)=0
removeTransitionVisualization removes visualization of a certain transition
virtual void clearTrajectory()=0
clearTrajectory removes all visualization of waypoints and transitions but keeps the robot and the ma...
virtual void setSelectedWaypoint(int index)=0
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized
std::shared_ptr< Scene > ScenePtr
virtual void addSceneVisualization(VirtualRobot::ScenePtr scene)=0
addSceneVisualization visualizes the whole scene where the robot is placed in
VirtualRobot::ScenePtr scene
The AdvancedVisualizationFactory class is the abstract decorator of the Decorator-Pattern and decorat...
virtual std::shared_ptr< RobotVisualization > reproduce(QWidget *parent)=0
reproduce creates a new view with thesame visualization nodes but an independent camera
VirtualRobot::RobotPtr robot
std::shared_ptr< AdvancedVisualizationFactory > AdvancedVisualizationFactoryPtr
virtual void addTransitionVisualization(int index, std::vector< PoseBasePtr > transition)=0
METHODS FOR TRANSITIONS.
virtual void enableVisualization()=0
enableVisualization shows the viewer
virtual void disableVisualization()=0
disableVisualization hides the viewer
virtual void highlightTransitionVisualization(int index, std::vector< PoseBasePtr > transition)=0
highlightTransitionVisualization highlights the transition with index i by changing the color of all ...
const KinematicUnitDatafieldCreator jointAngles("jointAngles")
std::shared_ptr< RobotVisualization > RobotVisualizationPtr
virtual void updateRobotVisualization()=0
UPDATING OF VISUALIZATION.
virtual void addRobotVisualization(VirtualRobot::RobotPtr robot, QString selectedChain)=0
METHODS FOR VISUALIZATION SETUP.
virtual void setManipulator(VirtualRobot::RobotNodeSetPtr kc, std::vector< float >jointAngles)=0
SETTING MANIPULATOR.
virtual void removeWaypointVisualization(int index)=0
removeWaypointVisualization removes the Waypoint with index so that it is no longer visualized
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr