38 #ifndef vtkPerlinNoise_h
39 #define vtkPerlinNoise_h
41 #include "vtkCommonDataModelModule.h"
76 vtkSetVector3Macro(Frequency,
double);
77 vtkGetVectorMacro(Frequency,
double,3);
87 vtkSetVector3Macro(Phase,
double);
88 vtkGetVectorMacro(Phase,
double,3);
99 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.
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
~vtkPerlinNoise() override
a simple class to control print indentation
double EvaluateFunction(double x, double y, double z)
Evaluate PerlinNoise function.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
an implicit function that implements Perlin noise