A custom class for creating a multi-threading (for fractals generation). More...
#include <aithread.hpp>
Signals | |
void | completed (AiGenerator::AiZone *zone) |
signal fired within image generation is complited | |
void | progressStatus (int val) |
signal fired within progressbar value changed | |
void | snapshot (AiGenerator::AiZone *zone) |
send a snapshot to view | |
Public Member Functions | |
AiThread (QObject *parent=0) | |
contructor with optional parent | |
~AiThread () | |
destructor | |
void | makeZone (double x, double y, double zoneWidth, double zoneHeight, int imageWidth, int imageHeight, int startPoint, int increment, int iteration, double zoom=1., double viewx=.0, double viewy=.0) |
making and creating a new complex zone for current thread | |
void | scriptFile (const QString &file) |
set script file | |
void | start () |
start thread | |
void | stop () |
stop thread | |
void | mode (QPainter::CompositionMode m) |
set composition mode for current thread | |
AiZone * | getZone () |
void | setZone (AiZone &zone) |
Protected Member Functions | |
void | run () |
running thread | |
Private Attributes | |
AiZone | m_zone |
current thread zone | |
QString | m_file |
current thread script |
A custom class for creating a multi-threading (for fractals generation).
Definition at line 58 of file aithread.hpp.