|
IntelliPhoto
0.5
|
The IntelliRasterImage manages a Rasterimage. More...
#include <IntelliRasterImage.h>


Public Member Functions | |
| IntelliRasterImage (int weight, int height) | |
| The Construcor of the IntelliRasterImage. Given the Image dimensions. More... | |
| virtual | ~IntelliRasterImage () override |
| An Destructor. More... | |
| virtual QImage | getDisplayable (const QSize &displaySize, int alpha) override |
| A function returning the displayable ImageData in a requested transparence and size. More... | |
| virtual QImage | getDisplayable (int alpha=255) override |
| A function returning the displayable ImageData in a requested transparence and it's standart size. More... | |
| virtual IntelliImage * | getDeepCopy () override |
| A function that copys all that returns a [allocated] Image. More... | |
| virtual void | setPolygon (const std::vector< QPoint > &polygonData) override |
| An abstract function that sets the data of the visible Polygon, if needed. More... | |
Public Member Functions inherited from IntelliImage | |
| IntelliImage (int weight, int height) | |
| The Construcor of the IntelliImage. Given the Image dimensions. More... | |
| virtual | ~IntelliImage ()=0 |
| An Abstract Destructor. More... | |
| virtual void | drawPixel (const QPoint &p1, const QColor &color) |
| A funtcion used to draw a pixel on the Image with the given Color. More... | |
| virtual void | drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth) |
| A function that draws A Line between two given Points in a given color. More... | |
| virtual void | drawPoint (const QPoint &p1, const QColor &color, const int &penWidth) |
| A. More... | |
| virtual void | drawPlain (const QColor &color) |
| A function that clears the whole image in a given Color. More... | |
| virtual std::vector< QPoint > | getPolygonData () |
| A function that returns the Polygondata if existent. More... | |
| virtual bool | loadImage (const QString &fileName) |
| A function that loads and sclaes an image to the fitting dimensions. More... | |
| virtual QColor | getPixelColor (QPoint &point) |
| A function that returns the pixelcolor at a certain point. More... | |
Protected Member Functions | |
| virtual void | calculateVisiblity () override |
| A function that calculates the visibility of the image if a polygon is given. [does nothing in Rasterimage]. More... | |
Protected Member Functions inherited from IntelliImage | |
| void | resizeImage (QImage *image, const QSize &newSize) |
Additional Inherited Members | |
Protected Attributes inherited from IntelliImage | |
| QImage | imageData |
| The underlying image data. More... | |
The IntelliRasterImage manages a Rasterimage.
Definition at line 9 of file IntelliRasterImage.h.
| IntelliRasterImage::IntelliRasterImage | ( | int | weight, |
| int | height | ||
| ) |
The Construcor of the IntelliRasterImage. Given the Image dimensions.
| weight | - The weight of the Image. |
| height | - The height of the Image. |
Definition at line 6 of file IntelliRasterImage.cpp.

|
overridevirtual |
An Destructor.
Definition at line 11 of file IntelliRasterImage.cpp.
|
overrideprotectedvirtual |
A function that calculates the visibility of the image if a polygon is given. [does nothing in Rasterimage].
Implements IntelliImage.
Definition at line 21 of file IntelliRasterImage.cpp.
|
overridevirtual |
A function that copys all that returns a [allocated] Image.
Implements IntelliImage.
Reimplemented in IntelliShapedImage.
Definition at line 15 of file IntelliRasterImage.cpp.

|
overridevirtual |
A function returning the displayable ImageData in a requested transparence and size.
| displaySize | - The size, in whcih the Image should be displayed. |
| alpha | - The maximum alpha value, a pixel can have. |
Implements IntelliImage.
Reimplemented in IntelliShapedImage.
Definition at line 29 of file IntelliRasterImage.cpp.

|
overridevirtual |
A function returning the displayable ImageData in a requested transparence and it's standart size.
| alpha | - The maximum alpha value, a pixel can have. |
Implements IntelliImage.
Reimplemented in IntelliShapedImage.
Definition at line 25 of file IntelliRasterImage.cpp.

|
overridevirtual |
An abstract function that sets the data of the visible Polygon, if needed.
| polygonData | - The Vertices of the Polygon. Nothing happens. |
Implements IntelliImage.
Reimplemented in IntelliShapedImage.
Definition at line 41 of file IntelliRasterImage.cpp.