pathUtils.h
Go to the documentation of this file.00001 #ifndef PATH_UTILS_H
00002 #define PATH_UTILS_H
00003
00013 #include "runCtrl.h"
00014 #include "typeUtils.h"
00015 #include <deque>
00016
00017
00021 namespace VXV {
00022 enum {
00023 DefaultCurveRadius = 500,
00024 };
00025
00033 extern void waitStable(RunInterface& obj,
00034 unsigned long poll_msec,
00035 unsigned long timeout_msec = 0);
00036
00045 extern VXV::Position getNextLinePoint(const VXV::Position& base,
00046 const VXV::Position& next,
00047 int radius = DefaultCurveRadius);
00048
00057 extern bool followLinesUpdate(RunCtrl& obj,
00058 std::deque<VXV::Position>& lines,
00059 int radius = DefaultCurveRadius,
00060 const CoordinateCtrl* crd = VXV::GL);
00061 };
00062
00063 #endif
00064