HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
24
class
RU_API
RU_Noise
:
public
RU_Algorithm
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
UT_Noise.h
int
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
RU_Algorithm::initialize
virtual int initialize(float t)
RU_Algorithm.h
UT_Vector3.h
RU_Algorithm
Definition:
RU_Algorithm.h:29
RU_API
#define RU_API
Definition:
RU_API.h:10
UT_Vector3T< float >
UT_Vector4T< float >
RU_API.h
TIL_TileList
Definition:
TIL_TileList.h:21
UT_Vector4.h
t
GLdouble t
Definition:
glad.h:2397
RU_Noise
Definition:
RU_Noise.h:24
UT_Noise
Definition:
UT_Noise.h:28
DECLARE_GENERATOR_OP
#define DECLARE_GENERATOR_OP(name, override_)
Definition:
RU_AlgorithmMacros.h:18
RU
RU_Noise.h
Generated on Sun Nov 17 2024 03:03:18 for HDK by
1.8.6