this class is used to draw polygons on an image could be vectorial or not More...
#include <outline2_rasterizer.h>
Static Public Member Functions | |
static void | rasterize (vcg::RasterizedOutline2 &poly, float scaleFactor, int rast_i, int rotationNum, int cellSize) |
static std::vector < std::vector< int > > | rotateGridCWise (std::vector< std::vector< int > > &inGrid) |
this class is used to draw polygons on an image could be vectorial or not
Definition at line 14 of file outline2_rasterizer.h.
void QtOutline2Rasterizer::rasterize | ( | vcg::RasterizedOutline2 & | poly, |
float | scaleFactor, | ||
int | rast_i, | ||
int | rotationNum, | ||
int | cellSize | ||
) | [static] |
CREATE ITS GRID. The grid has to be a multiple of CELLSIZE because this grid's cells have size CELLSIZE
SETUP OF DRAWING PROCEDURE
Definition at line 11 of file outline2_rasterizer.cpp.
vector< vector< int > > QtOutline2Rasterizer::rotateGridCWise | ( | std::vector< std::vector< int > > & | inGrid | ) | [static] |
Definition at line 165 of file outline2_rasterizer.cpp.