#ifndef QTPOLYRASTERIZER_H #define QTPOLYRASTERIZER_H #include //#include #include #include #include #include #include #include ///this class is used to draw polygons on an image could be vectorial or not class QtOutline2Rasterizer { public: static void rasterize(vcg::RasterizedOutline2 &poly, float scaleFactor, int rast_i, int rotationNum, int cellSize); static std::vector > rotateGridCWise(std::vector< std::vector >& inGrid); }; #endif // QTPOLYRASTERIZER_H