IntelliPhoto  0.4
IntelliShapedImage Class Reference

#include <IntelliShapedImage.h>

Inheritance diagram for IntelliShapedImage:
Collaboration diagram for IntelliShapedImage:

Public Member Functions

 IntelliShapedImage (int weight, int height)
 
virtual ~IntelliShapedImage () override
 
virtual void calculateVisiblity () override
 
virtual QImage getDisplayable (const QSize &displaySize, int alpha=255) override
 
virtual QImage getDisplayable (int alpha=255) override
 
virtual IntelliImagegetDeepCopy () override
 
virtual std::vector< QPoint > getPolygonData () override
 
virtual void setPolygon (const std::vector< QPoint > &polygonData) override
 
- Public Member Functions inherited from IntelliRasterImage
 IntelliRasterImage (int weight, int height)
 
virtual ~IntelliRasterImage () override
 
- Public Member Functions inherited from IntelliImage
 IntelliImage (int weight, int height)
 
virtual ~IntelliImage ()=0
 
virtual void drawPixel (const QPoint &p1, const QColor &color)
 
virtual void drawLine (const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)
 
virtual void drawPlain (const QColor &color)
 
virtual bool loadImage (const QString &fileName)
 

Protected Attributes

std::vector< QPoint > polygonData
 
- Protected Attributes inherited from IntelliImage
QImage imageData
 

Additional Inherited Members

- Protected Member Functions inherited from IntelliImage
void resizeImage (QImage *image, const QSize &newSize)
 

Detailed Description

Definition at line 6 of file IntelliShapedImage.h.

Constructor & Destructor Documentation

◆ IntelliShapedImage()

IntelliShapedImage::IntelliShapedImage ( int  weight,
int  height 
)

Definition at line 7 of file IntelliShapedImage.cpp.

Here is the caller graph for this function:

◆ ~IntelliShapedImage()

IntelliShapedImage::~IntelliShapedImage ( )
overridevirtual

Definition at line 11 of file IntelliShapedImage.cpp.

Member Function Documentation

◆ calculateVisiblity()

void IntelliShapedImage::calculateVisiblity ( )
overridevirtual

Reimplemented from IntelliRasterImage.

Definition at line 26 of file IntelliShapedImage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDeepCopy()

IntelliImage * IntelliShapedImage::getDeepCopy ( )
overridevirtual

Reimplemented from IntelliRasterImage.

Definition at line 19 of file IntelliShapedImage.cpp.

Here is the call graph for this function:

◆ getDisplayable() [1/2]

QImage IntelliShapedImage::getDisplayable ( const QSize &  displaySize,
int  alpha = 255 
)
overridevirtual

Reimplemented from IntelliRasterImage.

Definition at line 62 of file IntelliShapedImage.cpp.

Here is the caller graph for this function:

◆ getDisplayable() [2/2]

QImage IntelliShapedImage::getDisplayable ( int  alpha = 255)
overridevirtual

Reimplemented from IntelliRasterImage.

Definition at line 15 of file IntelliShapedImage.cpp.

Here is the call graph for this function:

◆ getPolygonData()

virtual std::vector<QPoint> IntelliShapedImage::getPolygonData ( )
inlineoverridevirtual

Reimplemented from IntelliImage.

Definition at line 23 of file IntelliShapedImage.h.

◆ setPolygon()

void IntelliShapedImage::setPolygon ( const std::vector< QPoint > &  polygonData)
overridevirtual

Reimplemented from IntelliRasterImage.

Definition at line 74 of file IntelliShapedImage.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ polygonData

std::vector<QPoint> IntelliShapedImage::polygonData
protected

Definition at line 10 of file IntelliShapedImage.h.


The documentation for this class was generated from the following files: