AiGenerator::AiThread Class Reference

A custom class for creating a multi-threading (for fractals generation). More...

#include <aithread.hpp>

List of all members.

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
AiZonegetZone ()
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

Detailed Description

A custom class for creating a multi-threading (for fractals generation).

Author:
Adrabi Abderrahim
Date:
2010-01-10

Definition at line 58 of file aithread.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:26 2010 for AiFractals by  doxygen 1.6.1