37 #ifndef vtkParametricRandomHills_h
38 #define vtkParametricRandomHills_h
68 vtkSetMacro(NumberOfHills,
int);
69 vtkGetMacro(NumberOfHills,
int);
74 vtkSetMacro(HillXVariance,
double);
75 vtkGetMacro(HillXVariance,
double);
80 vtkSetMacro(HillYVariance,
double);
81 vtkGetMacro(HillYVariance,
double);
86 vtkSetMacro(HillAmplitude,
double);
87 vtkGetMacro(HillAmplitude,
double);
94 vtkSetMacro(RandomSeed,
int);
95 vtkGetMacro(RandomSeed,
int);
107 vtkSetClampMacro(AllowRandomGeneration,
int,0,1);
108 vtkGetMacro(AllowRandomGeneration,
int);
109 vtkBooleanMacro(AllowRandomGeneration,
int);
115 vtkSetMacro(XVarianceScaleFactor,
double);
116 vtkGetMacro(XVarianceScaleFactor,
double);
122 vtkSetMacro(YVarianceScaleFactor,
double);
123 vtkGetMacro(YVarianceScaleFactor,
double);
128 vtkSetMacro(AmplitudeScaleFactor,
double);
129 vtkGetMacro(AmplitudeScaleFactor,
double);
137 VTK_LEGACY(
void GenerateTheHills(
void));
144 virtual void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9]);
154 virtual double EvaluateScalar(
double uvw[3],
double Pt[3],
double Duvw[9]);
187 void InitRNG (
int RandomSeed );
190 double Rand (
void );
199 void MakeTheHillData(
void );
202 bool ParametersChanged();
205 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
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
double previousHillXVariance
#define VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT
abstract interface for parametric functions
a simple class to control print indentation
double previousHillYVariance
Park and Miller Sequence of pseudo random numbers.
virtual int GetDimension()
double AmplitudeScaleFactor
double YVarianceScaleFactor
double previousXVarianceScaleFactor
double previousHillAmplitude
double previousYVarianceScaleFactor