Function lvr2::rasterize_line
Defined in File UtilAlgorithms.hpp
Function Documentation
-
void lvr2::rasterize_line(Eigen::Vector2f p0, Eigen::Vector2f p1, std::function<void(Eigen::Vector2i)> cb)
Rasterizes the line from p0 to p1 using calling cb with the pixel coordinates for each pixel intersecting the line.