51#ifndef vtkPerlinNoise_h
52#define vtkPerlinNoise_h
54#include "vtkCommonDataModelModule.h"
88 vtkSetVector3Macro(Frequency,
double);
89 vtkGetVectorMacro(Frequency,
double, 3);
99 vtkSetVector3Macro(Phase,
double);
100 vtkGetVectorMacro(Phase,
double, 3);
110 vtkSetMacro(Amplitude,
double);
111 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.