#include <TaskRobot6Axis.h>
Public Member Functions | |
void | setRobot (Robot::RobotObject *pcRobotObject) |
TaskRobot6Axis (Robot::RobotObject *pcRobotObject, QWidget *parent=0) | |
~TaskRobot6Axis () | |
Protected Member Functions | |
void | setColor (int i, float angle, QLineEdit &lineEdit) |
void | viewTcp (const Base::Placement pos) |
void | viewTool (const Base::Placement pos) |
Protected Attributes | |
Robot::RobotObject * | pcRobot |
Definition at line 49 of file TaskRobot6Axis.h.
TaskRobot6Axis::TaskRobot6Axis | ( | Robot::RobotObject * | pcRobotObject, | |
QWidget * | parent = 0 | |||
) |
Definition at line 51 of file TaskRobot6Axis.cpp.
References draftlibs::fcgeo::connect(), iisTaskBox::groupLayout(), RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis1, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis2, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis3, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis4, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis5, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis6, RobotGui::Ui_TaskRobot6Axis::pushButtonChooseTool, setRobot(), and RobotGui::Ui_TaskRobot6Axis::setupUi().
TaskRobot6Axis::~TaskRobot6Axis | ( | ) |
Definition at line 76 of file TaskRobot6Axis.cpp.
void TaskRobot6Axis::setColor | ( | int | i, | |
float | angle, | |||
QLineEdit & | lineEdit | |||
) | [protected] |
Definition at line 211 of file TaskRobot6Axis.cpp.
References Robot::Robot6Axis::getMaxAngle(), Robot::Robot6Axis::getMinAngle(), and draftTools::p.
void TaskRobot6Axis::setRobot | ( | Robot::RobotObject * | pcRobotObject | ) |
Definition at line 81 of file TaskRobot6Axis.cpp.
References Robot::RobotObject::Axis1, Robot::RobotObject::Axis2, Robot::RobotObject::Axis3, Robot::RobotObject::Axis4, Robot::RobotObject::Axis5, Robot::RobotObject::Axis6, Robot::Robot6Axis::getMaxAngle(), Robot::Robot6Axis::getMinAngle(), Robot::RobotObject::getRobot(), App::PropertyPlacement::getValue(), App::PropertyFloat::getValue(), RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis1, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis2, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis3, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis4, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis5, RobotGui::Ui_TaskRobot6Axis::horizontalSlider_Axis6, pcRobot, Robot::RobotObject::Tcp, Robot::RobotObject::Tool, and viewTool().
Referenced by RobotGui::TaskWatcherRobot::shouldShow(), and TaskRobot6Axis().
void TaskRobot6Axis::viewTcp | ( | const Base::Placement | pos | ) | [protected] |
Definition at line 128 of file TaskRobot6Axis.cpp.
References Base::Angle, Base::Placement::getPosition(), Base::Placement::getRotation(), RobotGui::Ui_TaskRobot6Axis::label_TCP, Base::Length, result, and Base::UnitsApi::toDblWithUserPrefs().
void TaskRobot6Axis::viewTool | ( | const Base::Placement | pos | ) | [protected] |
Definition at line 144 of file TaskRobot6Axis.cpp.
References Base::Angle, Base::Placement::getPosition(), Base::Placement::getRotation(), RobotGui::Ui_TaskRobot6Axis::label_Tool, Base::Length, result, and Base::UnitsApi::toDblWithUserPrefs().
Referenced by setRobot().
Robot::RobotObject* RobotGui::TaskRobot6Axis::pcRobot [protected] |
Definition at line 70 of file TaskRobot6Axis.h.
Referenced by setRobot().