42#ifndef vtkPerlinNoise_h
43#define vtkPerlinNoise_h
45#include "vtkCommonDataModelModule.h"
48VTK_ABI_NAMESPACE_BEGIN
80 vtkSetVector3Macro(Frequency,
double);
81 vtkGetVectorMacro(Frequency,
double, 3);
91 vtkSetVector3Macro(Phase,
double);
92 vtkGetVectorMacro(Phase,
double, 3);
102 vtkSetMacro(Amplitude,
double);
103 vtkGetMacro(Amplitude,
double);
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
a simple class to control print indentation
an implicit function that implements Perlin noise
void EvaluateGradient(double x[3], double n[3]) override
Evaluate PerlinNoise gradient.
static vtkPerlinNoise * New()
Instantiate the class.
double EvaluateFunction(double x[3]) override
Evaluate PerlinNoise function.
~vtkPerlinNoise() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.