You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

yturbulence.h 580B

1234567891011121314151617181920212223
  1. /*
  2. * Y Axis turbulence
  3. */
  4. #pragma once
  5. #include <memory>
  6. #include "terrain/noisemodule.h"
  7. namespace vtk { namespace noise {
  8. class YTurbulence : public NoiseModule {
  9. public:
  10. YTurbulence(std::shared_ptr<NoiseModule> input, std::shared_ptr<NoiseModule> modifier);
  11. YTurbulence(std::shared_ptr<NoiseModule> input, std::shared_ptr<NoiseModule> modifier, const double& multiplier);
  12. double get3D(const double&x, const double&y, const double&z);
  13. protected:
  14. std::shared_ptr<NoiseModule> mInput;
  15. std::shared_ptr<NoiseModule> mModifier;
  16. double mMultiplier;
  17. };
  18. }} // vtk::noise