22#ifndef WAYPOINTCONTROLLER_H
23#define WAYPOINTCONTROLLER_H
24#include <QDoubleValidator>
112 std::vector<double> values,
113 int cartesianSelection,
137 std::vector<double> values,
138 int cartesianSelection,
179 void setXCoordinate();
184 void setYCoordinate();
189 void setZCoordinate();
194 void setEulerAngleR();
199 void setEulerAngleP();
204 void setEulerAngleY();
210 void setCartesianSelection(
int cs);
217 void setBreakpoint(
bool isBreakpoint);
292 void initCSComboBox();
300 void initValidator(
double bottom,
double top,
int decimals);
309 void changeTextListWidgetItems();
std::shared_ptr< WaypointTab > WaypointTabPtr
Abstract controller providing a set of methods which must be implemented by every controller.
void setGuiWaypointTab(WaypointTabPtr guiWaypointTab)
Setter for the WaypointTab pointer to guiWaypointTab.
void setCurrentIndex(int index)
Notifies other controllers about changes of the current waypoint.
void onInitComponent() override
void enableIKSolutionButton(bool enable)
Notifies other controllers whether to enable or disable the button for a new IK solution.
void deletedWaypoint(int waypoint)
Notifies other controllers about the deletion of a given waypoint.
void setCurrentIndexRobotVisualization(int index)
Notifies RobotVisualizationController about changes of the current waypoint.
void removeWaypoint(int index)
Removes the waypoint at a given index.
void addedWaypoint(int waypoint, bool insertAfter)
Notifies other controllers about the addition of a new waypoint with given constraints.
void retranslateGui()
Retranslates the guiWaypointTab.
void onDisconnectComponent() override
void changedWaypoint(int waypoint, std::vector< double > values)
Notifies other controllers about changes of the given waypoint.
void addWaypoint(int index, std::vector< double > values, int cartesianSelection, bool isBreakpoint)
Adds a new waypoint to the list widget.
void enableWaypointListLineEdit(bool enable)
Enables or disables the waypoint list and line edit.
void changedWaypoint(int waypoint, int cartesianSelection)
Notifies other controllers about changes of the given waypoint.
void enableAddButton(bool enable)
Enables or disables the add button.
void changedWaypoint(int waypoint, bool isBreakpoint)
Notifies other controllers about changes of the given waypoint.
void enableDeleteButton(bool enable)
Enables or disables the delete button.
void setWaypointData(int index, std::vector< double > values, int cartesianSelection, bool isBreakpoint)
Connected with signals from other controllers, sets all values of the waypoint at a given index.
void onConnectComponent() override
WaypointController(WaypointTabPtr guiWaypointTab)
Creates a new WaypointController and assigns a WaypointTab to handle.
void onExitComponent() override
void updateSelectedWaypoint(int index)
Updates the currently selected waypoint.
void clearWaypointList()
Removes all items of the waypoint list.
WaypointTabPtr getGuiWaypointTab()
Getter for the WaypointTab pointer to guiWaypointTab.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< WaypointController > WaypointControllerPtr
struct armarx::GuiWaypoint GuiWaypoint
Struct which allows storing relevant data to display within a list widget item as QVariant.
Struct which allows storing relevant data to display within a list widget item as QVariant.
std::vector< double > values