17 #ifndef CARTOGRAPHER_IO_DRAW_TRAJECTORIES_H_ 18 #define CARTOGRAPHER_IO_DRAW_TRAJECTORIES_H_ 20 #include "cairo/cairo.h" 22 #include "cartographer/mapping/proto/trajectory.pb.h" 29 std::function<Eigen::Array2i(const transform::Rigid3d& pose)>;
37 cairo_surface_t* surface);
42 #endif // CARTOGRAPHER_IO_DRAW_TRAJECTORIES_H_
std::array< float, 3 > FloatColor
std::function< Eigen::Array2i(const transform::Rigid3d &pose)> PoseToPixelFunction
void DrawTrajectory(const mapping::proto::Trajectory &trajectory, const FloatColor &color, const PoseToPixelFunction &pose_to_pixel, cairo_surface_t *surface)