a class for doing perlin noise deformations in both ISPC and serial
More...
#include <NoiseDeformer.h>
List of all members.
Public Member Functions |
| NoiseDeformer () |
| ctor
|
void | init () |
| intialise the noise deformer values
|
void | serial_deform (Imath::V3f *i_points, Imath::V3f *o_points, int _count) |
| serial deform in points to out points
|
void | ispc_deform (Imath::V3f *i_points, Imath::V3f *o_points, int count) |
| ispc deform in points to out points
|
void | setMag (const float &_value) |
| set the magnitude of the noise wave
|
Detailed Description
a class for doing perlin noise deformations in both ISPC and serial
Constructor & Destructor Documentation
NoiseDeformer::NoiseDeformer |
( |
| ) |
|
Member Function Documentation
void NoiseDeformer::init |
( |
| ) |
|
intialise the noise deformer values
void NoiseDeformer::ispc_deform |
( |
Imath::V3f * |
i_points, |
|
|
Imath::V3f * |
o_points, |
|
|
int |
count |
|
) |
| |
ispc deform in points to out points
- Parameters:
-
[in] | i_points | the points to be deformed |
[out] | o_points | the storgae for the newly deformed values |
[in] | _count | the count for iteration |
void NoiseDeformer::serial_deform |
( |
Imath::V3f * |
i_points, |
|
|
Imath::V3f * |
o_points, |
|
|
int |
_count |
|
) |
| |
serial deform in points to out points
- Parameters:
-
[in] | i_points | the points to be deformed |
[out] | o_points | the storgae for the newly deformed values |
[in] | _count | the count for iteration |
void NoiseDeformer::setMag |
( |
const float & |
_value | ) |
[inline] |
set the magnitude of the noise wave
- Parameters:
-
[in] | _value | the new magnitude |
The documentation for this class was generated from the following files: