MandelVideoGenerator.h 631 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef MANDELVIDEOGENERATOR_H
  2. #define MANDELVIDEOGENERATOR_H
  3. #include "Mandel.h"
  4. #include "Bitmap.h"
  5. struct ExportVideoInfo
  6. {
  7. mnd::MandelViewport start;
  8. mnd::MandelViewport end;
  9. int width;
  10. int height;
  11. int maxIterations;
  12. std::string path;
  13. };
  14. class MandelVideoGenerator
  15. {
  16. const ExportVideoInfo evi;
  17. public:
  18. MandelVideoGenerator(const ExportVideoInfo& evi);
  19. void generate(void);
  20. private:
  21. Bitmap<RGBColor> overlay(const Bitmap<RGBColor>& outer,
  22. const Bitmap<RGBColor>& inner,
  23. double scale);
  24. };
  25. #endif // MANDELVIDEOGENERATOR_H