Implementation of the fusing operator.
#include <ImageComposer_FuseOperator.h>
Public Member Functions | |
ImageComposer_FuseOperator () | |
Constructor. More... | |
virtual | ~ImageComposer_FuseOperator () |
virtual QString | name () const |
Return name of the operator. More... | |
Public Member Functions inherited from ImageComposer_Operator | |
ImageComposer_Operator () | |
Constructor. More... | |
virtual | ~ImageComposer_Operator () |
Destructor. More... | |
void | getArgs (QColor &theBackground) const |
Get operator arguments. More... | |
void | setArgs (const QColor &theBackground) |
Set operator arguments. More... | |
QByteArray | getBinArgs () const |
Get the operator's arguments in the form of a binary array. More... | |
void | setBinArgs (const QByteArray &) |
Set the operator's arguments in the form of a binary array. More... | |
QStringList | dumpArgsToPython (QString &theArrayName) const |
Dumps arguments of operator to python script representation. More... | |
virtual ImageComposer_Image | process (const QVariant &theObj1, const QVariant &theObj2) const |
Perform the composing of images. More... | |
Static Public Member Functions | |
static QString | Type () |
Protected Member Functions | |
virtual QRectF | calcResultBoundingRect (const QVariant &theObj1, const QVariant &theObj2) const |
Calculate bounding rectangle for the result image. More... | |
virtual void | drawResult (QPainter &thePainter, const QVariant &theObj1, const QVariant &theObj2) const |
Draw result image using the given painter. More... | |
Protected Member Functions inherited from ImageComposer_Operator | |
virtual void | storeArgs (QDataStream &theStream) const |
Store the operator's arguments to the stream. More... | |
virtual void | restoreArgs (QDataStream &theStream) |
Restore the operator's arguments from the stream. More... | |
ImageComposer_FuseOperator::ImageComposer_FuseOperator | ( | ) |
|
virtual |
|
protectedvirtual |
theObj1 | first object to calculate |
theObj2 | second object to calculate |
Implements ImageComposer_Operator.
References ImageComposer_Image::boundingRect().
|
protectedvirtual |
thePainter | the painter on the result image |
theObj1 | the first object to compose |
theObj2 | the second object to compose |
Implements ImageComposer_Operator.
References ImageComposer_Image::draw().
|
virtual |
|
inlinestatic |