#include <TaskTrajectory.h>
Signals | |
void | axisChanged (float A1, float A2, float A3, float A4, float A5, float A6, const Base::Placement &Tcp) |
Public Member Functions | |
void | OnChange (Gui::SelectionSingleton::SubjectType &rCaller, Gui::SelectionSingleton::MessageType Reason) |
Observer message from the Selection. | |
TaskTrajectory (Robot::RobotObject *pcRobotObject, Robot::TrajectoryObject *pcTrajectoryObject, QWidget *parent=0) | |
~TaskTrajectory () | |
Protected Member Functions | |
void | setTo (void) |
void | viewTool (const Base::Placement pos) |
Protected Attributes | |
bool | block |
float | duration |
Robot::RobotObject * | pcRobot |
bool | Run |
Robot::Simulation | sim |
float | timePos |
QTimer * | timer |
ViewProviderRobotObject * | ViewProv |
Definition at line 56 of file TaskTrajectory.h.
TaskTrajectory::TaskTrajectory | ( | Robot::RobotObject * | pcRobotObject, | |
Robot::TrajectoryObject * | pcTrajectoryObject, | |||
QWidget * | parent = 0 | |||
) |
Definition at line 43 of file TaskTrajectory.cpp.
References Robot::Waypoint::Accelaration, Gui::Application::activeDocument(), RobotGui::Ui_TaskTrajectory::ButtonStepBack, RobotGui::Ui_TaskTrajectory::ButtonStepEnd, RobotGui::Ui_TaskTrajectory::ButtonStepForward, RobotGui::Ui_TaskTrajectory::ButtonStepRun, RobotGui::Ui_TaskTrajectory::ButtonStepStart, RobotGui::Ui_TaskTrajectory::ButtonStepStop, Robot::Waypoint::CIRC, draftlibs::fcgeo::connect(), Robot::Waypoint::Cont, duration, Robot::Trajectory::getDuration(), Robot::Trajectory::getSize(), App::PropertyPlacement::getValue(), Gui::Document::getViewProvider(), Robot::Trajectory::getWaypoint(), iisTaskBox::groupLayout(), Gui::Application::Instance, Robot::Waypoint::LINE, Robot::Waypoint::Name, Robot::Waypoint::PTP, setTo(), RobotGui::Ui_TaskTrajectory::setupUi(), sim, timer, RobotGui::Ui_TaskTrajectory::timeSlider, RobotGui::Ui_TaskTrajectory::timeSpinBox, Robot::RobotObject::Tool, Robot::Simulation::Tool, Robot::TrajectoryObject::Trajectory, RobotGui::Ui_TaskTrajectory::trajectoryTable, Robot::Waypoint::Type, Robot::Waypoint::UNDEF, Robot::Waypoint::Velocity, and ViewProv.
TaskTrajectory::~TaskTrajectory | ( | ) |
Definition at line 110 of file TaskTrajectory.cpp.
void RobotGui::TaskTrajectory::axisChanged | ( | float | A1, | |
float | A2, | |||
float | A3, | |||
float | A4, | |||
float | A5, | |||
float | A6, | |||
const Base::Placement & | Tcp | |||
) | [signal] |
Referenced by setTo().
void RobotGui::TaskTrajectory::OnChange | ( | Gui::SelectionSingleton::SubjectType & | rCaller, | |
Gui::SelectionSingleton::MessageType | Reason | |||
) |
Observer message from the Selection.
void TaskTrajectory::setTo | ( | void | ) | [protected] |
Definition at line 132 of file TaskTrajectory.cpp.
References Robot::Simulation::Axis, axisChanged(), App::PropertyPlacement::getValue(), pcRobot, Robot::Simulation::reset(), Robot::Simulation::Rob, RobotGui::ViewProviderRobotObject::setAxisTo(), Robot::Simulation::setToTime(), sim, timePos, Robot::RobotObject::Tool, Robot::Simulation::Tool, ViewProv, and viewTool().
Referenced by TaskTrajectory().
void TaskTrajectory::viewTool | ( | const Base::Placement | pos | ) | [protected] |
Definition at line 116 of file TaskTrajectory.cpp.
References Base::Angle, Base::Placement::getPosition(), Base::Placement::getRotation(), RobotGui::Ui_TaskTrajectory::label_Pos, Base::Length, result, and Base::UnitsApi::toDblWithUserPrefs().
Referenced by setTo().
bool RobotGui::TaskTrajectory::block [protected] |
Definition at line 93 of file TaskTrajectory.h.
float RobotGui::TaskTrajectory::duration [protected] |
Definition at line 96 of file TaskTrajectory.h.
Referenced by TaskTrajectory().
Robot::RobotObject* RobotGui::TaskTrajectory::pcRobot [protected] |
Definition at line 89 of file TaskTrajectory.h.
Referenced by setTo().
bool RobotGui::TaskTrajectory::Run [protected] |
Definition at line 92 of file TaskTrajectory.h.
Robot::Simulation RobotGui::TaskTrajectory::sim [protected] |
Definition at line 88 of file TaskTrajectory.h.
Referenced by setTo(), and TaskTrajectory().
float RobotGui::TaskTrajectory::timePos [protected] |
Definition at line 95 of file TaskTrajectory.h.
Referenced by setTo().
QTimer* RobotGui::TaskTrajectory::timer [protected] |
Definition at line 86 of file TaskTrajectory.h.
Referenced by TaskTrajectory().
Definition at line 90 of file TaskTrajectory.h.
Referenced by setTo(), and TaskTrajectory().