IntelliPhoto 0.6

IntelliRasterImage.h
Go to the documentation of this file.
1 #ifndef INTELLIRASTER_H
2 #define INTELLIRASTER_H
3
4 #include "Image/IntelliImage.h"
5
6 //for unit testing
7 class UnitTest;
8
12 class IntelliRasterImage : public IntelliImage {
13 friend UnitTest;
14 friend IntelliTool;
15 protected:
19 virtual void calculateVisiblity() override;
20 public:
27 IntelliRasterImage(int width, int height, bool fastRendererOn);
28
29 IntelliRasterImage* copy(const IntelliRasterImage& image);
30
34 virtual ~IntelliRasterImage() override;
35
42 virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
43
49 virtual QImage getDisplayable(int alpha = 255) override;
50
55 virtual IntelliImage* getDeepCopy() override;
56
61 virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
62
67 virtual std::vector<QPoint> getPolygon();
68 };
69
70 #endif
IntelliImage.h
IntelliRasterImage::~IntelliRasterImage
virtual ~IntelliRasterImage() override
An Destructor.
Definition: IntelliRasterImage.cpp:21
IntelliRasterImage::IntelliRasterImage
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
Definition: IntelliRasterImage.cpp:6
IntelliRasterImage::copy
IntelliRasterImage * copy(const IntelliRasterImage &image)
Definition: IntelliRasterImage.cpp:13
IntelliRasterImage::getPolygon
virtual std::vector< QPoint > getPolygon()
getPolygon
Definition: IntelliRasterImage.cpp:62
IntelliTool
An abstract class that manages the basic events, like mouse clicks or scrolls events.
Definition: IntelliTool.h:17
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:40
UnitTest
Definition: mainUnitTest.cpp:8
IntelliImage
An abstract class which manages the basic IntelliImage operations.
Definition: IntelliImage.h:30
IntelliRasterImage::getDeepCopy
virtual IntelliImage * getDeepCopy() override
A function that copys all that returns a [allocated] Image.
Definition: IntelliRasterImage.cpp:25
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:32
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:58
IntelliRasterImage
The IntelliRasterImage manages a RASTERIMAGE.
Definition: IntelliRasterImage.h:12