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