33 #ifndef __vtkParametricRandomHills_h
34 #define __vtkParametricRandomHills_h
36 #include "vtkCommonComputationalGeometryModule.h"
63 vtkSetMacro(NumberOfHills,
int);
64 vtkGetMacro(NumberOfHills,
int);
69 vtkSetMacro(HillXVariance,
double);
70 vtkGetMacro(HillXVariance,
double);
75 vtkSetMacro(HillYVariance,
double);
76 vtkGetMacro(HillYVariance,
double);
81 vtkSetMacro(HillAmplitude,
double);
82 vtkGetMacro(HillAmplitude,
double);
89 vtkSetMacro(RandomSeed,
int);
90 vtkGetMacro(RandomSeed,
int);
98 vtkSetMacro(AllowRandomGeneration,
int);
99 vtkGetMacro(AllowRandomGeneration,
int);
100 vtkBooleanMacro(AllowRandomGeneration,
int);
106 vtkSetMacro(XVarianceScaleFactor,
double);
107 vtkGetMacro(XVarianceScaleFactor,
double);
113 vtkSetMacro(YVarianceScaleFactor,
double);
114 vtkGetMacro(YVarianceScaleFactor,
double);
119 vtkSetMacro(AmplitudeScaleFactor,
double);
120 vtkGetMacro(AmplitudeScaleFactor,
double);
128 void GenerateTheHills(
void );
138 virtual void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9]);
148 virtual double EvaluateScalar(
double uvw[3],
double Pt[3],
double Duvw[9]);
170 void InitSeed (
int RandomSeed );
173 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