35 #ifndef vtkParametricRandomHills_h
36 #define vtkParametricRandomHills_h
38 #include "vtkCommonComputationalGeometryModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
80 vtkSetMacro(NumberOfHills,
int);
81 vtkGetMacro(NumberOfHills,
int);
89 vtkSetMacro(HillXVariance,
double);
90 vtkGetMacro(HillXVariance,
double);
98 vtkSetMacro(HillYVariance,
double);
99 vtkGetMacro(HillYVariance,
double);
107 vtkSetMacro(HillAmplitude,
double);
108 vtkGetMacro(HillAmplitude,
double);
118 vtkSetMacro(RandomSeed,
int);
119 vtkGetMacro(RandomSeed,
int);
146 vtkSetMacro(XVarianceScaleFactor,
double);
147 vtkGetMacro(XVarianceScaleFactor,
double);
155 vtkSetMacro(YVarianceScaleFactor,
double);
156 vtkGetMacro(YVarianceScaleFactor,
double);
164 vtkSetMacro(AmplitudeScaleFactor,
double);
165 vtkGetMacro(AmplitudeScaleFactor,
double);
176 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
226 void InitRNG(
int RandomSeed);
244 void MakeTheHillData();
249 bool ParametersChanged();
254 void CopyParameters();
264 VTK_ABI_NAMESPACE_END
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()