9 extern __global__ void newton(uchar4* ptrDevPixels, int w, int h, DomaineMath domaineMath);
\r
11 Newton::Newton(int w, int h)
\r
12 : variateurAnimation(IntervalF(30, 100), 1),
\r
16 ptrDomaineMathInit(new DomaineMath(-2, -2, 2, 2)),
\r
17 title("Fractal Newton")
\r
20 Device::assertDim(dg, db);
\r
25 delete this->ptrDomaineMathInit;
\r
28 void Newton::runGPU(uchar4* ptrDevPixels, const DomaineMath& domaineMath)
\r
30 newton<<<dg,db>>>(ptrDevPixels, this->w, this->h, domaineMath);
\r
33 void Newton::animationStep()
\r
35 this->t = this->variateurAnimation.varierAndGet();
\r
48 DomaineMath* Newton::getDomaineMathInit()
\r
50 return this->ptrDomaineMathInit;
\r
53 float Newton::getT()
\r
58 string Newton::getTitle()
\r