NaiveIRGenerator.h 555 B

1234567891011121314151617181920212223242526
  1. #ifndef MANDEL_NAIVEIRGENERATOR_H
  2. #define MANDEL_NAIVEIRGENERATOR_H
  3. #include "IterationIR.h"
  4. #include "Generators.h"
  5. namespace mnd
  6. {
  7. template<typename T>
  8. class NaiveIRGenerator;
  9. }
  10. template<typename T>
  11. class mnd::NaiveIRGenerator : public mnd::MandelGenerator
  12. {
  13. const ir::Formula& form;
  14. public:
  15. NaiveIRGenerator(const ir::Formula& irf, mnd::Precision prec = mnd::getType<T>());
  16. NaiveIRGenerator(NaiveIRGenerator&&) = default;
  17. virtual void generate(const MandelInfo& info, float* data);
  18. };
  19. #endif // MANDEL_NAIVEIRGENERATOR_H