|
The RobotVisualizationWidget class Holds the original viewer and reproduces it tosupport parallel views. More...
Public Member Functions | |
void | addWidget () |
addWidget adds a new View by reproducing the original viewer More... | |
RobotVisualizationPtr | getRobotViewer () |
getRobotViewer the RobotVisualizationPtr that is held by this widget More... | |
void | removeWidget () |
removeWidget removes a view from this Widget More... | |
RobotVisualizationWidget (QWidget *parent=0, QWidget *viewerWidget=0, RobotVisualizationPtr viewer=0) | |
Constructor. More... | |
void | setCameraOfFocused (Eigen::Vector3f position, Eigen::Vector3f pointAtA, Eigen::Vector3f pointAtB) |
setCameraOfFocused sets the camera of the viewer that is currently focused (the viewer that was last clicked on or zoomed in) More... | |
~RobotVisualizationWidget () | |
Destructor. More... | |
The RobotVisualizationWidget class Holds the original viewer and reproduces it tosupport parallel views.
Automatically splits the viewers.
Definition at line 40 of file RobotVisualizationWidget.h.
|
explicit |
Constructor.
Constructs a robot viewer widget. Expects a controller::ControllerPtr.
control | shared pointer to controller::controller |
parent | parent widget |
Definition at line 32 of file RobotVisualizationWidget.cpp.
Destructor.
Definition at line 54 of file RobotVisualizationWidget.cpp.
void addWidget | ( | ) |
addWidget adds a new View by reproducing the original viewer
Definition at line 59 of file RobotVisualizationWidget.cpp.
RobotVisualizationPtr getRobotViewer | ( | ) |
getRobotViewer the RobotVisualizationPtr that is held by this widget
void removeWidget | ( | ) |
removeWidget removes a view from this Widget
Definition at line 93 of file RobotVisualizationWidget.cpp.
void setCameraOfFocused | ( | Eigen::Vector3f | position, |
Eigen::Vector3f | pointAtA, | ||
Eigen::Vector3f | pointAtB | ||
) |
setCameraOfFocused sets the camera of the viewer that is currently focused (the viewer that was last clicked on or zoomed in)
position | the position of the camera |
pointAtA | the lower point to point the camera at |
pointAtB | the upper point to point the camera at |
Definition at line 135 of file RobotVisualizationWidget.cpp.