IntelliPhoto  0.4
IntelliRasterImage Class Reference

#include <IntelliRasterImage.h>

Inheritance diagram for IntelliRasterImage:
Collaboration diagram for IntelliRasterImage:

Public Member Functions

 IntelliRasterImage (int weight, int height)
 
virtual ~IntelliRasterImage () override
 
virtual QImage getDisplayable (const QSize &displaySize, int alpha) override
 
virtual QImage getDisplayable (int alpha=255) override
 
virtual IntelliImagegetDeepCopy () override
 
virtual void setPolygon (const std::vector< QPoint > &polygonData) 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 std::vector< QPoint > getPolygonData ()
 
virtual bool loadImage (const QString &fileName)
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from IntelliImage
QImage imageData
 

Detailed Description

Definition at line 6 of file IntelliRasterImage.h.

Constructor & Destructor Documentation

◆ IntelliRasterImage()

IntelliRasterImage::IntelliRasterImage ( int  weight,
int  height 
)

Definition at line 6 of file IntelliRasterImage.cpp.

Here is the caller graph for this function:

◆ ~IntelliRasterImage()

IntelliRasterImage::~IntelliRasterImage ( )
overridevirtual

Definition at line 11 of file IntelliRasterImage.cpp.

Member Function Documentation

◆ calculateVisiblity()

void IntelliRasterImage::calculateVisiblity ( )
overrideprotectedvirtual

Implements IntelliImage.

Reimplemented in IntelliShapedImage.

Definition at line 21 of file IntelliRasterImage.cpp.

◆ getDeepCopy()

IntelliImage * IntelliRasterImage::getDeepCopy ( )
overridevirtual

Implements IntelliImage.

Reimplemented in IntelliShapedImage.

Definition at line 15 of file IntelliRasterImage.cpp.

Here is the call graph for this function:

◆ getDisplayable() [1/2]

QImage IntelliRasterImage::getDisplayable ( const QSize &  displaySize,
int  alpha 
)
overridevirtual

Implements IntelliImage.

Reimplemented in IntelliShapedImage.

Definition at line 29 of file IntelliRasterImage.cpp.

Here is the caller graph for this function:

◆ getDisplayable() [2/2]

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

Implements IntelliImage.

Reimplemented in IntelliShapedImage.

Definition at line 25 of file IntelliRasterImage.cpp.

Here is the call graph for this function:

◆ setPolygon()

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

Implements IntelliImage.

Reimplemented in IntelliShapedImage.

Definition at line 41 of file IntelliRasterImage.cpp.


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