IntelliRasterImage.h
Go to the documentation of this file.
#ifndef INTELLIRASTER_H
#define INTELLIRASTER_H
#include "Image/IntelliImage.h"
//for unit testing
class UnitTest;
class IntelliRasterImage : public IntelliImage {
friend UnitTest;
friend IntelliTool;
protected:
virtual void calculateVisiblity() override;
public:
IntelliRasterImage(int width, int height, bool fastRendererOn);
virtual ~IntelliRasterImage() override;
virtual QImage getDisplayable(const QSize& displaySize,int alpha) override;
virtual QImage getDisplayable(int alpha = 255) override;
virtual IntelliImage* getDeepCopy() override;
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
virtual std::vector<QPoint> getPolygon();
};
#endif
IntelliImage.h
IntelliRasterImage::~IntelliRasterImage
virtual ~IntelliRasterImage() override
An Destructor.
Definition: IntelliRasterImage.cpp:12
IntelliRasterImage::IntelliRasterImage
IntelliRasterImage(int width, int height, bool fastRendererOn)
The Construcor of the IntelliRasterImage. Given the Image dimensions.
Definition: IntelliRasterImage.cpp:6
IntelliRasterImage::getPolygon
virtual std::vector< QPoint > getPolygon()
getPolygon
Definition: IntelliRasterImage.cpp:53
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:31
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:16
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:23
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:49
IntelliRasterImage
The IntelliRasterImage manages a RASTERIMAGE.
Definition: IntelliRasterImage.h:12