44 #ifndef FASTRACK_BOUND_TRACKING_BOUND_ROS_H 45 #define FASTRACK_BOUND_TRACKING_BOUND_ROS_H 51 #include <visualization_msgs/Marker.h> 56 template <
typename SR>
59 virtual bool Initialize(
const std::vector<double>& params) = 0;
62 virtual void FromRos(
const SR& res) = 0;
65 virtual SR
ToRos()
const = 0;
69 virtual bool OverlapsSphere(
const Vector3d& p,
const Vector3d& center,
70 double radius)
const = 0;
71 virtual bool OverlapsBox(
const Vector3d& p,
const Vector3d& lower,
72 const Vector3d& upper)
const = 0;
77 const Vector3d& upper)
const = 0;
80 virtual void Visualize(
const ros::Publisher& pub,
81 const std::string& frame)
const = 0;
virtual bool OverlapsSphere(const Vector3d &p, const Vector3d ¢er, double radius) const =0
virtual bool Initialize(const std::vector< double > ¶ms)=0
virtual SR ToRos() const =0
virtual bool ContainedWithinBox(const Vector3d &p, const Vector3d &lower, const Vector3d &upper) const =0
virtual bool OverlapsBox(const Vector3d &p, const Vector3d &lower, const Vector3d &upper) const =0
virtual void Visualize(const ros::Publisher &pub, const std::string &frame) const =0
virtual void FromRos(const SR &res)=0