IntelliPhoto  0.5
IntelliRasterImage.h
Go to the documentation of this file.
1 #ifndef INTELLIRASTER_H
2 #define INTELLIRASTER_H
3 
4 #include "Image/IntelliImage.h"
5 
10 friend IntelliTool;
11 protected:
15 virtual void calculateVisiblity() override;
16 public:
22 IntelliRasterImage(int weight, int height);
23 
27 virtual ~IntelliRasterImage() override;
28 
35 virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
36 
42 virtual QImage getDisplayable(int alpha=255) override;
43 
48 virtual IntelliImage* getDeepCopy() override;
49 
54 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
55 };
56 
57 #endif
IntelliImage.h
IntelliRasterImage::~IntelliRasterImage
virtual ~IntelliRasterImage() override
An Destructor.
Definition: IntelliRasterImage.cpp:11
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:13
IntelliRasterImage::getDisplayable
virtual QImage getDisplayable(const QSize &displaySize, int alpha) override
A function returning the displayable ImageData in a requested transparence and size.
Definition: IntelliRasterImage.cpp:29
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:24
IntelliRasterImage::getDeepCopy
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
Definition: IntelliRasterImage.cpp:15
IntelliRasterImage::calculateVisiblity
virtual void calculateVisiblity() override
A function that calculates the visibility of the image if a polygon is given. [does nothing in Raster...
Definition: IntelliRasterImage.cpp:21
IntelliRasterImage::setPolygon
virtual void setPolygon(const std::vector< QPoint > &polygonData) override
An abstract function that sets the data of the visible Polygon, if needed.
Definition: IntelliRasterImage.cpp:41
IntelliRasterImage::IntelliRasterImage
IntelliRasterImage(int weight, int height)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
Definition: IntelliRasterImage.cpp:6
IntelliRasterImage
The IntelliRasterImage manages a Rasterimage.
Definition: IntelliRasterImage.h:9