mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 12:50:33 +02:00
Integrated Polygon Test
Use calculate traingles and the isInPolygon with theese triangles, this is done because of performance reasons
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
#define INTELLISHAPE_H
|
||||
|
||||
#include"Image/IntelliRasterImage.h"
|
||||
#include<vector>
|
||||
#include"IntelliHelper/IntelliHelper.h"
|
||||
|
||||
class IntelliShapedImage : public IntelliRasterImage{
|
||||
friend IntelliTool;
|
||||
private:
|
||||
std::vector<Triangle> triangles;
|
||||
protected:
|
||||
|
||||
std::vector<QPoint> polygonData;
|
||||
|
||||
Reference in New Issue
Block a user