47#ifndef vtkParametricRandomHills_h
48#define vtkParametricRandomHills_h
50#include "vtkCommonComputationalGeometryModule.h"
91 vtkSetMacro(NumberOfHills,
int);
92 vtkGetMacro(NumberOfHills,
int);
100 vtkSetMacro(HillXVariance,
double);
101 vtkGetMacro(HillXVariance,
double);
109 vtkSetMacro(HillYVariance,
double);
110 vtkGetMacro(HillYVariance,
double);
118 vtkSetMacro(HillAmplitude,
double);
119 vtkGetMacro(HillAmplitude,
double);
129 vtkSetMacro(RandomSeed,
int);
130 vtkGetMacro(RandomSeed,
int);
157 vtkSetMacro(XVarianceScaleFactor,
double);
158 vtkGetMacro(XVarianceScaleFactor,
double);
166 vtkSetMacro(YVarianceScaleFactor,
double);
167 vtkGetMacro(YVarianceScaleFactor,
double);
175 vtkSetMacro(AmplitudeScaleFactor,
double);
176 vtkGetMacro(AmplitudeScaleFactor,
double);
187 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
237 void InitRNG(
int RandomSeed);
255 void MakeTheHillData(
void);
260 bool ParametersChanged();
265 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()