SimpleNGL 1.0
Public Member Functions
NoiseDeformer Class Reference

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 ( )

ctor


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_pointsthe points to be deformed
[out]o_pointsthe storgae for the newly deformed values
[in]_countthe 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_pointsthe points to be deformed
[out]o_pointsthe storgae for the newly deformed values
[in]_countthe count for iteration
void NoiseDeformer::setMag ( const float &  _value) [inline]

set the magnitude of the noise wave

Parameters:
[in]_valuethe new magnitude

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Defines