|
AiZone::AiZone |
( |
QObject * |
parent = 0 , |
|
|
double |
x = .0 , |
|
|
double |
y = .0 , |
|
|
double |
zoneWidth = .0 , |
|
|
double |
zoneHeight = .0 , |
|
|
int |
imageWidth = 0 , |
|
|
int |
imageHeight = 0 , |
|
|
int |
starPoint = 0 , |
|
|
int |
increment = 0 , |
|
|
int |
iteration = 0 , |
|
|
double |
zoom = 1. , |
|
|
double |
viewx = 0. , |
|
|
double |
viewy = 0. | |
|
) |
| | |
optional constructor for zone initialization
- Parameters:
-
| parent | : object parent ( default = 0 ) |
| x | : min X point in complex zone ( default = .0 ) |
| y | : min Y point in complex zone ( default = .0 ) |
| zoneWidth | : a zone width ( default = .0 ) |
| zoneHeight | : a zone height ( default = .0 ) |
| imageWidth | : a image width ( default = 0 ) |
| imageHeight | : a image height ( default = 0 ) |
| startPoint | : a image start point for fractal generation ( default = 0 ) |
| increment | : increment next image point by "defined number" ( default = 0 ) |
| iteration | : iteration numbers for generation ( default = 0 ) |
| zoom | : zoom value ( default = 1. ) |
| viewx | : zoom viewx value ( default = 0. ) |
| viewy | : zoom viewy value ( default = 0. ) |
Definition at line 46 of file aizone.cpp.
00053 : QObject( parent ), m_x( x ), m_y( y ), m_zoneWidth( zoneWidth ), m_zoneHeight( zoneHeight ),
00054 m_imageWidth( imageWidth ), m_imageHeight( imageHeight ),
00055 m_startPoint( startPoint ), m_increment( increment ), m_iteration( iteration ),
00056 m_zoom( zoom ), m_viewX( viewx ), m_viewY( viewy ),
00057 m_image( imageWidth, imageHeight, QImage::Format_RGB32 ),
00058 m_u( 0 ), m_v( 4101842887655102017LL ), m_w( 1 ),
00059 m_last_x(0), m_last_y(0), m_last_iteration(0)
00060 {
00061 status = false ;
00062 m_image.fill(Qt::transparent);
00063 }
|