38 #ifndef vtkParametricRandomHills_h 39 #define vtkParametricRandomHills_h 41 #include "vtkCommonComputationalGeometryModule.h" 84 vtkGetMacro(NumberOfHills,
int);
93 vtkGetMacro(HillXVariance,
double);
102 vtkGetMacro(HillYVariance,
double);
111 vtkGetMacro(HillAmplitude,
double);
122 vtkGetMacro(RandomSeed,
int);
139 vtkSetClampMacro(AllowRandomGeneration,
int, 0, 1);
140 vtkGetMacro(AllowRandomGeneration,
int);
150 vtkGetMacro(XVarianceScaleFactor,
double);
159 vtkGetMacro(YVarianceScaleFactor,
double);
168 vtkGetMacro(AmplitudeScaleFactor,
double);
179 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
195 double Duvw[9])
override;
230 void InitRNG(
int RandomSeed);
248 void MakeTheHillData(
void);
253 bool ParametersChanged();
258 void CopyParameters();
int previousNumberOfHills
Generate a surface covered with randomly placed hills.
double XVarianceScaleFactor
int previousAllowRandomGeneration
double previousAmplitudeScaleFactor
int AllowRandomGeneration
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
Performs the mapping $f(uvw)->(Pt,Duvw)$f.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetDimension() override
Return the parametric dimension of the class.
dynamic, self-adjusting array of double
double previousHillXVariance
abstract interface for parametric functions
a simple class to control print indentation
double previousHillYVariance
Park and Miller Sequence of pseudo random numbers.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double AmplitudeScaleFactor
double YVarianceScaleFactor
double previousXVarianceScaleFactor
double previousHillAmplitude
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
double previousYVarianceScaleFactor