33 #ifndef __vtkParametricRandomHills_h
34 #define __vtkParametricRandomHills_h
62 vtkSetMacro(NumberOfHills,
int);
63 vtkGetMacro(NumberOfHills,
int);
68 vtkSetMacro(HillXVariance,
double);
69 vtkGetMacro(HillXVariance,
double);
74 vtkSetMacro(HillYVariance,
double);
75 vtkGetMacro(HillYVariance,
double);
80 vtkSetMacro(HillAmplitude,
double);
81 vtkGetMacro(HillAmplitude,
double);
88 vtkSetMacro(RandomSeed,
int);
89 vtkGetMacro(RandomSeed,
int);
97 vtkSetMacro(AllowRandomGeneration,
int);
98 vtkGetMacro(AllowRandomGeneration,
int);
99 vtkBooleanMacro(AllowRandomGeneration,
int);
105 vtkSetMacro(XVarianceScaleFactor,
double);
106 vtkGetMacro(XVarianceScaleFactor,
double);
112 vtkSetMacro(YVarianceScaleFactor,
double);
113 vtkGetMacro(YVarianceScaleFactor,
double);
118 vtkSetMacro(AmplitudeScaleFactor,
double);
119 vtkGetMacro(AmplitudeScaleFactor,
double);
127 void GenerateTheHills(
void );
137 virtual void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9]);
147 virtual double EvaluateScalar(
double uvw[3],
double Pt[3],
double Duvw[9]);
169 void InitSeed (
int RandomSeed );
172 double Rand (
void );
Generate a surface covered with randomly placed hills.
double XVarianceScaleFactor
int AllowRandomGeneration
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
void PrintSelf(ostream &os, vtkIndent indent)
dynamic, self-adjusting array of double
abstract interface for parametric functions
a simple class to control print indentation
virtual int GetDimension()
double AmplitudeScaleFactor
double YVarianceScaleFactor