29 #ifndef __NOISETEXTURE_H__
30 #define __NOISETEXTURE_H__
61 Types< SFFloat, SFFloat, SFInt32, SFFloat, SFInt32, SFInt32, SFInt32, SFString, SFBool > > {
63 virtual void update();
68 Inst< SFNode > _metadata = 0,
69 Inst< SFImage > _image = 0,
70 Inst< SFTextureProperties > _textureProperties = 0,
71 Inst< SFInt32 > _width = 0,
72 Inst< SFInt32 > _height = 0,
73 Inst< SFFloat > _frequency = 0,
74 Inst< SFFloat > _lacunarity = 0,
75 Inst< SFInt32 > _octaveCount = 0,
76 Inst< SFFloat > _persistence = 0,
77 Inst< SFInt32 > _seed = 0,
78 Inst< SFString > _type = 0,
79 Inst< SFBool > _tileable = 0 );
Contains the SFInt32 field class.
Header file for X3DTexture2DNode, X3D scene-graph node.
SFImage is overridden to update the value from the url and imageLoader fields of the ImageTexture.
Definition: NoiseTexture.h:61
The NoiseTexture node creates a texture with Perlin noise.
Definition: NoiseTexture.h:44
H3DUniquePtr< SFInt32 > width
Width (x-dimension) of texture.
Definition: NoiseTexture.h:89
H3DUniquePtr< SFFloat > persistence
Sets the persistence value of the Perlin noise.
Definition: NoiseTexture.h:119
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: NoiseTexture.h:142
H3DUniquePtr< SFString > type
Noise type.
Definition: NoiseTexture.h:132
H3DUniquePtr< SFFloat > lacunarity
Frequency multiplier between successive octaves.
Definition: NoiseTexture.h:107
H3DUniquePtr< SFFloat > frequency
Frequency of the first octave.
Definition: NoiseTexture.h:101
H3DUniquePtr< SFInt32 > seed
Seed value used by the Perlin-noise function.
Definition: NoiseTexture.h:125
H3DUniquePtr< SFInt32 > height
Height (y-dimension) of texture.
Definition: NoiseTexture.h:95
H3DUniquePtr< SFInt32 > octaveCount
Total number of octaves that generate the Perlin noise, higher value increases computation time,...
Definition: NoiseTexture.h:113
H3DUniquePtr< SFBool > tileable
If set to TRUE the produced texture will be tileable seamlessly.
Definition: NoiseTexture.h:139
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
This abstract node type is the base type for all node types which specify 2D sources for texture imag...
Definition: X3DTexture2DNode.h:46
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194