26#ifndef vtkParametricRandomHills_h
27#define vtkParametricRandomHills_h
29#include "vtkCommonComputationalGeometryModule.h"
32VTK_ABI_NAMESPACE_BEGIN
71 vtkSetMacro(NumberOfHills,
int);
72 vtkGetMacro(NumberOfHills,
int);
80 vtkSetMacro(HillXVariance,
double);
81 vtkGetMacro(HillXVariance,
double);
89 vtkSetMacro(HillYVariance,
double);
90 vtkGetMacro(HillYVariance,
double);
98 vtkSetMacro(HillAmplitude,
double);
99 vtkGetMacro(HillAmplitude,
double);
109 vtkSetMacro(RandomSeed,
int);
110 vtkGetMacro(RandomSeed,
int);
137 vtkSetMacro(XVarianceScaleFactor,
double);
138 vtkGetMacro(XVarianceScaleFactor,
double);
146 vtkSetMacro(YVarianceScaleFactor,
double);
147 vtkGetMacro(YVarianceScaleFactor,
double);
155 vtkSetMacro(AmplitudeScaleFactor,
double);
156 vtkGetMacro(AmplitudeScaleFactor,
double);
167 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
217 void InitRNG(
int RandomSeed);
235 void MakeTheHillData();
240 bool ParametersChanged();
245 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.
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
static vtkParametricRandomHills * New()
Construct a surface of random hills with the following parameters: MinimumU = -10,...
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()