Summerize Abgabe

This commit is contained in:
Jan Schuffenhauer
2019-11-28 16:39:47 +01:00
parent 43c5489343
commit 8b88626cdf
22 changed files with 2353 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef INTELLISHAPE_H
#define INTELLISHAPE_H
#include"Image/IntelliImage.h"
class IntelliShapedImage : public IntelliImage{
protected:
std::vector<QPoint> polygonData;
public:
IntelliShapedImage(int weight, int height);
virtual ~IntelliShapedImage() override;
//returns the filtered output
virtual QImage getDisplayable(const QSize& displaySize) override;
virtual QImage getDisplayable() override;
//sets the data for the visible image
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
};
#endif