hmi.elckerlyc.animationengine.procanimation
Class PerlinNoiseJEP

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by hmi.elckerlyc.animationengine.procanimation.PerlinNoiseJEP
All Implemented Interfaces:
org.nfunk.jep.function.PostfixMathCommandI

public class PerlinNoiseJEP
extends org.nfunk.jep.function.PostfixMathCommand

JEP implementation of project.mathutils.PerlinNoise

Author:
welberge

Field Summary
private  PerlinNoise pnoise
           
 
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand
curNumberOfParameters, numberOfParameters
 
Constructor Summary
PerlinNoiseJEP()
          Constructor
 
Method Summary
 void run(Stack inStack)
          Runs the perlin noise operation on the inStack.
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pnoise

private PerlinNoise pnoise
Constructor Detail

PerlinNoiseJEP

public PerlinNoiseJEP()
Constructor

Method Detail

run

public void run(Stack inStack)
         throws org.nfunk.jep.ParseException
Runs the perlin noise operation on the inStack. The parameter is popped off the inStack, and the noise value is pushed back to the top of inStack.

Specified by:
run in interface org.nfunk.jep.function.PostfixMathCommandI
Overrides:
run in class org.nfunk.jep.function.PostfixMathCommand
Throws:
org.nfunk.jep.ParseException