125 #ifndef vtkParametricRandomHills_h
126 #define vtkParametricRandomHills_h
128 #include "vtkCommonComputationalGeometryModule.h"
131 VTK_ABI_NAMESPACE_BEGIN
170 vtkSetMacro(NumberOfHills,
int);
171 vtkGetMacro(NumberOfHills,
int);
179 vtkSetMacro(HillXVariance,
double);
180 vtkGetMacro(HillXVariance,
double);
188 vtkSetMacro(HillYVariance,
double);
189 vtkGetMacro(HillYVariance,
double);
197 vtkSetMacro(HillAmplitude,
double);
198 vtkGetMacro(HillAmplitude,
double);
208 vtkSetMacro(RandomSeed,
int);
209 vtkGetMacro(RandomSeed,
int);
236 vtkSetMacro(XVarianceScaleFactor,
double);
237 vtkGetMacro(XVarianceScaleFactor,
double);
245 vtkSetMacro(YVarianceScaleFactor,
double);
246 vtkGetMacro(YVarianceScaleFactor,
double);
254 vtkSetMacro(AmplitudeScaleFactor,
double);
255 vtkGetMacro(AmplitudeScaleFactor,
double);
266 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
316 void InitRNG(
int RandomSeed);
334 void MakeTheHillData();
339 bool ParametersChanged();
344 void CopyParameters();
354 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()