MIRA
|
Utilities for rasterPolygon. More...
Go to the source code of this file.
Classes | |
class | EdgeCuts |
struct | ActiveEdgeCuts |
struct | Interval |
class | Intervals |
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
mira::Private | |
Functions | |
Point2f | roundAwayFromGrid (Point2f point) |
void | processEdge (const Point2f ¤t, const Point2f &prev, std::vector< EdgeCuts > &cuts) |
template<class Transformation > | |
std::vector< EdgeCuts > | createEdgeList (const Polygon2f &polygon, Transformation &&F) |
bool | intervalsOverlap (const Interval &interval1, const Interval &interval2) |
int | scaleDown (int numToRound, int multiple) |
bool | compareCurrentCut (const EdgeCuts &a, const EdgeCuts &b) |
void | removeEmptyEdges (ActiveEdgeCuts &activeEdges) |
move empty edges to front of container (and continue behind them) More... | |
void | advanceEdgeCuts (ActiveEdgeCuts &activeEdges) |
advance edge cuts, move empty edges to front of container (and continue behind them) More... | |
template<class Visitor > | |
bool | visitInterval (int x_start, int x_end, int y, Visitor &visitor) |
Utilities for rasterPolygon.