38 #ifndef vtkPerlinNoise_h 39 #define vtkPerlinNoise_h 41 #include "vtkCommonDataModelModule.h" 75 vtkSetVector3Macro(Frequency,
double);
76 vtkGetVectorMacro(Frequency,
double,3);
86 vtkSetVector3Macro(Phase,
double);
87 vtkGetVectorMacro(Phase,
double,3);
97 vtkSetMacro(Amplitude,
double);
98 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
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