|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.expr.FloatExpression
@EditorTypes(value={FloatExpression.Parsed.class,FloatExpression.Constant.class,FloatExpression.Reference.class,FloatExpression.Clock.class,FloatExpression.Negate.class,FloatExpression.Add.class,FloatExpression.Subtract.class,FloatExpression.Multiply.class,FloatExpression.Divide.class,FloatExpression.Remainder.class,FloatExpression.Pow.class,FloatExpression.Exp.class,FloatExpression.Sin.class,FloatExpression.Cos.class,FloatExpression.Tan.class,FloatExpression.Square.class,FloatExpression.Triangle.class,FloatExpression.Ramp.class,FloatExpression.Saw.class,FloatExpression.Noise1.class,FloatExpression.Noise2.class})
public abstract class FloatExpressionA float-valued expression.
| Nested Class Summary | |
|---|---|
static class |
FloatExpression.Add
Adds its operands. |
static class |
FloatExpression.BinaryOperation
The superclass of the binary operations. |
static class |
FloatExpression.Clock
A clock-based expression. |
static class |
FloatExpression.Constant
A constant expression. |
static class |
FloatExpression.Cos
Computes the cosine of its operand. |
static class |
FloatExpression.Divide
Divides the first operand by the second. |
static class |
FloatExpression.Evaluator
Performs the actual evaluation of the expression. |
static class |
FloatExpression.Exp
Raises e to the power of its operand. |
static class |
FloatExpression.Multiply
Multiplies its operands. |
static class |
FloatExpression.Negate
Negates its operand. |
static class |
FloatExpression.Noise1
Computes the one-dimensional Perlin noise value corresponding to the operand. |
static class |
FloatExpression.Noise2
Computes the two-dimensional Perlin noise value corresponding to the operands. |
static class |
FloatExpression.Parsed
An expression entered as a string to be parsed. |
static class |
FloatExpression.Pow
Raises the first operand to the power of the second. |
static class |
FloatExpression.Ramp
Computes the ramp (reverse sawtooth) wave value of its operand. |
static class |
FloatExpression.Reference
A reference expression. |
static class |
FloatExpression.Remainder
Computes the floating point remainder when the first operand is divided by the second. |
static class |
FloatExpression.Saw
Computes the sawtooth wave value of its operand. |
static class |
FloatExpression.Sin
Computes the sine of its operand. |
static class |
FloatExpression.Square
Computes the square wave value of its operand. |
static class |
FloatExpression.Subtract
Subtracts the second operand from the first. |
static class |
FloatExpression.Tan
Computes the tangent of its operand. |
static class |
FloatExpression.Triangle
Computes the triangle wave value of its operand. |
static class |
FloatExpression.UnaryOperation
The superclass of the unary operations. |
| Constructor Summary | |
|---|---|
FloatExpression()
|
|
| Method Summary | |
|---|---|
abstract FloatExpression.Evaluator |
createEvaluator(Scope scope)
Creates an expression evaluator for the supplied context. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FloatExpression()
| Method Detail |
|---|
public abstract FloatExpression.Evaluator createEvaluator(Scope scope)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||