35 #ifndef vtkParametricRandomHills_h
36 #define vtkParametricRandomHills_h
38 #include "vtkCommonComputationalGeometryModule.h"
79 vtkSetMacro(NumberOfHills,
int);
80 vtkGetMacro(NumberOfHills,
int);
88 vtkSetMacro(HillXVariance,
double);
89 vtkGetMacro(HillXVariance,
double);
97 vtkSetMacro(HillYVariance,
double);
98 vtkGetMacro(HillYVariance,
double);
106 vtkSetMacro(HillAmplitude,
double);
107 vtkGetMacro(HillAmplitude,
double);
117 vtkSetMacro(RandomSeed,
int);
118 vtkGetMacro(RandomSeed,
int);
145 vtkSetMacro(XVarianceScaleFactor,
double);
146 vtkGetMacro(XVarianceScaleFactor,
double);
154 vtkSetMacro(YVarianceScaleFactor,
double);
155 vtkGetMacro(YVarianceScaleFactor,
double);
163 vtkSetMacro(AmplitudeScaleFactor,
double);
164 vtkGetMacro(AmplitudeScaleFactor,
double);
175 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
225 void InitRNG(
int RandomSeed);
243 void MakeTheHillData(
void);
248 bool ParametersChanged();
253 void CopyParameters();
dynamic, self-adjusting array of double
a simple class to control print indentation
Park and Miller Sequence of pseudo random numbers.
abstract interface for parametric functions
Generate a surface covered with randomly placed hills.
static vtkParametricRandomHills * New()
Construct a surface of random hills with the following parameters: MinimumU = -10,...
int GetDimension() override
Return the parametric dimension of the class.
double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
double previousHillAmplitude
double AmplitudeScaleFactor
double previousXVarianceScaleFactor
vtkTypeBool AllowRandomGeneration
double YVarianceScaleFactor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double previousYVarianceScaleFactor
double XVarianceScaleFactor
double previousHillYVariance
double previousAmplitudeScaleFactor
double previousHillXVariance
int previousAllowRandomGeneration
~vtkParametricRandomHills() override
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Construct a terrain consisting of hills on a surface.
int previousNumberOfHills
vtkParametricRandomHills()