org.friendularity.api.struct
Class MathExprNode<NumType>

java.lang.Object
  extended by org.friendularity.api.struct.NumericNode<NumType>
      extended by org.friendularity.api.struct.MathExprNode<NumType>
All Implemented Interfaces:
NumericMapper<NumType>
Direct Known Subclasses:
VisualMathExprLib.ColorExprNode, VisualMathExprLib.QuaternionExprNode, VisualMathExprLib.Vec3fExprNode

public abstract class MathExprNode<NumType>
extends NumericNode<NumType>

Author:
Stu B. This class is used from CCMIO in defining the prototype "Visual" pkg.

Constructor Summary
MathExprNode(String mExpr, int dim, NumType outObj)
           
 
Method Summary
protected  void readDoublesIntoBuf(org.cogchar.bind.symja.MathGate mathGate, double[] buffer)
          This is our fundamental binding of a type to the MathGate concept.
 void setMathExpr(String mathExpr)
           
 
Methods inherited from class org.friendularity.api.struct.NumericNode
clearResultCache, doUpdate, getOutputObject, writeAnyNumericFromAnyDoublesBuf, writeNumericFromDoublesBuf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathExprNode

public MathExprNode(String mExpr,
                    int dim,
                    NumType outObj)
Method Detail

readDoublesIntoBuf

protected void readDoublesIntoBuf(org.cogchar.bind.symja.MathGate mathGate,
                                  double[] buffer)
Description copied from class: NumericNode
This is our fundamental binding of a type to the MathGate concept. Reads our node's doubles from a mathGate into the given buffer.

Specified by:
readDoublesIntoBuf in class NumericNode<NumType>

setMathExpr

public void setMathExpr(String mathExpr)


Copyright © 2011-2014. All Rights Reserved.