SeExpr
|
#include <ExprDeepWater.h>
Public Member Functions | |
SeDeepWater () | |
virtual | ~SeDeepWater () |
void | setParams (const SeDeepWaterParams ¶msIn) |
T | sqr (T x) |
T | toIndex (const T x) |
T | fromIndex (const T index) |
T | fromLog (const T x) |
T | toLog (const T z) |
T | powerLaw (const T x, const SeDeepWaterParams ¶ms) |
T | rescale (const T x) |
void | generateSpectrum () |
T | getValue (double param) const |
Evaluates curve and returns full value. More... | |
T | getKLow () |
T | getKHigh () |
bool | inGrid () |
Static Public Member Functions | |
static T | kscale () |
static T | bottom_offset () |
Public Attributes | |
T | gravity |
size_t | gridSize |
SeDeepWaterParams | params |
std::vector< T > | energy |
T | klowindex |
T | khighindex |
T | kmaxindex |
Definition at line 53 of file ExprDeepWater.h.
|
inline |
Definition at line 55 of file ExprDeepWater.h.
|
inlinevirtual |
Definition at line 56 of file ExprDeepWater.h.
|
inlinestatic |
Definition at line 79 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::fromLog(), and SeDeepWater< T >::toLog().
|
inline |
Definition at line 74 of file ExprDeepWater.h.
References index(), and SeDeepWater< T >::kscale().
Referenced by SeDeepWater< T >::generateSpectrum().
|
inline |
Definition at line 81 of file ExprDeepWater.h.
References SeDeepWater< T >::bottom_offset().
Referenced by SeDeepWater< T >::generateSpectrum().
|
inline |
Definition at line 101 of file ExprDeepWater.h.
References SeDeepWaterParams::directionalFactorExponent, SeDeepWater< T >::energy, SeDeepWater< T >::fromIndex(), SeDeepWater< T >::fromLog(), SeDeepWater< T >::gravity, SeDeepWater< T >::gridSize, SeDeepWater< T >::khighindex, SeDeepWater< T >::klowindex, SeDeepWater< T >::kmaxindex, SeDeepWaterParams::lengthCutoff, SeDeepWater< T >::params, SeDeepWater< T >::powerLaw(), SeDeepWater< T >::rescale(), SeDeepWater< T >::sqr(), SeDeepWaterParams::tileSize, SeDeepWater< T >::toIndex(), SeDeepWater< T >::toLog(), SeDeepWaterParams::windSpeed, and x.
Referenced by DeepWaterScene::rebuildDeepWater().
|
inline |
Definition at line 143 of file ExprDeepWater.h.
References SeDeepWater< T >::energy, and SeDeepWater< T >::khighindex.
Referenced by DeepWaterScene::drawGrid().
|
inline |
Definition at line 138 of file ExprDeepWater.h.
References SeDeepWater< T >::energy, and SeDeepWater< T >::klowindex.
Referenced by DeepWaterScene::drawGrid().
|
inline |
Evaluates curve and returns full value.
Definition at line 130 of file ExprDeepWater.h.
References SeDeepWater< T >::energy, and index().
Referenced by DeepWaterScene::drawPoly().
|
inline |
Definition at line 148 of file ExprDeepWater.h.
References SeDeepWater< T >::khighindex, SeDeepWater< T >::klowindex, and SeDeepWater< T >::kmaxindex.
Referenced by DeepWaterScene::drawGrid().
|
inlinestatic |
Definition at line 67 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::fromIndex(), and SeDeepWater< T >::toIndex().
|
inline |
Definition at line 91 of file ExprDeepWater.h.
References SeDeepWaterParams::amplitude, SeDeepWaterParams::directionalFactorExponent, pow(), and SeDeepWater< T >::sqr().
Referenced by SeDeepWater< T >::generateSpectrum().
|
inline |
Definition at line 96 of file ExprDeepWater.h.
References pow().
Referenced by SeDeepWater< T >::generateSpectrum().
|
inline |
Definition at line 58 of file ExprDeepWater.h.
References SeDeepWater< T >::gridSize, SeDeepWater< T >::params, and SeDeepWaterParams::resolution.
Referenced by DeepWaterScene::rebuildDeepWater().
|
inline |
Definition at line 63 of file ExprDeepWater.h.
References x.
Referenced by SeDeepWater< T >::generateSpectrum(), and SeDeepWater< T >::powerLaw().
|
inline |
Definition at line 69 of file ExprDeepWater.h.
References SeDeepWater< T >::kscale().
Referenced by SeDeepWater< T >::generateSpectrum().
|
inline |
Definition at line 86 of file ExprDeepWater.h.
References SeDeepWater< T >::bottom_offset().
Referenced by SeDeepWater< T >::generateSpectrum().
std::vector<T> SeDeepWater< T >::energy |
Definition at line 153 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), SeDeepWater< T >::getKHigh(), SeDeepWater< T >::getKLow(), and SeDeepWater< T >::getValue().
T SeDeepWater< T >::gravity |
Definition at line 150 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum().
size_t SeDeepWater< T >::gridSize |
Definition at line 151 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), and SeDeepWater< T >::setParams().
T SeDeepWater< T >::khighindex |
Definition at line 155 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), SeDeepWater< T >::getKHigh(), and SeDeepWater< T >::inGrid().
T SeDeepWater< T >::klowindex |
Definition at line 154 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), SeDeepWater< T >::getKLow(), and SeDeepWater< T >::inGrid().
T SeDeepWater< T >::kmaxindex |
Definition at line 156 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), and SeDeepWater< T >::inGrid().
SeDeepWaterParams SeDeepWater< T >::params |
Definition at line 152 of file ExprDeepWater.h.
Referenced by SeDeepWater< T >::generateSpectrum(), and SeDeepWater< T >::setParams().