KSeExpr
4.0.4.0
|
Namespaces | |
Utils | |
Classes | |
class | Context |
class | Curve |
Interpolation curve class for double->double and double->Vec3D. More... | |
class | LLVMEvaluator |
class | RandFuncX |
struct | VoronoiPointData |
class | CachedVoronoiFunc |
struct | CurveData |
class | CurveFuncX |
class | CCurveFuncX |
class | GetVar |
class | PrintFuncX |
class | SPrintFuncX |
class | ExprLocalVar |
ExprLocalVar reference, all local variables in seexpr are subclasses of this or this itself. More... | |
class | ExprLocalVarPhi |
ExprLocalVar join (merge) references. Remembers which variables are possible assigners to this. More... | |
class | ExprVarEnv |
Variable scope for tracking variable lookup. More... | |
class | ExprVarEnvBuilder |
Variable scope builder is used by the type checking and code gen to track visiblity of variables and changing of. More... | |
struct | ExprEvalResult |
Evaluation result. More... | |
class | ExprVarRef |
abstract class for implementing variable references More... | |
class | Expression |
main expression class More... | |
class | ExprFunc |
Function Definition, used in parse tree and func table. More... | |
class | ExprFuncStandard |
class | ExprFuncX |
Extension function spec, used for complicated argument custom functions. More... | |
class | ExprFuncSimple |
class | ExprFuncLocal |
class | GlobalVal |
struct | GlobalFP |
struct | GlobalStr |
class | DExpression |
class | Expressions |
class | ExprNode |
class | ExprModuleNode |
Node that contains entire program. More... | |
class | ExprPrototypeNode |
Node that contains prototype of function. More... | |
class | ExprLocalFunctionNode |
Node that contains local function. More... | |
class | ExprBlockNode |
Node that computes local variables before evaluating expression. More... | |
class | ExprIfThenElseNode |
Node that computes local variables before evaluating expression. More... | |
class | ExprAssignNode |
Node that compute a local variable assignment. More... | |
class | ExprVecNode |
Node that constructs a vector from three scalars. More... | |
class | ExprUnaryOpNode |
NOde that computes with a single operand. More... | |
class | ExprCondNode |
Node that evaluates a conditional (if-then-else) expression. More... | |
class | ExprSubscriptNode |
Node that evaluates a component of a vector. More... | |
class | ExprCompareEqNode |
Node that implements a numeric/string comparison. More... | |
class | ExprCompareNode |
Node that implements a numeric comparison. More... | |
class | ExprBinaryOpNode |
Node that implements an binary operator. More... | |
class | ExprVarNode |
Node that references a variable. More... | |
class | ExprNumNode |
Node that stores a numeric constant. More... | |
class | ExprStrNode |
Node that stores a string. More... | |
class | ExprFuncNode |
Node that calls a function. More... | |
class | ExprNodePolicy |
Policy which provides all the AST Types for the parser. More... | |
class | ExprType |
struct | conditional_const |
class | Examiner |
class | Walker |
struct | Promote |
Promotes a FP[1] to FP[d]. More... | |
class | Interpreter |
class | PerformanceTimer |
class | Timer |
class | TypePrintExaminer |
class | VarBlock |
A thread local evaluation context. Just allocate and fill in with data. More... | |
class | VarBlockCreator |
A class that lets you register for the variables used by one or more expressions. More... | |
struct | static_if |
Static conditional type true case. More... | |
struct | static_if< false, T1, T2 > |
Static conditional type false case. More... | |
class | Vec |
class | ControlSpec |
Generic Expression control specification. More... | |
class | ExprScalarAssignSpec |
Variable equals scalar control specification. More... | |
class | ExprVectorAssignSpec |
Variable equals vector control specification. More... | |
class | ExprCurveAssignSpec |
Curve assignment expression. Assignment of curve to a variable. More... | |
class | ExprStrSpec |
class | SpecExaminer |
Examiner that builds a list of specs potentially used in widgets (for qdgui) More... | |
class | Loader |
class | ImageSynthExpr |
Simple image synthesizer expression class to support our function grapher. | |
class | ImageSynthRandFuncX |
class | MapFuncX |
class | TriplanarFuncX |
Typedefs | |
using | Statistics = std::map< std::string, double > |
using | VariableHandle = std::set< GlobalVal * >::iterator |
using | VariableSetHandle = std::set< GlobalVal * >::iterator |
using | ExprHandle = std::set< DExpression * >::iterator |
using | ExprEvalHandle = std::pair< ExprHandle, std::vector< DExpression * > > |
using | ConstExaminer = Examiner< true > |
using | ConstWalker = Walker< true > |
using | Vec1d = Vec< double, 1, false > |
using | Vec2d = Vec< double, 2, false > |
using | Vec3d = Vec< double, 3, false > |
using | Vec4d = Vec< double, 4, false > |
using | Vec1f = Vec< float, 1, false > |
using | Vec2f = Vec< float, 2, false > |
using | Vec3f = Vec< float, 3, false > |
using | Vec4f = Vec< float, 4, false > |
using | Vec1dRef = Vec< double, 1, true > |
using | Vec2dRef = Vec< double, 2, true > |
using | Vec3dRef = Vec< double, 3, true > |
using | Vec4dRef = Vec< double, 4, true > |
using | Vec1fRef = Vec< float, 1, true > |
using | Vec2fRef = Vec< float, 2, true > |
using | Vec3fRef = Vec< float, 3, true > |
using | Vec4fRef = Vec< float, 4, true > |
using | Vec1dConstRef = Vec< const double, 1, true > |
using | Vec2dConstRef = Vec< const double, 2, true > |
using | Vec3dConstRef = Vec< const double, 3, true > |
using | Vec4dConstRef = Vec< const double, 4, true > |
using | Vec1fConstRef = Vec< const float, 1, true > |
using | Vec2fConstRef = Vec< const float, 2, true > |
using | Vec3fConstRef = Vec< const float, 3, true > |
using | Vec4fConstRef = Vec< const float, 4, true > |
Functions | |
double | compress (double x, double lo, double hi) |
double | expand (double x, double lo, double hi) |
double | fit (double x, double a1, double b1, double a2, double b2) |
double | gamma (double x, double g) |
double | bias (double x, double b) |
double | contrast (double x, double c) |
double | boxstep (double x, double a) |
double | linearstep (double x, double a, double b) |
double | smoothstep (double x, double a, double b) |
double | gaussstep (double x, double a, double b) |
double | remap (double x, double source, double range, double falloff, double interp) |
double | mix (double x, double y, double alpha) |
Vec3d | hsiAdjust (const Vec3d &rgb, double h, double s, double i) |
Vec3d | hsi (int n, const Vec3d *args) |
Vec3d | midhsi (int n, const Vec3d *args) |
Vec3d | rgbtohsl (const Vec3d &rgb) |
static double | hslvalue (double x, double y, double H) |
Vec3d | hsltorgb (const Vec3d &hsl) |
static Vec3d | saturate (const Vec3d &Cin, double amt) |
Vec3d | saturate (int n, const Vec3d *args) |
double | hash (int n, double *args) |
double | noise (int n, const Vec3d *args) |
double | snoise (const Vec3d &p) |
Vec3d | vnoise (const Vec3d &p) |
Vec3d | cnoise (const Vec3d &p) |
double | snoise4 (int, const Vec3d *args) |
Vec3d | vnoise4 (int, const Vec3d *args) |
Vec3d | cnoise4 (int n, const Vec3d *args) |
double | turbulence (int n, const Vec3d *args) |
Vec3d | vturbulence (int n, const Vec3d *args) |
Vec3d | cturbulence (int n, const Vec3d *args) |
double | fbm (int n, const Vec3d *args) |
Vec3d | vfbm (int n, const Vec3d *args) |
double | fbm4 (int n, const Vec3d *args) |
Vec3d | vfbm4 (int n, const Vec3d *args) |
Vec3d | cfbm (int n, const Vec3d *args) |
Vec3d | cfbm4 (int n, const Vec3d *args) |
double | cellnoise (const Vec3d &p) |
Vec3d | ccellnoise (const Vec3d &p) |
double | pnoise (const Vec3d &p, const Vec3d &period) |
static Vec3d * | voronoi_points (VoronoiPointData &data, const Vec3d &cell, double jitter) |
static void | voronoi_f1_3d (VoronoiPointData &data, const Vec3d &p, double jitter, double &f1, Vec3d &pos1) |
static void | voronoi_f1f2_3d (VoronoiPointData &data, const Vec3d &p, double jitter, double &f1, Vec3d &pos1, double &f2, Vec3d &pos2) |
Vec3d | voronoiFn (VoronoiPointData &data, int n, const Vec3d *args) |
Vec3d | cvoronoiFn (VoronoiPointData &data, int n, const Vec3d *args) |
Vec3d | pvoronoiFn (VoronoiPointData &data, int n, const Vec3d *args) |
KSeExpr::CachedVoronoiFunc ExprFuncSimple | voronoi (voronoiFn) |
KSeExpr::CachedVoronoiFunc ExprFuncSimple | cvoronoi (cvoronoiFn) |
KSeExpr::CachedVoronoiFunc ExprFuncSimple | pvoronoi (pvoronoiFn) |
double | dist (const Vec3d &a, const Vec3d &b) |
double | length (const Vec3d &v) |
double | hypot (double x, double y) |
double | dot (const Vec3d &a, const Vec3d &b) |
Vec3d | norm (const Vec3d &a) |
Vec3d | cross (const Vec3d &a, const Vec3d &b) |
double | angle (const Vec3d &a, const Vec3d &b) |
Vec3d | ortho (const Vec3d &a, const Vec3d &b) |
Vec3d | rotate (int n, const Vec3d *args) |
Vec3d | up (const Vec3d &P, const Vec3d &upvec) |
double | cycle (double index, double loRange, double hiRange) |
double | pick (int n, double *params) |
double | swatch (int n, double *params) |
double | choose (int n, double *params) |
double | wchoose (int n, double *params) |
double | spline (int n, double *params) |
void | defineBuiltins (ExprFunc::Define, ExprFunc::Define3 define3) |
double | deg (double angle) |
double | rad (double angle) |
double | cosd (double x) |
double | sind (double x) |
double | tand (double x) |
double | acosd (double x) |
double | asind (double x) |
double | atand (double x) |
double | atan2d (double y, double x) |
double | clamp (double x, double lo, double hi) |
double | round (double x) |
double | max (double x, double y) |
double | min (double x, double y) |
double | invert (double x) |
static Expression::EvaluationStrategy | chooseDefaultEvaluationStrategy () |
static void | defineInternal (const char *name, const ExprFunc &f) |
static void | defineInternal3 (const char *name, const ExprFunc &f, const char *docString) |
int | Func0Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func1Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func2Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func3Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func4Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func5Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func6Op (int *opData, double *fp, char **c, std::vector< int > &) |
int | FuncNOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func1VOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func2VOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func1VVOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | Func2VVOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | FuncNVOp (int *opData, double *fp, char **c, std::vector< int > &) |
int | FuncNVVOp (int *opData, double *fp, char **c, std::vector< int > &) |
bool | ExprParse (KSeExpr::ExprNode *&parseTree, KSeExpr::ErrorCode &errorCode, std::vector< std::string > &errorIds, int &errorStart, int &errorEnd, std::vector< std::pair< int, int > > &_comments, const KSeExpr::Expression *expr, const char *str, bool wantVec=true) |
const ExprVarNode * | isVariable (const ExprNode *testee) |
const ExprNumNode * | isScalar (const ExprNode *testee) |
const ExprVecNode * | isVector (const ExprNode *testee) |
const ExprVecNode * | isLitVec (const ExprNode *testee) |
const ExprStrNode * | isString (const ExprNode *testee) |
const ExprAssignNode * | isAssign (const ExprNode *testee) |
const ExprFuncNode * | isFunc (const ExprNode *testee) |
const ExprFuncNode * | isNamedFunc (const ExprNode *testee, const std::string &name) |
const ExprFuncNode * | isStrFunc (const ExprNode *testee) |
bool | hasCurveNumArgs (const ExprFuncNode *testee) |
const ExprFuncNode * | isCurveFunc (const ExprNode *testee) |
const ExprFuncNode * | isCcurveFunc (const ExprNode *testee) |
const ExprAssignNode * | isScalarAssign (const ExprNode *testee) |
const ExprAssignNode * | isVectorAssign (const ExprNode *testee) |
const ExprAssignNode * | isStrFuncAssign (const ExprNode *testee) |
const ExprAssignNode * | isCurveAssign (const ExprNode *testee) |
const ExprAssignNode * | isCcurveAssign (const ExprNode *testee) |
ExprType | TypeVec (int n) |
Quick way to get a vector type i.e. 3 vec is TypeVec(3) More... | |
template<char c, template< char c1, int d > class T> | |
static Interpreter::OpF | getTemplatizedOp2 (int i) |
Return the function f encapsulated in class T for the dynamic i converted to a static d. (partial application of. More... | |
void | copyVarToPromotedPosition (Interpreter *interpreter, ExprLocalVar *varSource, ExprLocalVar *varDest) |
template<template< int d > class T, class T_FUNCTYPE = Interpreter::OpF> | |
T_FUNCTYPE | getTemplatizedOp (int i) |
Return the function f encapsulated in class T for the dynamic i converted to a static d. More... | |
double | s_curve (double t) |
This is the Quintic interpolant from Perlin's Improved Noise Paper. More... | |
template<int d> | |
unsigned char | hashReduceChar (int index[d]) |
Does a hash reduce to a character. More... | |
template<int d> | |
uint32_t | hashReduce (uint32_t index[d]) |
Does a hash reduce to an integer. More... | |
template<int d, class T , bool periodic> | |
T | noiseHelper (const T *X, const int *period=0) |
Noise with d_in dimensional domain, 1 dimensional abcissa. More... | |
template<int d_in, int d_out, class T > | |
void | CellNoise (const T *in, T *out) |
Computes cellular noise (non-interpolated piecewise constant cell random values) More... | |
template<int d_in, int d_out, class T > | |
void | Noise (const T *in, T *out) |
Noise with d_in dimensional domain, d_out dimensional abcissa. More... | |
template<int d_in, int d_out, class T > | |
void | PNoise (const T *in, const int *period, T *out) |
Periodic Noise with d_in dimensional domain, d_out dimensional abcissa. More... | |
template<int d_in, int d_out, bool turbulence, class T > | |
void | FBM (const T *in, T *out, int octaves, T lacunarity, T gain) |
Fractional Brownian Motion. If turbulence is true then turbulence computed. More... | |
template void | CellNoise< 3, 1, double > (const double *, double *) |
template void | CellNoise< 3, 3, double > (const double *, double *) |
template void | Noise< 1, 1, double > (const double *, double *) |
template void | Noise< 2, 1, double > (const double *, double *) |
template void | Noise< 3, 1, double > (const double *, double *) |
template void | PNoise< 3, 1, double > (const double *, const int *, double *) |
template void | Noise< 4, 1, double > (const double *, double *) |
template void | Noise< 3, 3, double > (const double *, double *) |
template void | Noise< 4, 3, double > (const double *, double *) |
template void | FBM< 3, 1, false, double > (const double *, double *, int, double, double) |
template void | FBM< 3, 1, true, double > (const double *, double *, int, double, double) |
template void | FBM< 3, 3, false, double > (const double *, double *, int, double, double) |
template void | FBM< 3, 3, true, double > (const double *, double *, int, double, double) |
template void | FBM< 4, 1, false, double > (const double *, double *, int, double, double) |
template void | FBM< 4, 3, false, double > (const double *, double *, int, double, double) |
template<class T , size_t d, bool r> | |
std::ostream & | operator<< (std::ostream &out, const Vec< T, d, r > &val) |
Output stream. More... | |
bool | isWS (const char *source, int start, int end) |
Returns true if no newline separates comment and node. More... | |
std::string | findComment (const ExprNode &node) |
Checks if there is whitespace in the range specified in the string. More... | |
bool | loadTranslation (const QString &localeDirName) |
void | load () |
void | loadOnMainThread () |
Variables | |
static const char * | fabs_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float abs(float x)\nabsolute value of x") |
static const char * | deg_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float deg(float angle)\nradians to degrees") |
static const char * | rad_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float rad(float angle)\ndegrees to radians") |
static const char * | cosd_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float cosd(float angle)\ncosine in degrees") |
static const char * | sind_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float sind(float angle)\nsine in degrees") |
static const char * | tand_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float tand(float angle)\ntangent in degrees") |
static const char * | acosd_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float acosd(float value)\narc cosine in degrees") |
static const char * | asind_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float asind(float value)\narc sine in degrees") |
static const char * | atand_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float atand(float value)\narc tangent in degrees") |
static const char * | atan2d_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float atan2d(float y,float x)\narc tangent in degrees of y/x between -180 and 180") |
static const char * | cos_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float cos(float angle)\ncosine in radians") |
static const char * | sin_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float sin(float angle)\nsine in radians") |
static const char * | tan_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float tan(float angle)\ntangent in radians") |
static const char * | acos_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float acos(float value)\narc cosine in radians") |
static const char * | asin_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float asin(float value)\narc sine in radians") |
static const char * | atan_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float atan(float value)\narc tangent in radians") |
static const char * | atan2_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float atan2(float y,float x)\narc tangent in radians of y/x between -PI and PI") |
static const char * | cosh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float cosh(float angle)\nhyperbolic cosine in radians") |
static const char * | sinh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float sinh(float angle)\nhyperbolic sine in radians") |
static const char * | tanh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float tanh(float angle)\nhyperbolic tangent in radians") |
static const char * | acosh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float acosh(float value)\nhyperbolic arc cosine in radians") |
static const char * | asinh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float asinh(float value)\nhyperbolic arc sine in radians") |
static const char * | atanh_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float atanh(float value)\nhyperbolic arc tangent in radians") |
static const char * | clamp_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float clamp(float x,float lo,float hi)\nconstrain x to range [lo,hi]") |
static const char * | round_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float round(float x)\nnearest integer to x") |
static const char * | max_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float max(float a,float b)\ngreater of a and b") |
static const char * | min_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float min(float a,float b)\nlesser of a and b") |
static const char * | trunc_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float trunc(float a)\nnearest integer towards zero") |
static const char * | floor_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float floor(float a)\nnext lower integer") |
static const char * | ceil_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float ceil(float a)\nnext higher integer") |
static const char * | invert_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float invert(float a)\nDefined as 1-x") |
static const char * | cbrt_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float cbrt(float x)\ncube root") |
static const char * | sqrt_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float sqrt(float x)\nsquare root") |
static const char * | exp_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float exp(float x)\nE raised to the x power") |
static const char * | pow_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float pow(float x, float y)\nx to the y power, also available as ^") |
static const char * | log_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float log(float x)\nNatural logarithm") |
static const char * | log10_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float log10(float x)\nBase 10 logarithm") |
static const char * | fmod_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float fmod(float x,float y)\nremainder of x/y (also available as % operator)") |
static const char * | turbulence_docstring |
static const char * | cturbulence_docstring |
static const char * | vturbulence_docstring |
static const char * | compress_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float compress(float x,float lo,float hi)\nRemaps x in [0,1] to [lo,hi]") |
static const char * | expand_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float expand(float x,float lo,float hi)\nRemaps x in [lo,hi] to [0,1]") |
static const char * | fit_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float fit(float x,float a1,float b1,float a2,float b2)\nLinearly remaps x in [a1,b1] to [a2,b2]") |
static const char * | gamma_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float gamma(float x, float g)\nGamma correction of x with gamma factor g") |
static const char * | bias_docstring |
static const char * | contrast_docstring |
static const char * | boxstep_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "float boxstep(float x,float a)\n if x < a then 0 otherwise 1") |
static const char * | linearstep_docstring |
static const char * | smoothstep_docstring |
static const char * | gaussstep_docstring |
static const char * | remap_docstring |
static const char * | mix_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "mix(float a,float b,float alpha)\nBlend of a and b according to alpha.") |
static const char * | hsi_docstring |
static const char * | midhsi_docstring |
static const char * | rgbtohsl_docstring |
static const char * | hsltorgb_docstring |
static const char * | saturate_docstring |
KSeExpr::RandFuncX | rand |
static const char * | rand_docstring |
static const char * | hash_docstring |
static const char * | noise_docstring |
static const char * | snoise_docstring |
static const char * | vnoise_docstring |
static const char * | cnoise_docstring |
static const char * | snoise4_docstring |
static const char * | vnoise4_docstring |
static const char * | cnoise4_docstring |
static const char * | fbm_docstring |
static const char * | vfbm_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "vector vfbm(vector vint octaves=6,float lacunarity=2,float gain=.5)") |
static const char * | fbm4_docstring |
static const char * | vfbm4_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "vector vfbm4(vector v,float time,int octaves=6,float lacunarity=2,float gain=.5)") |
static const char * | cfbm_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "color cfbm(vector vint octaves=6,float lacunarity=2,float gain=.5)") |
static const char * | cfbm4_docstring = QT_TRANSLATE_NOOP_UTF8("builtin", "color cfbm4(vector v,float time,int octaves=6,float lacunarity=2,float gain=.5)") |
static const char * | cellnoise_docstring |
static const char * | ccellnoise_docstring |
static const char * | pnoise_docstring |
static const char * | voronoi_docstring |
static const char * | cvoronoi_docstring |
static const char * | pvoronoi_docstring |
static const char * | dist_docstring |
static const char * | length_docstring |
static const char * | hypot_docstring |
static const char * | dot_docstring |
static const char * | norm_docstring |
static const char * | cross_docstring |
static const char * | angle_docstring |
static const char * | ortho_docstring |
static const char * | rotate_docstring |
static const char * | up_docstring |
static const char * | cycle_docstring |
static const char * | pick_docstring |
static const char * | swatch_docstring |
static const char * | choose_docstring |
static const char * | wchoose_docstring |
static const char * | spline_docstring |
KSeExpr::CurveData | voronoi |
KSeExpr::CurveFuncX | curve |
static const char * | curve_docstring |
KSeExpr::CCurveFuncX | ccurve |
static const char * | ccurve_docstring |
KSeExpr::GetVar | getVar |
static const char * | getVar_docstring |
KSeExpr::PrintFuncX | printf |
static const char * | printf_docstring |
KSeExpr::SPrintFuncX | sprintf |
static const char * | sprintf_docstring |
static std::mutex | mutex |
using KSeExpr::ConstExaminer = typedef Examiner<true> |
Definition at line 48 of file ExprWalker.h.
using KSeExpr::ConstWalker = typedef Walker<true> |
Definition at line 49 of file ExprWalker.h.
using KSeExpr::ExprEvalHandle = typedef std::pair<ExprHandle, std::vector<DExpression *> > |
Definition at line 17 of file ExprMultiExpr.h.
using KSeExpr::ExprHandle = typedef std::set<DExpression *>::iterator |
Definition at line 16 of file ExprMultiExpr.h.
using KSeExpr::Statistics = typedef std::map<std::string, double> |
Definition at line 16 of file ExprFuncX.h.
using KSeExpr::VariableHandle = typedef std::set<GlobalVal *>::iterator |
Definition at line 14 of file ExprMultiExpr.h.
using KSeExpr::VariableSetHandle = typedef std::set<GlobalVal *>::iterator |
Definition at line 15 of file ExprMultiExpr.h.
using KSeExpr::Vec1d = typedef Vec<double, 1, false> |
using KSeExpr::Vec1dConstRef = typedef Vec<const double, 1, true> |
using KSeExpr::Vec1dRef = typedef Vec<double, 1, true> |
using KSeExpr::Vec1f = typedef Vec<float, 1, false> |
using KSeExpr::Vec1fConstRef = typedef Vec<const float, 1, true> |
using KSeExpr::Vec1fRef = typedef Vec<float, 1, true> |
using KSeExpr::Vec2d = typedef Vec<double, 2, false> |
using KSeExpr::Vec2dConstRef = typedef Vec<const double, 2, true> |
using KSeExpr::Vec2dRef = typedef Vec<double, 2, true> |
using KSeExpr::Vec2f = typedef Vec<float, 2, false> |
using KSeExpr::Vec2fConstRef = typedef Vec<const float, 2, true> |
using KSeExpr::Vec2fRef = typedef Vec<float, 2, true> |
using KSeExpr::Vec3d = typedef Vec<double, 3, false> |
using KSeExpr::Vec3dConstRef = typedef Vec<const double, 3, true> |
using KSeExpr::Vec3dRef = typedef Vec<double, 3, true> |
using KSeExpr::Vec3f = typedef Vec<float, 3, false> |
using KSeExpr::Vec3fConstRef = typedef Vec<const float, 3, true> |
using KSeExpr::Vec3fRef = typedef Vec<float, 3, true> |
using KSeExpr::Vec4d = typedef Vec<double, 4, false> |
using KSeExpr::Vec4dConstRef = typedef Vec<const double, 4, true> |
using KSeExpr::Vec4dRef = typedef Vec<double, 4, true> |
using KSeExpr::Vec4f = typedef Vec<float, 4, false> |
using KSeExpr::Vec4fConstRef = typedef Vec<const float, 4, true> |
using KSeExpr::Vec4fRef = typedef Vec<float, 4, true> |
enum KSeExpr::ErrorCode |
Definition at line 7 of file ErrorCode.h.
|
inline |
Definition at line 1286 of file ExprBuiltins.cpp.
References dot(), and length().
Referenced by defineBuiltins(), deg(), rad(), rotate(), and up().
|
inline |
|
inline |
|
inline |
double KSeExpr::bias | ( | double | x, |
double | b | ||
) |
Definition at line 108 of file ExprBuiltins.cpp.
Referenced by contrast(), and defineBuiltins().
double KSeExpr::boxstep | ( | double | x, |
double | a | ||
) |
Definition at line 128 of file ExprBuiltins.cpp.
Referenced by defineBuiltins(), gaussstep(), linearstep(), and smoothstep().
Definition at line 886 of file ExprBuiltins.cpp.
References p.
Referenced by cvoronoiFn(), defineBuiltins(), and voronoi_points().
void KSeExpr::CellNoise | ( | const T * | in, |
T * | out | ||
) |
Computes cellular noise (non-interpolated piecewise constant cell random values)
Cellular noise with input and output dimensionality.
Definition at line 130 of file Noise.cpp.
References KSeExpr::Utils::floor().
double KSeExpr::cellnoise | ( | const Vec3d & | p | ) |
Definition at line 874 of file ExprBuiltins.cpp.
References p.
Referenced by defineBuiltins(), and voronoiFn().
template void KSeExpr::CellNoise< 3, 1, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::CellNoise< 3, 3, double > | ( | const double * | , |
double * | |||
) |
Definition at line 868 of file ExprBuiltins.cpp.
References vfbm4().
Referenced by defineBuiltins().
double KSeExpr::choose | ( | int | n, |
double * | params | ||
) |
Definition at line 1420 of file ExprBuiltins.cpp.
References clamp().
Referenced by defineBuiltins(), and swatch().
|
static |
Definition at line 31 of file Expression.cpp.
References KSeExpr::Expression::debugging, KSeExpr::Expression::UseInterpreter, and KSeExpr::Expression::UseLLVM.
|
inline |
Definition at line 66 of file ExprBuiltins.h.
Referenced by CurveScene::addPoint(), CCurveScene::addPoint(), choose(), KSeExpr::Curve< T >::clampCurveSegment(), cvoronoiFn(), defineBuiltins(), fbm(), fbm4(), VectorControl::getColor(), main(), CCurveScene::mouseMoveEvent(), CurveScene::mouseMoveEvent(), ExprChannelSlider::mouseMoveEvent(), CCurveScene::mousePressEvent(), CurveScene::mousePressEvent(), pvoronoiFn(), ExprColorCurve::selPosChanged(), CCurveScene::selPosChanged(), CurveScene::selPosChanged(), ExprCurve::selValChanged(), CurveScene::selValChanged(), spline(), turbulence(), VectorControl::updateControl(), vfbm(), vfbm4(), voronoiFn(), and vturbulence().
Definition at line 625 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
Definition at line 655 of file ExprBuiltins.cpp.
References vnoise4().
Referenced by defineBuiltins().
double KSeExpr::compress | ( | double | x, |
double | lo, | ||
double | hi | ||
) |
Definition at line 82 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
double KSeExpr::contrast | ( | double | x, |
double | c | ||
) |
void KSeExpr::copyVarToPromotedPosition | ( | Interpreter * | interpreter, |
ExprLocalVar * | varSource, | ||
ExprLocalVar * | varDest | ||
) |
Definition at line 759 of file Interpreter.cpp.
References KSeExpr::Interpreter::addOp(), KSeExpr::Interpreter::addOperand(), KSeExpr::ExprType::dim(), KSeExpr::Interpreter::endOp(), KSeExpr::ExprType::isFP(), KSeExpr::ExprType::isString(), KSeExpr::ExprLocalVar::type(), and KSeExpr::Interpreter::varToLoc.
Referenced by KSeExpr::ExprIfThenElseNode::buildInterpreter().
|
inline |
Definition at line 1278 of file ExprBuiltins.cpp.
Referenced by defineBuiltins(), and ortho().
Definition at line 719 of file ExprBuiltins.cpp.
References vturbulence().
Referenced by defineBuiltins().
KSeExpr::CachedVoronoiFunc ExprFuncSimple KSeExpr::cvoronoi | ( | cvoronoiFn | ) |
Referenced by defineBuiltins().
Vec3d KSeExpr::cvoronoiFn | ( | VoronoiPointData & | data, |
int | n, | ||
const Vec3d * | args | ||
) |
Definition at line 1055 of file ExprBuiltins.cpp.
References ccellnoise(), clamp(), length(), p, smoothstep(), vfbm(), voronoi_f1_3d(), and voronoi_f1f2_3d().
double KSeExpr::cycle | ( | double | index, |
double | loRange, | ||
double | hiRange | ||
) |
Definition at line 1331 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
void KSeExpr::defineBuiltins | ( | ExprFunc::Define | , |
ExprFunc::Define3 | define3 | ||
) |
Definition at line 2034 of file ExprBuiltins.cpp.
References acosd(), angle(), asind(), atan2d(), atand(), bias(), boxstep(), ccellnoise(), ccurve, cellnoise(), cfbm(), cfbm4(), choose(), clamp(), cnoise(), cnoise4(), compress(), contrast(), cosd(), cross(), cturbulence(), KSeExpr::CurveData< T >::curve, cvoronoi(), cycle(), deg(), dist(), dot(), expand(), fbm(), fbm4(), fit(), KSeExpr::Utils::floor(), FUNCADOC, FUNCDOC, FUNCNDOC, gamma(), gaussstep(), getVar, hash(), hsi(), hsltorgb(), hypot(), invert(), length(), linearstep(), max(), midhsi(), min(), mix(), noise(), norm(), ortho(), pick(), pnoise(), printf, pvoronoi(), rad(), rand, remap(), rgbtohsl(), rotate(), round(), saturate(), sind(), smoothstep(), snoise(), snoise4(), spline(), sprintf, swatch(), tand(), turbulence(), up(), vfbm(), vfbm4(), vnoise(), vnoise4(), voronoi, vturbulence(), and wchoose().
Referenced by KSeExpr::ExprFunc::initInternal().
|
inlinestatic |
Definition at line 125 of file ExprFunc.cpp.
Referenced by KSeExpr::ExprFunc::define(), and KSeExpr::ExprFunc::initInternal().
|
inlinestatic |
Definition at line 132 of file ExprFunc.cpp.
Referenced by KSeExpr::ExprFunc::define(), and KSeExpr::ExprFunc::initInternal().
|
inline |
Definition at line 28 of file ExprBuiltins.h.
References angle().
Referenced by acosd(), asind(), atan2d(), atand(), and defineBuiltins().
Definition at line 1231 of file ExprBuiltins.cpp.
Referenced by defineBuiltins(), voronoi_f1_3d(), and voronoi_f1f2_3d().
Definition at line 1258 of file ExprBuiltins.cpp.
Referenced by angle(), and defineBuiltins().
double KSeExpr::expand | ( | double | x, |
double | lo, | ||
double | hi | ||
) |
Definition at line 88 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
bool KSeExpr::ExprParse | ( | KSeExpr::ExprNode *& | parseTree, |
KSeExpr::ErrorCode & | errorCode, | ||
std::vector< std::string > & | errorIds, | ||
int & | errorStart, | ||
int & | errorEnd, | ||
std::vector< std::pair< int, int > > & | _comments, | ||
const KSeExpr::Expression * | expr, | ||
const char * | str, | ||
bool | wantVec = true |
||
) |
Referenced by KSeExpr::Expression::parse().
void KSeExpr::FBM | ( | const T * | in, |
T * | out, | ||
int | octaves, | ||
T | lacunarity, | ||
T | gain | ||
) |
Fractional Brownian Motion. If turbulence is true then turbulence computed.
Noise with d_in dimensional domain, d_out dimensional abcissa If turbulence is true then Perlin's turbulence is computed
Definition at line 181 of file Noise.cpp.
References turbulence().
double KSeExpr::fbm | ( | int | n, |
const Vec3d * | args | ||
) |
Definition at line 724 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
double KSeExpr::fbm4 | ( | int | n, |
const Vec3d * | args | ||
) |
Definition at line 789 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
template void KSeExpr::FBM< 3, 1, false, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
template void KSeExpr::FBM< 3, 1, true, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
template void KSeExpr::FBM< 3, 3, false, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
template void KSeExpr::FBM< 3, 3, true, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
template void KSeExpr::FBM< 4, 1, false, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
template void KSeExpr::FBM< 4, 3, false, double > | ( | const double * | , |
double * | , | ||
int | , | ||
double | , | ||
double | |||
) |
|
inline |
Checks if there is whitespace in the range specified in the string.
Definition at line 63 of file ControlSpec.cpp.
References KSeExpr::ExprNode::endPos(), KSeExpr::ExprNode::expr(), KSeExpr::Expression::getComments(), KSeExpr::Expression::getExpr(), and isWS().
Referenced by KSeExpr::ExprScalarAssignSpec::ExprScalarAssignSpec(), KSeExpr::ExprVectorAssignSpec::ExprVectorAssignSpec(), and KSeExpr::ExprStrSpec::match().
double KSeExpr::fit | ( | double | x, |
double | a1, | ||
double | b1, | ||
double | a2, | ||
double | b2 | ||
) |
Definition at line 96 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
int KSeExpr::Func0Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 55 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func1Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 59 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func1VOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 94 of file ExprFuncStandard.cpp.
References KSeExpr::Vec< double, 3, false >::copy().
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func1VVOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 103 of file ExprFuncStandard.cpp.
References KSeExpr::Vec< double, 3, false >::copy().
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func2Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 63 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func2VOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 98 of file ExprFuncStandard.cpp.
References KSeExpr::Vec< double, 3, false >::copy().
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func2VVOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 109 of file ExprFuncStandard.cpp.
References KSeExpr::Vec< double, 3, false >::copy().
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func3Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 67 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func4Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 71 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func5Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 76 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::Func6Op | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 81 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::FuncNOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 86 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::FuncNVOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 115 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
int KSeExpr::FuncNVVOp | ( | int * | opData, |
double * | fp, | ||
char ** | c, | ||
std::vector< int > & | |||
) |
Definition at line 123 of file ExprFuncStandard.cpp.
Referenced by KSeExpr::ExprFuncStandard::buildInterpreter().
double KSeExpr::gamma | ( | double | x, |
double | g | ||
) |
Definition at line 102 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
double KSeExpr::gaussstep | ( | double | x, |
double | a, | ||
double | b | ||
) |
Definition at line 169 of file ExprBuiltins.cpp.
References boxstep().
Referenced by defineBuiltins(), and remap().
T_FUNCTYPE KSeExpr::getTemplatizedOp | ( | int | i | ) |
Return the function f encapsulated in class T for the dynamic i converted to a static d.
Definition at line 117 of file Interpreter.h.
|
static |
Return the function f encapsulated in class T for the dynamic i converted to a static d. (partial application of.
Definition at line 103 of file Interpreter.cpp.
Referenced by KSeExpr::ExprCompareNode::buildInterpreter().
|
inline |
numChildren must be multiple of 3 plus 1
Definition at line 72 of file ExprPatterns.h.
References KSeExpr::ExprNode::numChildren().
Referenced by isCcurveFunc(), and isCurveFunc().
double KSeExpr::hash | ( | int | n, |
double * | args | ||
) |
Definition at line 504 of file ExprBuiltins.cpp.
References p.
Referenced by defineBuiltins(), and pick().
uint32_t KSeExpr::hashReduce | ( | uint32_t | index[d] | ) |
unsigned char KSeExpr::hashReduceChar | ( | int | index[d] | ) |
Definition at line 243 of file ExprBuiltins.cpp.
References hsiAdjust().
Referenced by defineBuiltins().
Definition at line 235 of file ExprBuiltins.cpp.
References hsltorgb(), and rgbtohsl().
Definition at line 381 of file ExprBuiltins.cpp.
References hslvalue().
Referenced by defineBuiltins(), and hsiAdjust().
|
static |
Definition at line 367 of file ExprBuiltins.cpp.
References KSeExpr::Utils::floor().
Referenced by hsltorgb().
double KSeExpr::hypot | ( | double | x, |
double | y | ||
) |
Definition at line 1250 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
|
inline |
Definition at line 84 of file ExprBuiltins.h.
Referenced by defineBuiltins().
|
inline |
Definition at line 41 of file ExprPatterns.h.
Referenced by isCcurveAssign(), isCurveAssign(), isScalarAssign(), isStrFuncAssign(), and isVectorAssign().
|
inline |
if testee is an assignment statement, check if its sole child is a ccurve function
Definition at line 148 of file ExprPatterns.h.
References isAssign(), and isCcurveFunc().
|
inline |
Definition at line 93 of file ExprPatterns.h.
References hasCurveNumArgs(), isLitVec(), isNamedFunc(), isScalar(), and KSeExpr::ExprNode::numChildren().
Referenced by isCcurveAssign().
|
inline |
if testee is an assignment statement, check if its sole child is a curve function
Definition at line 138 of file ExprPatterns.h.
References isAssign(), and isCurveFunc().
Referenced by KSeExpr::ExprCurveAssignSpec< T >::match().
|
inline |
Definition at line 78 of file ExprPatterns.h.
References hasCurveNumArgs(), isNamedFunc(), isScalar(), and KSeExpr::ExprNode::numChildren().
Referenced by isCurveAssign().
|
inline |
Definition at line 46 of file ExprPatterns.h.
Referenced by isNamedFunc(), and isStrFunc().
|
inline |
Definition at line 27 of file ExprPatterns.h.
References isScalar(), and isVector().
Referenced by isCcurveFunc(), and isVectorAssign().
|
inline |
Definition at line 51 of file ExprPatterns.h.
References isFunc().
Referenced by isCcurveFunc(), and isCurveFunc().
|
inline |
Definition at line 17 of file ExprPatterns.h.
Referenced by isCcurveFunc(), isCurveFunc(), isLitVec(), and isScalarAssign().
|
inline |
if testee is an assignment statement, check if its sole child is a scalar
Definition at line 108 of file ExprPatterns.h.
References isAssign(), and isScalar().
Referenced by KSeExpr::ExprScalarAssignSpec::match().
|
inline |
Definition at line 60 of file ExprPatterns.h.
References KSeExpr::ExprNode::child(), isFunc(), isString(), max(), and KSeExpr::ExprNode::numChildren().
Referenced by isStrFuncAssign().
|
inline |
if testee is an assignment statement, check if its sole child is a function with a string argument
Definition at line 128 of file ExprPatterns.h.
References isAssign(), and isStrFunc().
|
inline |
Definition at line 36 of file ExprPatterns.h.
Referenced by KSeExpr::ExprBinaryOpNode::buildInterpreter(), isStrFunc(), and KSeExpr::ExprStrSpec::match().
|
inline |
Definition at line 12 of file ExprPatterns.h.
|
inline |
Definition at line 22 of file ExprPatterns.h.
Referenced by isLitVec().
|
inline |
if testee is an assignment statement, check if its sole child is a vector
Definition at line 118 of file ExprPatterns.h.
References isAssign(), and isLitVec().
Referenced by KSeExpr::ExprVectorAssignSpec::match().
|
inline |
Returns true if no newline separates comment and node.
Definition at line 54 of file ControlSpec.cpp.
Referenced by findComment().
double KSeExpr::length | ( | const Vec3d & | v | ) |
Definition at line 1242 of file ExprBuiltins.cpp.
Referenced by KSeExpr::Expression::addComment(), angle(), cvoronoiFn(), defineBuiltins(), ExprHighlighter::highlightBlock(), norm(), and voronoiFn().
double KSeExpr::linearstep | ( | double | x, |
double | a, | ||
double | b | ||
) |
Definition at line 134 of file ExprBuiltins.cpp.
References boxstep().
Referenced by defineBuiltins(), and remap().
void KSeExpr::load | ( | ) |
Definition at line 68 of file ECMQmLoader-seexpr2_qt.cpp.
References dbgSeExpr, and loadTranslation().
Referenced by loadOnMainThread(), and KSeExpr::Loader::timerEvent().
void KSeExpr::loadOnMainThread | ( | ) |
Definition at line 147 of file ECMQmLoader-seexpr2_qt.cpp.
References load().
bool KSeExpr::loadTranslation | ( | const QString & | localeDirName | ) |
Definition at line 31 of file ECMQmLoader-seexpr2_qt.cpp.
References dbgSeExpr.
Referenced by load().
|
inline |
Definition at line 74 of file ExprBuiltins.h.
Referenced by ExprSpecListNode::add(), clamp(), defineBuiltins(), KSeExpr::Curve< T >::getChannelValue(), CCurveScene::getCPixmap(), KSeExpr::Curve< T >::getLowerBoundCV(), KSeExpr::Curve< T >::getValue(), isStrFunc(), ExprSlider::mouseMoveEvent(), NumberControl::NumberControl(), pnoise(), KSeExpr::ExprVecNode::prep(), CCurveScene::resize(), and VectorControl::updateControl().
Definition at line 269 of file ExprBuiltins.cpp.
References hsiAdjust(), and remap().
Referenced by defineBuiltins().
|
inline |
Definition at line 78 of file ExprBuiltins.h.
Referenced by ExprSpecListNode::add(), clamp(), defineBuiltins(), KSeExpr::Curve< T >::getChannelValue(), CCurveScene::getCPixmap(), KSeExpr::Curve< T >::getLowerBoundCV(), KSeExpr::Curve< T >::getValue(), ExprSlider::mouseMoveEvent(), and VectorControl::updateControl().
double KSeExpr::mix | ( | double | x, |
double | y, | ||
double | alpha | ||
) |
Definition at line 229 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
void KSeExpr::Noise | ( | const T * | in, |
T * | out | ||
) |
double KSeExpr::noise | ( | int | n, |
const Vec3d * | args | ||
) |
template void KSeExpr::Noise< 1, 1, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::Noise< 2, 1, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::Noise< 3, 1, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::Noise< 3, 3, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::Noise< 4, 1, double > | ( | const double * | , |
double * | |||
) |
template void KSeExpr::Noise< 4, 3, double > | ( | const double * | , |
double * | |||
) |
T KSeExpr::noiseHelper | ( | const T * | X, |
const int * | period = 0 |
||
) |
Noise with d_in dimensional domain, 1 dimensional abcissa.
Definition at line 69 of file Noise.cpp.
References KSeExpr::Utils::floor(), and s_curve().
Definition at line 1266 of file ExprBuiltins.cpp.
References length().
Referenced by defineBuiltins(), and ortho().
std::ostream& KSeExpr::operator<< | ( | std::ostream & | out, |
const Vec< T, d, r > & | val | ||
) |
Definition at line 1297 of file ExprBuiltins.cpp.
References cross(), and norm().
Referenced by defineBuiltins(), and up().
double KSeExpr::pick | ( | int | n, |
double * | params | ||
) |
Definition at line 1349 of file ExprBuiltins.cpp.
References hash().
Referenced by defineBuiltins().
void KSeExpr::PNoise | ( | const T * | in, |
const int * | period, | ||
T * | out | ||
) |
Definition at line 898 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
template void KSeExpr::PNoise< 3, 1, double > | ( | const double * | , |
const int * | , | ||
double * | |||
) |
KSeExpr::CachedVoronoiFunc ExprFuncSimple KSeExpr::pvoronoi | ( | pvoronoiFn | ) |
Referenced by defineBuiltins().
Vec3d KSeExpr::pvoronoiFn | ( | VoronoiPointData & | data, |
int | n, | ||
const Vec3d * | args | ||
) |
Definition at line 1131 of file ExprBuiltins.cpp.
References clamp(), p, vfbm(), and voronoi_f1_3d().
|
inline |
Definition at line 32 of file ExprBuiltins.h.
References angle().
Referenced by cosd(), defineBuiltins(), sind(), and tand().
double KSeExpr::remap | ( | double | x, |
double | source, | ||
double | range, | ||
double | falloff, | ||
double | interp | ||
) |
Definition at line 191 of file ExprBuiltins.cpp.
References gaussstep(), linearstep(), and smoothstep().
Referenced by defineBuiltins(), and midhsi().
Definition at line 312 of file ExprBuiltins.cpp.
References KSeExpr::Utils::floor().
Referenced by defineBuiltins(), and hsiAdjust().
Definition at line 1305 of file ExprBuiltins.cpp.
References angle(), KSeExpr::Vec< T, d, ref >::length(), and KSeExpr::Vec< T, d, ref >::rotateBy().
Referenced by defineBuiltins().
|
inline |
Definition at line 70 of file ExprBuiltins.h.
References KSeExpr::Utils::floor().
Referenced by defineBuiltins().
double KSeExpr::s_curve | ( | double | t | ) |
This is the Quintic interpolant from Perlin's Improved Noise Paper.
Definition at line 18 of file Noise.cpp.
Referenced by noiseHelper().
Definition at line 422 of file ExprBuiltins.cpp.
References KSeExpr::Vec< T, d, ref >::dot().
Referenced by defineBuiltins(), and saturate().
Definition at line 435 of file ExprBuiltins.cpp.
References saturate().
|
inline |
double KSeExpr::smoothstep | ( | double | x, |
double | a, | ||
double | b | ||
) |
Definition at line 147 of file ExprBuiltins.cpp.
References boxstep().
Referenced by cvoronoiFn(), defineBuiltins(), remap(), and voronoiFn().
double KSeExpr::snoise | ( | const Vec3d & | p | ) |
double KSeExpr::snoise4 | ( | int | , |
const Vec3d * | args | ||
) |
Definition at line 633 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
double KSeExpr::spline | ( | int | n, |
double * | params | ||
) |
Definition at line 1492 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
double KSeExpr::swatch | ( | int | n, |
double * | params | ||
) |
Definition at line 1412 of file ExprBuiltins.cpp.
References choose().
Referenced by defineBuiltins().
|
inline |
double KSeExpr::turbulence | ( | int | n, |
const Vec3d * | args | ||
) |
Definition at line 663 of file ExprBuiltins.cpp.
Referenced by defineBuiltins(), and FBM().
|
inline |
Quick way to get a vector type i.e. 3 vec is TypeVec(3)
Definition at line 293 of file ExprType.h.
References KSeExpr::ExprType::FP(), and KSeExpr::ExprType::Varying().
Definition at line 1321 of file ExprBuiltins.cpp.
References angle(), ortho(), and KSeExpr::Vec< T, d, ref >::rotateBy().
Referenced by defineBuiltins().
Definition at line 760 of file ExprBuiltins.cpp.
Referenced by cfbm(), cvoronoiFn(), defineBuiltins(), pvoronoiFn(), and voronoiFn().
Definition at line 829 of file ExprBuiltins.cpp.
Referenced by cfbm4(), and defineBuiltins().
Definition at line 614 of file ExprBuiltins.cpp.
References p.
Referenced by cnoise(), and defineBuiltins().
Definition at line 644 of file ExprBuiltins.cpp.
Referenced by cnoise4(), and defineBuiltins().
KSeExpr::CachedVoronoiFunc ExprFuncSimple KSeExpr::voronoi | ( | voronoiFn | ) |
|
static |
Definition at line 935 of file ExprBuiltins.cpp.
References dist(), KSeExpr::Vec< T, d, ref >::dot(), KSeExpr::Utils::floor(), p, and voronoi_points().
Referenced by cvoronoiFn(), pvoronoiFn(), and voronoiFn().
|
static |
Definition at line 955 of file ExprBuiltins.cpp.
References dist(), KSeExpr::Vec< T, d, ref >::dot(), KSeExpr::Utils::floor(), p, and voronoi_points().
Referenced by cvoronoiFn(), and voronoiFn().
|
static |
Definition at line 916 of file ExprBuiltins.cpp.
References ccellnoise(), KSeExpr::VoronoiPointData::cell, KSeExpr::VoronoiPointData::jitter, and KSeExpr::VoronoiPointData::points.
Referenced by voronoi_f1_3d(), and voronoi_f1f2_3d().
Vec3d KSeExpr::voronoiFn | ( | VoronoiPointData & | data, |
int | n, | ||
const Vec3d * | args | ||
) |
Definition at line 980 of file ExprBuiltins.cpp.
References cellnoise(), clamp(), length(), p, smoothstep(), vfbm(), voronoi_f1_3d(), and voronoi_f1f2_3d().
Definition at line 691 of file ExprBuiltins.cpp.
Referenced by cturbulence(), and defineBuiltins().
double KSeExpr::wchoose | ( | int | n, |
double * | params | ||
) |
Definition at line 1435 of file ExprBuiltins.cpp.
Referenced by defineBuiltins().
|
static |
Definition at line 44 of file ExprBuiltins.cpp.
|
static |
Definition at line 36 of file ExprBuiltins.cpp.
|
static |
Definition at line 52 of file ExprBuiltins.cpp.
|
static |
Definition at line 1293 of file ExprBuiltins.cpp.
|
static |
Definition at line 45 of file ExprBuiltins.cpp.
|
static |
Definition at line 37 of file ExprBuiltins.cpp.
|
static |
Definition at line 53 of file ExprBuiltins.cpp.
|
static |
Definition at line 47 of file ExprBuiltins.cpp.
|
static |
Definition at line 39 of file ExprBuiltins.cpp.
|
static |
Definition at line 46 of file ExprBuiltins.cpp.
|
static |
Definition at line 38 of file ExprBuiltins.cpp.
|
static |
Definition at line 54 of file ExprBuiltins.cpp.
|
static |
Definition at line 113 of file ExprBuiltins.cpp.
|
static |
Definition at line 132 of file ExprBuiltins.cpp.
|
static |
Definition at line 65 of file ExprBuiltins.cpp.
|
static |
Definition at line 893 of file ExprBuiltins.cpp.
KSeExpr::CCurveFuncX KSeExpr::ccurve |
Referenced by defineBuiltins().
|
static |
Definition at line 1660 of file ExprBuiltins.cpp.
|
static |
Definition at line 62 of file ExprBuiltins.cpp.
|
static |
Definition at line 881 of file ExprBuiltins.cpp.
|
static |
Definition at line 872 of file ExprBuiltins.cpp.
|
static |
Definition at line 866 of file ExprBuiltins.cpp.
|
static |
Definition at line 1431 of file ExprBuiltins.cpp.
|
static |
Definition at line 56 of file ExprBuiltins.cpp.
|
static |
Definition at line 659 of file ExprBuiltins.cpp.
|
static |
Definition at line 629 of file ExprBuiltins.cpp.
|
static |
Definition at line 86 of file ExprBuiltins.cpp.
|
static |
Definition at line 124 of file ExprBuiltins.cpp.
|
static |
Definition at line 41 of file ExprBuiltins.cpp.
|
static |
Definition at line 33 of file ExprBuiltins.cpp.
|
static |
Definition at line 49 of file ExprBuiltins.cpp.
|
static |
Definition at line 1282 of file ExprBuiltins.cpp.
|
static |
Definition at line 75 of file ExprBuiltins.cpp.
KSeExpr::CurveFuncX KSeExpr::curve |
Referenced by ExprColorCurve::openDetail(), and ExprCurve::openDetail().
|
static |
Definition at line 1588 of file ExprBuiltins.cpp.
|
static |
Definition at line 1126 of file ExprBuiltins.cpp.
|
static |
Definition at line 1343 of file ExprBuiltins.cpp.
|
static |
Definition at line 30 of file ExprBuiltins.cpp.
|
static |
Definition at line 1238 of file ExprBuiltins.cpp.
|
static |
Definition at line 1262 of file ExprBuiltins.cpp.
|
static |
Definition at line 67 of file ExprBuiltins.cpp.
|
static |
Definition at line 94 of file ExprBuiltins.cpp.
|
static |
Definition at line 27 of file ExprBuiltins.cpp.
|
static |
Definition at line 820 of file ExprBuiltins.cpp.
|
static |
Definition at line 751 of file ExprBuiltins.cpp.
|
static |
Definition at line 100 of file ExprBuiltins.cpp.
|
static |
Definition at line 61 of file ExprBuiltins.cpp.
|
static |
Definition at line 71 of file ExprBuiltins.cpp.
|
static |
Definition at line 106 of file ExprBuiltins.cpp.
|
static |
Definition at line 187 of file ExprBuiltins.cpp.
KSeExpr::GetVar KSeExpr::getVar |
Referenced by defineBuiltins().
|
static |
Definition at line 1732 of file ExprBuiltins.cpp.
|
static |
Definition at line 553 of file ExprBuiltins.cpp.
|
static |
Definition at line 260 of file ExprBuiltins.cpp.
|
static |
Definition at line 413 of file ExprBuiltins.cpp.
|
static |
Definition at line 1254 of file ExprBuiltins.cpp.
|
static |
Definition at line 64 of file ExprBuiltins.cpp.
|
static |
Definition at line 1246 of file ExprBuiltins.cpp.
|
static |
Definition at line 143 of file ExprBuiltins.cpp.
|
static |
Definition at line 70 of file ExprBuiltins.cpp.
|
static |
Definition at line 69 of file ExprBuiltins.cpp.
|
static |
Definition at line 58 of file ExprBuiltins.cpp.
|
static |
Definition at line 306 of file ExprBuiltins.cpp.
|
static |
Definition at line 59 of file ExprBuiltins.cpp.
|
static |
Definition at line 233 of file ExprBuiltins.cpp.
|
static |
Definition at line 102 of file ExprFunc.cpp.
Referenced by KSeExpr::ExprFunc::cleanup(), KSeExpr::ExprFunc::define(), KSeExpr::ExprFunc::getDocString(), KSeExpr::ExprFunc::getFunctionNames(), KSeExpr::ExprFunc::init(), KSeExpr::ExprFunc::lookup(), KSeExpr::ExprFunc::sizeInBytes(), and KSeExpr::ExprFunc::statistics().
|
static |
Definition at line 596 of file ExprBuiltins.cpp.
|
static |
Definition at line 1274 of file ExprBuiltins.cpp.
|
static |
Definition at line 1301 of file ExprBuiltins.cpp.
|
static |
Definition at line 1405 of file ExprBuiltins.cpp.
|
static |
Definition at line 906 of file ExprBuiltins.cpp.
|
static |
Definition at line 68 of file ExprBuiltins.cpp.
KSeExpr::PrintFuncX KSeExpr::printf |
Referenced by defineBuiltins().
|
static |
Definition at line 1879 of file ExprBuiltins.cpp.
|
static |
Definition at line 1175 of file ExprBuiltins.cpp.
|
static |
Definition at line 31 of file ExprBuiltins.cpp.
KSeExpr::RandFuncX KSeExpr::rand |
Referenced by defineBuiltins().
|
static |
Definition at line 499 of file ExprBuiltins.cpp.
Referenced by main().
|
static |
Definition at line 218 of file ExprBuiltins.cpp.
|
static |
Definition at line 358 of file ExprBuiltins.cpp.
|
static |
Definition at line 1317 of file ExprBuiltins.cpp.
|
static |
Definition at line 57 of file ExprBuiltins.cpp.
|
static |
Definition at line 441 of file ExprBuiltins.cpp.
|
static |
Definition at line 42 of file ExprBuiltins.cpp.
|
static |
Definition at line 34 of file ExprBuiltins.cpp.
|
static |
Definition at line 50 of file ExprBuiltins.cpp.
|
static |
Definition at line 165 of file ExprBuiltins.cpp.
|
static |
Definition at line 640 of file ExprBuiltins.cpp.
|
static |
Definition at line 610 of file ExprBuiltins.cpp.
|
static |
Definition at line 1509 of file ExprBuiltins.cpp.
KSeExpr::SPrintFuncX KSeExpr::sprintf |
Referenced by defineBuiltins(), and KSeExpr::TypePrintExaminer::examine().
|
static |
Definition at line 1992 of file ExprBuiltins.cpp.
|
static |
Definition at line 66 of file ExprBuiltins.cpp.
|
static |
Definition at line 1416 of file ExprBuiltins.cpp.
|
static |
Definition at line 43 of file ExprBuiltins.cpp.
|
static |
Definition at line 35 of file ExprBuiltins.cpp.
|
static |
Definition at line 51 of file ExprBuiltins.cpp.
|
static |
Definition at line 60 of file ExprBuiltins.cpp.
|
static |
Definition at line 72 of file ExprBuiltins.cpp.
|
static |
Definition at line 1327 of file ExprBuiltins.cpp.
|
static |
Definition at line 860 of file ExprBuiltins.cpp.
|
static |
Definition at line 787 of file ExprBuiltins.cpp.
|
static |
Definition at line 651 of file ExprBuiltins.cpp.
|
static |
Definition at line 621 of file ExprBuiltins.cpp.
KSeExpr::CurveData KSeExpr::voronoi |
Referenced by defineBuiltins().
|
static |
Definition at line 1050 of file ExprBuiltins.cpp.
|
static |
Definition at line 78 of file ExprBuiltins.cpp.
|
static |
Definition at line 1487 of file ExprBuiltins.cpp.