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 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...
 

Detailed Description

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.

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

Definition at line 32 of file RobotVisualizationWidget.cpp.

◆ ~RobotVisualizationWidget()

Destructor.

Definition at line 54 of file RobotVisualizationWidget.cpp.

Member Function Documentation

◆ addWidget()

void addWidget ( )

addWidget adds a new View by reproducing the original viewer

Definition at line 59 of file RobotVisualizationWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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

Definition at line 93 of file RobotVisualizationWidget.cpp.

+ Here is the caller graph for this function:

◆ 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

Definition at line 135 of file RobotVisualizationWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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