HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_Noise.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RU_Noise.h
7  *
8  * COMMENTS:
9  * Creates noise.
10  */
11 #ifndef RU_NOISE_H
12 #define RU_NOISE_H
13 
14 #include "RU_API.h"
15 #include <UT/UT_Noise.h>
16 #include <UT/UT_Vector3.h>
17 #include <UT/UT_Vector4.h>
18 
19 #include "RU_Algorithm.h"
20 
21 class TIL_TileList;
22 
23 
25 {
26 public:
27  RU_Noise();
28  ~RU_Noise() override;
29 
30  int initialize(float t) override;
31 
32  DECLARE_GENERATOR_OP(RU_NoiseOp, override)
33 
34  // Parameters.
35  int mySeed;
36  UT_Noise::UT_NoiseType myNoiseType;
37  int myTurb;
38  float myRough;
39  float myExp;
40  UT_Vector4 myAmp;
41  UT_Vector4 myShift;
42 
43  UT_Vector3 myFreq;
44  UT_Vector3 myOffset1;
45  UT_Vector3 myOffset2;
46 
47  float myScaleX;
48  float myScaleY;
49 
50  int myStride;
51  int myHeight;
52  UT_Noise *myNoiseFunc;
53  bool myPerComp;
54  bool myRandomNoiseFlag;
55 };
56 
57 
58 #endif
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
virtual int initialize(float t)
#define RU_API
Definition: RU_API.h:10
GLdouble t
Definition: glad.h:2397
#define DECLARE_GENERATOR_OP(name, override_)