#include <iostream>
#include "SeExprBuiltins.h"
#include "SeNoiseTables.h"
#include "SeNoise.h"
Go to the source code of this file.
Namespaces | |
namespace | SeExpr |
Functions | |
double | SeExpr::s_curve (double t) |
This is the Quintic interpolant from Perlin's Improved Noise Paper. | |
template<int d> | |
unsigned char | SeExpr::hashReduceChar (int index[d]) |
Does a hash reduce to a character. | |
template<int d> | |
uint32_t | SeExpr::hashReduce (uint32_t index[d]) |
Does a hash reduce to an integer. | |
template<int d_in, int d_out, class T > | |
void | SeExpr::CellNoise (const T *in, T *out) |
Computes cellular noise (non-interpolated piecewise constant cell random values). | |
template<int d, class T , bool periodic> | |
T | SeExpr::noiseHelper (const T *X, const int *period=0) |
Noise with d_in dimensional domain, 1 dimensional abcissa. | |
template<int d_in, int d_out, class T > | |
void | SeExpr::Noise (const T *in, T *out) |
Noise with d_in dimensional domain, d_out dimensional abcissa. | |
template<int d_in, int d_out, class T > | |
void | SeExpr::PNoise (const T *in, const int *period, T *out) |
Periodic Noise with d_in dimensional domain, d_out dimensional abcissa. | |
template<int d_in, int d_out, bool turbulence, class T > | |
void | SeExpr::FBM (const T *in, T *out, int octaves, T lacunarity, T gain) |
Fractional Brownian Motion. If turbulence is true then turbulence computed. | |
template void | SeExpr::CellNoise< 3, 1, double > (const double *, double *) |
template void | SeExpr::CellNoise< 3, 3, double > (const double *, double *) |
template void | SeExpr::Noise< 1, 1, double > (const double *, double *) |
template void | SeExpr::Noise< 2, 1, double > (const double *, double *) |
template void | SeExpr::Noise< 3, 1, double > (const double *, double *) |
template void | SeExpr::PNoise< 3, 1, double > (const double *, const int *, double *) |
template void | SeExpr::Noise< 4, 1, double > (const double *, double *) |
template void | SeExpr::Noise< 3, 3, double > (const double *, double *) |
template void | SeExpr::Noise< 4, 3, double > (const double *, double *) |
template void | SeExpr::FBM< 3, 1, false, double > (const double *, double *, int, double, double) |
template void | SeExpr::FBM< 3, 1, true, double > (const double *, double *, int, double, double) |
template void | SeExpr::FBM< 3, 3, false, double > (const double *, double *, int, double, double) |
template void | SeExpr::FBM< 3, 3, true, double > (const double *, double *, int, double, double) |
template void | SeExpr::FBM< 4, 1, false, double > (const double *, double *, int, double, double) |
template void | SeExpr::FBM< 4, 3, false, double > (const double *, double *, int, double, double) |