00001 #ifndef NEWTON_H 00002 #define NEWTON_H 00003 00004 #include "fractal.h" 00005 00011 class Newton : public Fractal 00012 { 00013 public: 00014 Newton(int limit = 1000, QObject * parent = 0); 00015 virtual void genererSequence(const Complex &pInit, QVector<Complex> & sequence); 00016 00017 private: 00018 virtual Complex suivant(const Complex & Zn); 00019 virtual bool fin(const Complex & Zn); 00020 }; 00021 00022 #endif // NEWTON_H