RobotVisualizationWidget Class Reference

The RobotVisualizationWidget class Holds the original viewer and reproduces it tosupport parallel views. More...

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Visualization/RobotVisualizationWidget.h>

+ Inheritance diagram for RobotVisualizationWidget:

Public Member Functions

void addWidget ()
 addWidget adds a new View by reproducing the original viewer
 
RobotVisualizationPtr getRobotViewer ()
 getRobotViewer the RobotVisualizationPtr that is held by this widget
 
void removeWidget ()
 removeWidget removes a view from this Widget
 
 RobotVisualizationWidget (QWidget *parent=0, QWidget *viewerWidget=0, RobotVisualizationPtr viewer=0)
 Constructor.
 
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)
 
 ~RobotVisualizationWidget ()
 Destructor.
 

Detailed Description

The RobotVisualizationWidget class Holds the original viewer and reproduces it tosupport parallel views.

Automatically splits the viewers.

Constructor & Destructor Documentation

◆ RobotVisualizationWidget()

RobotVisualizationWidget ( QWidget * parent = 0,
QWidget * viewerWidget = 0,
RobotVisualizationPtr viewer = 0 )
explicit

Constructor.

Constructs a robot viewer widget. Expects a controller::ControllerPtr.

Parameters
controlshared pointer to controller::controller
parentparent widget

◆ ~RobotVisualizationWidget()

Destructor.

Member Function Documentation

◆ addWidget()

void addWidget ( )

addWidget adds a new View by reproducing the original viewer

◆ getRobotViewer()

RobotVisualizationPtr getRobotViewer ( )

getRobotViewer the RobotVisualizationPtr that is held by this widget

Returns
he RobotVisualizationPtr that is held by this widget

◆ removeWidget()

void removeWidget ( )

removeWidget removes a view from this Widget

◆ setCameraOfFocused()

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)

Parameters
positionthe position of the camera
pointAtAthe lower point to point the camera at
pointAtBthe upper point to point the camera at

The documentation for this class was generated from the following files: