Class Evaluator

java.lang.Object
picasso.view.commands.Evaluator
All Implemented Interfaces:
Command<Pixmap>

public class Evaluator extends Object implements Command<Pixmap>
Evaluate an expression for each pixel in a image.
Author:
Robert C Duvall, Sara Sprenkle
  • Field Details

  • Constructor Details

    • Evaluator

      public Evaluator()
  • Method Details

    • execute

      public void execute(Pixmap target)
      Evaluate an expression for each point in the image.
      Specified by:
      execute in interface Command<Pixmap>
    • imageToDomainScale

      protected double imageToDomainScale(int value, int bounds)
      Convert from image space to domain space.
    • createExpression

      private ExpressionTreeNode createExpression()
      A place holder for a more interesting way to build the expression.