4 #ifndef RATEANGLEVIEW_H
5 #define RATEANGLEVIEW_H
7 #include <trajectory_editor/historykeeper.h>
8 #include <trajectory_editor/spaces/basicsmallview.h>
15 class RateAngleView :
public BasicSmallView
26 RateAngleView(BasicSmallView::Alignment alignment, BasicSmallView::Type type, std::string jointName,
bool shiftMirrored, QWidget *parent = 0);
29 void clearHistoryOfChanges();
31 void setField(RateAngleView::Field field,
double value);
32 void setRate(
double rate);
36 void rateChanged(std::string jointName);
37 void changeForInverse(
const std::string joint_name,
const RateAngleView::Field field,
const double value);
40 void rateSliderChanged();
41 void rateSpinChanged();
45 QDoubleSpinBox *rateSpin;
46 QDoubleSpinBox *angleRateSpin;
48 HistoryKeeper *rateHistory;
49 HistoryKeeper *angleRateHistory;
52 #endif // RATEANGLEVIEW_H