|
Subcontroller which handles all user interaction with the view selection area in the GUI, communicates with other controllers via signals and slots. More...
#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Controller/ViewController.h>
Public Slots | |
void | retranslateGui () |
Retranslates the guiPerspectives. More... | |
void | setViewPerspective (int index) |
Sets the perspective on the displayed robot model. More... | |
Signals | |
void | addView () |
Notifies RobotVisualizationController to add a view. More... | |
void | changedPerspective (int perspective) |
Notifies other controllers about changes of the perspective. More... | |
void | removeView () |
Notifies RobotVisualizationController to delete a view. More... | |
Public Member Functions | |
PerspectivesPtr | getGuiPerspectives () |
Getter for the Perspectives pointer to guiPerspectives. More... | |
void | onConnectComponent () override |
void | onDisconnectComponent () override |
void | onExitComponent () override |
void | onInitComponent () override |
void | setGuiPerspectives (PerspectivesPtr guiPerspectives) |
Setter for the Perspectives pointer to guiPerspectives. More... | |
ViewController (PerspectivesPtr guiPerspectives) | |
Creates a new ViewController and assigns a Perspectives widget to handle. More... | |
Subcontroller which handles all user interaction with the view selection area in the GUI, communicates with other controllers via signals and slots.
Definition at line 40 of file ViewController.h.
ViewController | ( | PerspectivesPtr | guiPerspectives | ) |
Creates a new ViewController and assigns a Perspectives widget to handle.
guiPerspectives | Pointer to the Perspectives whose user interaction is handled by the ViewController |
Definition at line 61 of file ViewController.cpp.
|
signal |
Notifies RobotVisualizationController to add a view.
|
signal |
Notifies other controllers about changes of the perspective.
perspective | Index of the current perspective |
PerspectivesPtr getGuiPerspectives | ( | ) |
Getter for the Perspectives pointer to guiPerspectives.
Definition at line 68 of file ViewController.cpp.
|
overridevirtual |
Implements AbstractController.
Definition at line 36 of file ViewController.cpp.
|
overridevirtual |
Implements AbstractController.
Definition at line 51 of file ViewController.cpp.
|
overridevirtual |
Implements AbstractController.
Definition at line 56 of file ViewController.cpp.
|
overridevirtual |
Implements AbstractController.
Definition at line 26 of file ViewController.cpp.
|
signal |
Notifies RobotVisualizationController to delete a view.
|
slot |
Retranslates the guiPerspectives.
Definition at line 83 of file ViewController.cpp.
void setGuiPerspectives | ( | PerspectivesPtr | guiPerspectives | ) |
Setter for the Perspectives pointer to guiPerspectives.
guiPerspectives | Pointer to the Perspectives whose user interaction is handled by the ViewController |
Definition at line 73 of file ViewController.cpp.
|
slot |
Sets the perspective on the displayed robot model.
index | Index of the perspective |
Definition at line 78 of file ViewController.cpp.