#include <randompointsgenerator.h>
Fonctions membres publiques | |
RandomPointsGenerator (const FractalParameters *_fractal_parameters) | |
qreal | progress () const |
Retourne la progression actuelle de la génération de points. | |
void | init () |
Initialise la génération de points. | |
Point | next () |
Renvoie le prochain point. | |
bool | end () |
Retourne si la fin de génération est arrivée. | |
Attributs protégés | |
quint64 | m_points_generated |
qreal | m_inv_rand_max |
Génère un nombre défini de points aléatoires.
bool RandomPointsGenerator::end | ( | ) | [inline, virtual] |
Retourne si la fin de génération est arrivée.
Implémente PointsGenerator.
Point RandomPointsGenerator::next | ( | ) | [inline, virtual] |
Renvoie le prochain point.
Implémente PointsGenerator.
Réimplémentée dans TestPointsGenerator.
qreal RandomPointsGenerator::progress | ( | ) | const [inline, virtual] |
Retourne la progression actuelle de la génération de points.
Implémente PointsGenerator.