A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes All Packages

A

Abs - Class in picasso.parser.language.expressions
Represents the absolute value function in the Picasso language.
Abs(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Abs
Create an absolute value expression tree that takes as a parameter the given expression
AbsAnalyzer - Class in picasso.parser
Handles parsing the absolute value function.
AbsAnalyzer() - Constructor for class picasso.parser.AbsAnalyzer
 
AbsToken - Class in picasso.parser.tokens.functions
 
AbsToken() - Constructor for class picasso.parser.tokens.functions.AbsToken
 
AbstractPerlin - Class in picasso.parser.language.expressions
Represents a function that takes two arguments.
AbstractPerlin(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.AbstractPerlin
Constructor that accepts two parameters
add(String, ExpressionTreeNode) - Method in class picasso.util.Dictionary
 
add(String, Command<Pixmap>) - Method in class picasso.view.ButtonPanel
Add the given Command as a button with the given button text.
add(NamedCommand<Pixmap>) - Method in class picasso.view.ButtonPanel
Add the given Command as a button.
ADD_OR_SUBTRACT - Static variable in class picasso.parser.tokens.Token
 
Addition - Class in picasso.parser.language.expressions
Represents the add function in the Picasso language.
Addition(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Addition
Create an add expression tree that takes as a parameter two expressions
AdditionAnalyzer - Class in picasso.parser
Handles parsing the addition function.
AdditionAnalyzer() - Constructor for class picasso.parser.AdditionAnalyzer
 
AdditionToken - Class in picasso.parser.tokens.operations
Represents the addition sign token
AdditionToken() - Constructor for class picasso.parser.tokens.operations.AdditionToken
 
APOSTROPHE - Static variable in class picasso.parser.language.CharConstants
 
ASSIGNMENT - Static variable in class picasso.parser.tokens.Token
 
Atan - Class in picasso.parser.language.expressions
Represents the arc tangent function in the Picasso language, allowing evaluation of an expression's arc tangent component.
Atan(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Atan
Constructs a arc tangent expression with the given parameter expression.
AtanAnalyzer - Class in picasso.parser
Handles parsing the arc tangent function.
AtanAnalyzer() - Constructor for class picasso.parser.AtanAnalyzer
 
AtanToken - Class in picasso.parser.tokens.functions
 
AtanToken() - Constructor for class picasso.parser.tokens.functions.AtanToken
 

B

BACK_SLASH - Static variable in class picasso.parser.language.CharConstants
 
BANG - Static variable in class picasso.parser.language.CharConstants
 
BinaryExp - Class in picasso.parser.language.expressions
Represents the add function in the Picasso language.
BinaryExp(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.BinaryExp
Create an add expression tree that takes as a parameter two expressions
BinaryExpAnalyzer - Class in picasso.parser
Handles parsing the exp function.
BinaryExpAnalyzer() - Constructor for class picasso.parser.BinaryExpAnalyzer
 
BinaryExpToken - Class in picasso.parser.tokens.operations
Represents the exp sign token
BinaryExpToken() - Constructor for class picasso.parser.tokens.operations.BinaryExpToken
 
BinaryFunction - Class in picasso.parser.language.expressions
Represents a function that takes two arguments.
BinaryFunction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.BinaryFunction
Constructor that accepts two parameters
BinaryFunctionAnalyzer - Class in picasso.parser
Abstract class for parsing functions that take two expressions as parameters.
BinaryFunctionAnalyzer() - Constructor for class picasso.parser.BinaryFunctionAnalyzer
 
BuiltinColorNameReader - Class in picasso.parser.language
Handles reading the available built-in functions from a file.
BuiltinColorNameReader() - Constructor for class picasso.parser.language.BuiltinColorNameReader
 
BuiltinFunctionsReader - Class in picasso.parser.language
Handles reading the available built-in functions from a file.
BuiltinFunctionsReader() - Constructor for class picasso.parser.language.BuiltinFunctionsReader
 
ButtonPanel - Class in picasso.view
The collection of commands represented as buttons that apply to the active image.
ButtonPanel(Canvas) - Constructor for class picasso.view.ButtonPanel
Create panel that will update the given picasso.view.

C

Canvas - Class in picasso.view
The canvas on which to present the image.
Canvas(JFrame) - Constructor for class picasso.view.Canvas
 
Canvas(JFrame, String) - Constructor for class picasso.view.Canvas
 
capitalize(String) - Static method in class picasso.parser.tokens.TokenFactory
Capitalizes the first letter in the string
CARET - Static variable in class picasso.parser.language.CharConstants
 
Ceil - Class in picasso.parser.language.expressions
Represents the cieling function in the Picasso language.
Ceil(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Ceil
Create a ceiling expression tree that takes as a parameter the given expression
CeilAnalyzer - Class in picasso.parser
Handles parsing the ceiling function.
CeilAnalyzer() - Constructor for class picasso.parser.CeilAnalyzer
 
CeilToken - Class in picasso.parser.tokens.functions
Represents the ceiling function token
CeilToken() - Constructor for class picasso.parser.tokens.functions.CeilToken
 
CharConstants - Class in picasso.parser.language
Symbolic names for character constants
CharConstants() - Constructor for class picasso.parser.language.CharConstants
 
CharToken - Class in picasso.parser.tokens.chars
A token represented by a single character, e.g., '*', ';', '[' and so on; the method equals compares a CharToken as equal to another CharToken encapsulating the same character.
CharToken(int) - Constructor for class picasso.parser.tokens.chars.CharToken
Represents the given single-character token
CharTokenFactory - Class in picasso.parser.tokens
Factory for generating CharToken objects ensuring that only one of any specific CharToken object is created (enforcing CharToken singleton-ness per char value)
CharTokenFactory() - Constructor for class picasso.parser.tokens.CharTokenFactory
 
checkEntry(String) - Method in class picasso.util.Dictionary
 
clamp() - Method in class picasso.parser.language.expressions.RGBColor
Clamps the color components between COLOR_MIN and COLOR_MAX
clamp(double) - Static method in class picasso.parser.language.expressions.Clamp
 
clamp(double) - Static method in class picasso.parser.language.expressions.ImageClip
Function wraps the given value between the values of -1 and 1.
clamp(double) - Static method in class picasso.parser.language.expressions.RGBColor
Clamps the value to between COLOR_MIN and COLOR_MAX
Clamp - Class in picasso.parser.language.expressions
Represents the clamp function in the Picasso language.
Clamp(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Clamp
Create a clamp expression tree that takes as a parameter the given expression
ClampAnalyzer - Class in picasso.parser
Handles parsing the clamp function.
ClampAnalyzer() - Constructor for class picasso.parser.ClampAnalyzer
 
ClampToken - Class in picasso.parser.tokens.functions
Represents the ceiling function token
ClampToken() - Constructor for class picasso.parser.tokens.functions.ClampToken
 
COLOR_MAX - Static variable in class picasso.parser.language.expressions.RGBColor
 
COLOR_MIN - Static variable in class picasso.parser.language.expressions.RGBColor
 
ColorAnalyzer - Class in picasso.parser
SemanticAnalyzer for an RGB Color
ColorAnalyzer() - Constructor for class picasso.parser.ColorAnalyzer
 
ColorNameAnalyzer - Class in picasso.parser
Handles parsing the red name.
ColorNameAnalyzer() - Constructor for class picasso.parser.ColorNameAnalyzer
 
ColorNameToken - Class in picasso.parser.tokens.colorName
 
ColorNameToken(String) - Constructor for class picasso.parser.tokens.colorName.ColorNameToken
 
ColorToken - Class in picasso.parser.tokens
Represents a color (using double values).
ColorToken(double, double, double) - Constructor for class picasso.parser.tokens.ColorToken
Constructs a token representing the value
COMMA - Static variable in class picasso.parser.language.CharConstants
 
Command<T> - Interface in picasso.util
An abstract command class that operates on some target object.
CommaToken - Class in picasso.parser.tokens.chars
Represents a comma in the Picasso programming language
CommaToken() - Constructor for class picasso.parser.tokens.chars.CommaToken
 
Constant - Class in picasso.parser.language.expressions
Represents a constant in the Picasso language.
Constant(double) - Constructor for class picasso.parser.language.expressions.Constant
Creates a new Constant object that represents the given value
CONSTANT - Static variable in class picasso.parser.tokens.Token
 
ConstantAnalyzer - Class in picasso.parser
Analyzer for a constant, must be between [-1, 1]
ConstantAnalyzer() - Constructor for class picasso.parser.ConstantAnalyzer
 
Cos - Class in picasso.parser.language.expressions
Represents the cosine function in the Picasso language, allowing evaluation of an expression's cosine component.
Cos(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Cos
Constructs a cosine expression with the given parameter expression.
COS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
CosAnalyzer - Class in picasso.parser
Handles parsing the cosine function.
CosAnalyzer() - Constructor for class picasso.parser.CosAnalyzer
 
CosToken - Class in picasso.parser.tokens.functions
 
CosToken() - Constructor for class picasso.parser.tokens.functions.CosToken
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.AdditionAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.BinaryExpAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.BinaryFunctionAnalyzer
Creates the specific binary function node.
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.DivisionAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.EqualsAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.ModAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.MultiplyAnalyzer
 
createBinaryFunctionNode(ExpressionTreeNode, ExpressionTreeNode) - Method in class picasso.parser.SubtractionAnalyzer
 
createUnaryOperatorNode(ExpressionTreeNode) - Method in class picasso.parser.NegationAnalyzer
 
createUnaryOperatorNode(ExpressionTreeNode) - Method in class picasso.parser.UnaryOperatorAnalyzer
Creates the specific binary function node.

D

DEFAULT_COLOR - Static variable in class picasso.model.Pixmap
 
DEFAULT_NAME - Static variable in class picasso.model.Pixmap
 
DEFAULT_SIZE - Static variable in class picasso.model.Pixmap
 
determineCell(int, int) - Static method in class picasso.parser.language.expressions.PerlinNoise
Determines the cell of the grid that the input coordinate is in
Dictionary - Class in picasso.util
 
Dictionary() - Constructor for class picasso.util.Dictionary
 
DIVIDE - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
Division - Class in picasso.parser.language.expressions
 
Division(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Division
 
DivisionAnalyzer - Class in picasso.parser
 
DivisionAnalyzer() - Constructor for class picasso.parser.DivisionAnalyzer
 
DivisionToken - Class in picasso.parser.tokens.operations
 
DivisionToken() - Constructor for class picasso.parser.tokens.operations.DivisionToken
 
DOLLAR - Static variable in class picasso.parser.language.CharConstants
 
DOMAIN_MAX - Static variable in class picasso.view.commands.Evaluator
 
DOMAIN_MIN - Static variable in class picasso.view.commands.Evaluator
 
domainToImageScale(double, int) - Static method in class picasso.parser.language.expressions.ImageString
 

E

EOFToken - Class in picasso.parser.tokens
This represents an end-of-file token.
EQUAL - Static variable in class picasso.parser.language.CharConstants
 
equals(Object) - Method in class picasso.parser.language.expressions.AbstractPerlin
 
equals(Object) - Method in class picasso.parser.language.expressions.BinaryFunction
 
equals(Object) - Method in class picasso.parser.language.expressions.Constant
Determines if two Constants are equivalent (represent the same value.)
equals(Object) - Method in class picasso.parser.language.expressions.Function
 
equals(Object) - Method in class picasso.parser.language.expressions.ImageClip
 
equals(Object) - Method in class picasso.parser.language.expressions.ImageString
 
equals(Object) - Method in class picasso.parser.language.expressions.ImageWrap
 
equals(Object) - Method in class picasso.parser.language.expressions.RandomFunction
 
equals(Object) - Method in class picasso.parser.language.expressions.RGBColor
 
equals(Object) - Method in class picasso.parser.language.expressions.UnaryFunction
 
equals(Object) - Method in class picasso.parser.language.expressions.UnaryOperator
 
equals(Object) - Method in class picasso.parser.language.expressions.X
 
equals(Object) - Method in class picasso.parser.language.expressions.Y
 
equals(Object) - Method in class picasso.parser.tokens.chars.CharToken
 
equals(Object) - Method in class picasso.parser.tokens.colorName.ColorNameToken
 
equals(Object) - Method in class picasso.parser.tokens.ColorToken
 
equals(Object) - Method in class picasso.parser.tokens.EOFToken
 
equals(Object) - Method in class picasso.parser.tokens.functions.FunctionToken
 
equals(Object) - Method in class picasso.parser.tokens.IdentifierToken
 
equals(Object) - Method in class picasso.parser.tokens.ImageStringToken
 
equals(Object) - Method in class picasso.parser.tokens.NumberToken
 
Equals - Class in picasso.parser.language.expressions
Represents the = sign in the picasso language.
Equals(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Equals
Create an expression tree from the right side that takes as a parameter the given expression
EqualsAnalyzer - Class in picasso.parser
 
EqualsAnalyzer() - Constructor for class picasso.parser.EqualsAnalyzer
 
EqualsToken - Class in picasso.parser.tokens.operations
Represents the equals sign in the Picasso programming language
EqualsToken() - Constructor for class picasso.parser.tokens.operations.EqualsToken
 
ERROR_TOLERANCE - Static variable in class picasso.parser.language.expressions.RGBColor
for testing
ErrorHandling - Class in picasso.view
Centralized error-handling class for the Picasso application.
ErrorHandling() - Constructor for class picasso.view.ErrorHandling
 
EvaluatableExpression - Interface in picasso.parser.language
Classes that implement this interface can be evaluated for the image.
evaluate(double, double) - Method in interface picasso.parser.language.EvaluatableExpression
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.AbstractPerlin
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.BinaryFunction
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Constant
The constant is like an RGB Color with the constant as each component.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Equals
Evaluates the right side of expression.
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageClip
Evaluates this expression at the given x,y point by evaluating the wrap of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageString
Evaluates this expression at the given x,y point by evaluating the ceiling of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.ImageWrap
Evaluates this expression at the given x,y point by evaluating the wrap of the function's parameter.
evaluate(double, double) - Method in class picasso.parser.language.expressions.PerlinBW
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.PerlinColor
evaluates the expression at the given x and coordinates
evaluate(double, double) - Method in class picasso.parser.language.expressions.RandomFunction
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.RGBColor
Returns this color
evaluate(double, double) - Method in class picasso.parser.language.expressions.RgbToYCrCb
Evaluates this expression at the given (x, y) coordinates by applying the RGB to YCrCb function to the parameter's evaluation result.
evaluate(double, double) - Method in class picasso.parser.language.expressions.UnaryFunctionApplySameFunction
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.UnaryOperator
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.Variable
 
evaluate(double, double) - Method in class picasso.parser.language.expressions.X
Returns the color represented by x.
evaluate(double, double) - Method in class picasso.parser.language.expressions.Y
Returns the color represented by y.
evaluate(double, double) - Method in class picasso.parser.language.expressions.YCrCbToRgb
Evaluates this expression at the given (x, y) coordinates by applying the RGB to YCrCb function to the parameter's evaluation result.
evaluate(double, double) - Method in class picasso.parser.language.ExpressionTreeNode
Evaluate this expression, given x and y
evaluate(RGBColor, RGBColor) - Method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
evaluateParams(RGBColor, RGBColor) - Method in class picasso.parser.language.expressions.PerlinBW
 
evaluateParams(RGBColor, RGBColor) - Method in class picasso.parser.language.expressions.PerlinColor
 
Evaluator - Class in picasso.view.commands
Evaluate an expression for each pixel in a image.
Evaluator(JTextField) - Constructor for class picasso.view.commands.Evaluator
 
execute(Pixmap) - Method in class picasso.view.commands.Evaluator
Evaluate an expression for each point in the image.
execute(Pixmap) - Method in class picasso.view.commands.RandomExpressionCommand
 
execute(Pixmap) - Method in class picasso.view.commands.Reader
Displays the image file on the given target.
execute(Pixmap) - Method in class picasso.view.commands.Writer
 
execute(T) - Method in interface picasso.util.Command
Implementations determine how to update the given target object
execute(T) - Method in class picasso.util.NamedCommand
Run the given command.
execute(T) - Method in class picasso.util.ThreadedCommand
Run the command on the target or cancel it if is already running.
Exp - Class in picasso.parser.language.expressions
Represents the exponential function in the Picasso language, allowing evaluation of an expression's exponential component.
Exp(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Exp
Constructs an exponential expression with the given parameter expression.
ExpAnalyzer - Class in picasso.parser
Handles parsing the exponential function.
ExpAnalyzer() - Constructor for class picasso.parser.ExpAnalyzer
 
EXPONENTIATION - Static variable in class picasso.parser.tokens.Token
 
ExpressionTreeGenerator - Class in picasso.parser
Parses a string into an expression tree based on rules for arithmetic.
ExpressionTreeGenerator() - Constructor for class picasso.parser.ExpressionTreeGenerator
 
ExpressionTreeNode - Class in picasso.parser.language
All elements of the language (e.g., that make up ExpressionTree) should extend ExpressionTreeNode.
ExpressionTreeNode() - Constructor for class picasso.parser.language.ExpressionTreeNode
 
ExpToken - Class in picasso.parser.tokens.functions
 
ExpToken() - Constructor for class picasso.parser.tokens.functions.ExpToken
 

F

FileCommand<T> - Class in picasso.util
An abstract command that allows access to the file system through a JFileChooser dialog box.
FileCommand(int) - Constructor for class picasso.util.FileCommand
Create command that will pop-up the given type of JFileChooser dialog
findDots(PerlinNoise, int, int, int[][]) - Static method in class picasso.parser.language.expressions.PerlinNoise
 
Floor - Class in picasso.parser.language.expressions
Represents the floor function in the Picasso language.
Floor(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Floor
Create a floor expression tree that takes as a parameter the given expression
FloorAnalyzer - Class in picasso.parser
Handles parsing the floor function.
FloorAnalyzer() - Constructor for class picasso.parser.FloorAnalyzer
 
FloorToken - Class in picasso.parser.tokens.functions
Represents the floor function token
FloorToken() - Constructor for class picasso.parser.tokens.functions.FloorToken
 
Frame - Class in picasso.view
Main container for the Picasso application
Frame(Dimension) - Constructor for class picasso.view.Frame
 
function(double) - Method in class picasso.parser.language.expressions.Abs
Evaluates this expression at the given x,y point by evaluating the floor of the function's parameter.
function(double) - Method in class picasso.parser.language.expressions.Atan
Evaluates this expression at the given (x, y) coordinates by applying the arc tangent function to the parameter's evaluation result.
function(double) - Method in class picasso.parser.language.expressions.Ceil
Evaluates this expression at the given x,y point by evaluating the ceiling of the function's parameter.
function(double) - Method in class picasso.parser.language.expressions.Clamp
Evaluates this expression at the given x,y point by evaluating the ceiling of the function's parameter.
function(double) - Method in class picasso.parser.language.expressions.Cos
Evaluates this expression at the given (x, y) coordinates by applying the cosine function to the parameter's evaluation result.
function(double) - Method in class picasso.parser.language.expressions.Equals
 
function(double) - Method in class picasso.parser.language.expressions.Exp
Evaluates this expression at the given (x, y) coordinates by applying the exponential function to the parameter's evaluation result.
function(double) - Method in class picasso.parser.language.expressions.Floor
Evaluates this expression at the given x,y point by evaluating the floor of the function's parameter.
function(double) - Method in class picasso.parser.language.expressions.Log
Evaluates this expression at the given x,y point by evaluating the log of the function's parameter.
function(double) - Method in class picasso.parser.language.expressions.Sin
Evaluates this expression at the given (x, y) coordinates by applying the sine function to the parameter's evaluation result.
function(double) - Method in class picasso.parser.language.expressions.Tan
Evaluates this expression at the given (x, y) coordinates by applying the tangent function to the parameter's evaluation result.
function(double) - Method in class picasso.parser.language.expressions.UnaryFunctionApplySameFunction
Abstract method to apply a function.
function(double) - Method in class picasso.parser.language.expressions.Wrap
Function wraps the given value between the values of -1 and 1.
Function - Class in picasso.parser.language.expressions
Represents a function that takes one argument.
Function(ExpressionTreeNode, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Function
 
FunctionAnalyzer - Class in picasso.parser
Abstract class that parses a function that takes one expression as a parameter.
FunctionAnalyzer() - Constructor for class picasso.parser.FunctionAnalyzer
 
FunctionToken - Class in picasso.parser.tokens.functions
Parent class for Tokens that represent functions.
FunctionToken(String) - Constructor for class picasso.parser.tokens.functions.FunctionToken
 

G

gelementsToValue - Static variable in class picasso.parser.language.ExpressionTreeNode
 
generate() - Static method in class picasso.view.RandomExpressionGenerator
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.BinaryFunctionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ColorAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ColorNameAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ConstantAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.EqualsAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.FunctionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.IdentifierAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ImageClipAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ImageStringAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.ImageWrapAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PerlinBWAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.PerlinColorAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.RandomAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.SemanticAnalyzer
From a stack of tokens in postfix order, creates an expression tree
generateExpressionTree(Stack<Token>) - Method in interface picasso.parser.SemanticAnalyzerInterface
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.UnaryFunctionAnalyzer
 
generateExpressionTree(Stack<Token>) - Method in class picasso.parser.UnaryOperatorAnalyzer
 
getBinaryOperators() - Static method in class picasso.view.RandomExpressionGenerator
 
getBlue() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of blue, between COLOR_MIN and COLOR_MAX
getBlue() - Method in class picasso.parser.tokens.ColorToken
 
getColor(int, int) - Method in class picasso.model.Pixmap
Returns the color of the pixel at the given (x,y) coordinate if the coordinate is within the bounds of the image; otherwise returns the default color
getColor(String) - Static method in class picasso.parser.language.BuiltinColorNameReader
 
getColorNameList() - Static method in class picasso.parser.language.BuiltinColorNameReader
Get the list of built-in function names
getEntry(String) - Method in class picasso.util.Dictionary
 
getFileName() - Method in class picasso.util.FileCommand
Pops up the appropriate file dialog box.
getFunctions() - Static method in class picasso.view.RandomExpressionGenerator
Getters for testing
getFunctionsList() - Static method in class picasso.parser.language.BuiltinFunctionsReader
Get the list of built-in function names
getGreen() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of green, between COLOR_MIN and COLOR_MAX
getGreen() - Method in class picasso.parser.tokens.ColorToken
 
getIgnoredFunctions() - Static method in class picasso.view.RandomExpressionGenerator
 
getInstance() - Static method in class picasso.parser.ConstantAnalyzer
 
getInstance() - Static method in class picasso.parser.SemanticAnalyzer
Make sure that there is only one semantic analyzer for the application.
getInstance() - Static method in class picasso.parser.tokens.EOFToken
 
getInstance() - Static method in class picasso.util.Dictionary
 
getMap() - Method in class picasso.util.Dictionary
 
getMultiParamFunctions() - Static method in class picasso.view.RandomExpressionGenerator
 
getName() - Method in class picasso.model.Pixmap
Returns the name of the image
getName() - Method in class picasso.parser.language.expressions.Variable
 
getName() - Method in class picasso.parser.tokens.IdentifierToken
Returns the identifier's name
getName() - Method in class picasso.parser.tokens.ImageStringToken
Returns the String's name
getName() - Method in class picasso.util.NamedCommand
Returns name of this command.
getPixmap() - Method in class picasso.view.Canvas
 
getPrecedence() - Method in class picasso.parser.tokens.chars.LeftParenToken
 
getPrecedence() - Method in class picasso.parser.tokens.chars.RightParenToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.AdditionToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.BinaryExpToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.DivisionToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.ModToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.MultiplyToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.NegationToken
 
getPrecedence() - Method in class picasso.parser.tokens.operations.SubtractionToken
 
getPrecedence() - Method in class picasso.parser.tokens.Token
 
getRed() - Method in class picasso.parser.language.expressions.RGBColor
Returns the amount of red, between COLOR_MIN and COLOR_MAX
getRed() - Method in class picasso.parser.tokens.ColorToken
 
getSemanticParser() - Method in class picasso.parser.Tokenizer
 
getSize() - Method in class picasso.model.Pixmap
 
getToken() - Method in class picasso.parser.Tokenizer
 
getToken(int) - Static method in class picasso.parser.tokens.CharTokenFactory
 
getUnaryOperators() - Static method in class picasso.view.RandomExpressionGenerator
 
getValue() - Method in class picasso.parser.language.expressions.Constant
Returns the value of the constant
getValue(String) - Static method in class picasso.parser.language.BuiltinColorNameReader
 
getZeroArgFunctions() - Static method in class picasso.view.RandomExpressionGenerator
 
GROUPING - Static variable in class picasso.parser.tokens.Token
 

H

handleError(String, String, JFrame) - Static method in class picasso.view.ErrorHandling
Handles errors by displaying them in the GUI or logging them.

I

IdentifierAnalyzer - Class in picasso.parser
Handle an identifier token
IdentifierAnalyzer() - Constructor for class picasso.parser.IdentifierAnalyzer
 
IdentifierToken - Class in picasso.parser.tokens
Represents an identifier (a variable name)
IdentifierToken(String) - Constructor for class picasso.parser.tokens.IdentifierToken
 
idToExpression - Static variable in class picasso.parser.IdentifierAnalyzer
 
ImageClip - Class in picasso.parser.language.expressions
Represents the Image clamp function in the Picasso language.
ImageClip(String, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageClip
Create a imageClip expression tree that takes as a parameter the given expression
ImageClipAnalyzer - Class in picasso.parser
Handles parsing the ImageClip function.
ImageClipAnalyzer() - Constructor for class picasso.parser.ImageClipAnalyzer
 
ImageClipToken - Class in picasso.parser.tokens.functions
Represents the floor function token
ImageClipToken() - Constructor for class picasso.parser.tokens.functions.ImageClipToken
 
ImageString - Class in picasso.parser.language.expressions
Represents the cieling function in the Picasso language.
ImageString(String) - Constructor for class picasso.parser.language.expressions.ImageString
Create a ceiling expression tree that takes as a parameter the given expression
ImageStringAnalyzer - Class in picasso.parser
Handle an identifier token
ImageStringAnalyzer() - Constructor for class picasso.parser.ImageStringAnalyzer
 
ImageStringToken - Class in picasso.parser.tokens
Represents an ImageName
ImageStringToken(String) - Constructor for class picasso.parser.tokens.ImageStringToken
 
imageToDomainScale(int, int) - Method in class picasso.view.commands.Evaluator
Convert from image space to domain space.
ImageWrap - Class in picasso.parser.language.expressions
Represents the wrap function in the Picasso language.
ImageWrap(String, ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.ImageWrap
Create a wrap expression tree that takes as a parameter the given expression
ImageWrapAnalyzer - Class in picasso.parser
Handles parsing the Wrap function.
ImageWrapAnalyzer() - Constructor for class picasso.parser.ImageWrapAnalyzer
 
ImageWrapToken - Class in picasso.parser.tokens.functions
Represents the floor function token
ImageWrapToken() - Constructor for class picasso.parser.tokens.functions.ImageWrapToken
 
ImprovedNoise - Class in picasso.model
JAVA REFERENCE IMPLEMENTATION OF IMPROVED NOISE - COPYRIGHT 2002 KEN PERLIN.
ImprovedNoise() - Constructor for class picasso.model.ImprovedNoise
 
infixToPostfix(String) - Method in class picasso.parser.ExpressionTreeGenerator
This method converts the String infix expression to a Stack of tokens, which are in postfix.
INVERT - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
isConstant() - Method in class picasso.parser.tokens.chars.CharToken
 
isConstant() - Method in class picasso.parser.tokens.colorName.ColorNameToken
 
isConstant() - Method in class picasso.parser.tokens.ColorToken
 
isConstant() - Method in class picasso.parser.tokens.EOFToken
 
isConstant() - Method in class picasso.parser.tokens.functions.FunctionToken
 
isConstant() - Method in class picasso.parser.tokens.IdentifierToken
 
isConstant() - Method in class picasso.parser.tokens.ImageStringToken
 
isConstant() - Method in class picasso.parser.tokens.NumberToken
 
isConstant() - Method in class picasso.parser.tokens.Token
Returns true if this token represents a constant, false otherwise
isFunction() - Method in class picasso.parser.tokens.chars.CharToken
 
isFunction() - Method in class picasso.parser.tokens.colorName.ColorNameToken
 
isFunction() - Method in class picasso.parser.tokens.ColorToken
 
isFunction() - Method in class picasso.parser.tokens.EOFToken
 
isFunction() - Method in class picasso.parser.tokens.functions.FunctionToken
 
isFunction() - Method in class picasso.parser.tokens.IdentifierToken
 
isFunction() - Method in class picasso.parser.tokens.ImageStringToken
 
isFunction() - Method in class picasso.parser.tokens.NumberToken
 
isFunction() - Method in class picasso.parser.tokens.Token
Returns true if this token represents a function, false otherwise
isInBounds(int, int) - Method in class picasso.model.Pixmap
Determine if the given (x,y) coordinate is within the bounds of this image.
isValidOperatorToken(Token) - Method in class picasso.parser.AdditionAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.BinaryExpAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.BinaryFunctionAnalyzer
Checks if the given token is of the expected type.
isValidOperatorToken(Token) - Method in class picasso.parser.DivisionAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.EqualsAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.ModAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.MultiplyAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.NegationAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.SubtractionAnalyzer
 
isValidOperatorToken(Token) - Method in class picasso.parser.UnaryOperatorAnalyzer
Checks if the given token is of the expected type.
isValidValue(double) - Static method in class picasso.parser.tokens.ColorToken
 

J

JAVA_COLOR_MAX - Static variable in class picasso.parser.language.expressions.RGBColor
 

L

LEFT_BRACKET - Static variable in class picasso.parser.language.CharConstants
 
LEFT_PAREN - Static variable in class picasso.parser.language.CharConstants
 
LeftBracketToken - Class in picasso.parser.tokens.chars
Represents a left bracket in the Picasso programming language
LeftBracketToken() - Constructor for class picasso.parser.tokens.chars.LeftBracketToken
 
LeftParenToken - Class in picasso.parser.tokens.chars
Represents a left parenthesis in the Picasso programming language
LeftParenToken() - Constructor for class picasso.parser.tokens.chars.LeftParenToken
 
lerp(double, double, double) - Static method in class picasso.parser.language.expressions.PerlinNoise
Linear interpolation
Log - Class in picasso.parser.language.expressions
Represents the log function in the Picasso language.
Log(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Log
Create a log expression tree that takes as a parameter the given expression
LogAnalyzer - Class in picasso.parser
Handles parsing the absolute value function.
LogAnalyzer() - Constructor for class picasso.parser.LogAnalyzer
 
LogToken - Class in picasso.parser.tokens.functions
 
LogToken() - Constructor for class picasso.parser.tokens.functions.LogToken
 

M

main(String[]) - Static method in class picasso.Main
 
main(String[]) - Static method in class picasso.parser.Tokenizer
 
Main - Class in picasso
Starting point for Picasso.
Main() - Constructor for class picasso.Main
 
makeExpression(String) - Method in class picasso.parser.ExpressionTreeGenerator
Converts the given string into expression tree for easier manipulation.
match(Token) - Method in class picasso.parser.Tokenizer
Try to match a token.
MAX_OPERATIONS - Static variable in class picasso.view.RandomExpressionGenerator
 
MINUS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
MINUS - Static variable in class picasso.parser.language.CharConstants
 
Mod - Class in picasso.parser.language.expressions
Represents the add function in the Picasso language.
Mod(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Mod
Create an add expression tree that takes as a parameter two expressions
MOD - Static variable in class picasso.parser.language.CharConstants
 
ModAnalyzer - Class in picasso.parser
Handles parsing the mod function.
ModAnalyzer() - Constructor for class picasso.parser.ModAnalyzer
 
ModToken - Class in picasso.parser.tokens.operations
Represents the mod sign token
ModToken() - Constructor for class picasso.parser.tokens.operations.ModToken
 
Multiply - Class in picasso.parser.language.expressions
 
Multiply(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Multiply
Constructor to create a multiplication operator with two operands
MULTIPLY_OR_DIVIDE - Static variable in class picasso.parser.tokens.Token
 
MultiplyAnalyzer - Class in picasso.parser
 
MultiplyAnalyzer() - Constructor for class picasso.parser.MultiplyAnalyzer
 
MultiplyToken - Class in picasso.parser.tokens.operations
Represents the multiplication sign token
MultiplyToken() - Constructor for class picasso.parser.tokens.operations.MultiplyToken
 

N

NamedCommand<T> - Class in picasso.util
A command with a name (e.g., to display on a button)
NamedCommand(String, Command<T>) - Constructor for class picasso.util.NamedCommand
Create command with a name and an action.
Negation - Class in picasso.parser.language.expressions
Represents the negation operator in the Picasso language.
Negation(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Negation
Create a negation expression tree that takes as a parameter two expressions
NegationAnalyzer - Class in picasso.parser
Handles parsing the negation operator.
NegationAnalyzer() - Constructor for class picasso.parser.NegationAnalyzer
 
NegationToken - Class in picasso.parser.tokens.operations
Represents the negation sign token
NegationToken() - Constructor for class picasso.parser.tokens.operations.NegationToken
 
nextToken() - Method in class picasso.parser.Tokenizer
get the next token and store it for retrieval by getToken()
noise(double, double, double) - Static method in class picasso.model.ImprovedNoise
 
noise(PerlinNoise, double, double) - Static method in class picasso.parser.language.expressions.PerlinNoise
takes a perlinNoise object and image coordinates and outputs the weight
NumberToken - Class in picasso.parser.tokens
Represents a number (using double values).
NumberToken(double) - Constructor for class picasso.parser.tokens.NumberToken
Constructs a token representing value

O

operate(double) - Method in class picasso.parser.language.expressions.Negation
 
operate(double) - Method in class picasso.parser.language.expressions.UnaryOperator
Abstract method to perform the unary operation on the parameter.
operate(double, double) - Method in class picasso.parser.language.expressions.Addition
 
operate(double, double) - Method in class picasso.parser.language.expressions.BinaryExp
 
operate(double, double) - Method in class picasso.parser.language.expressions.BinaryFunction
 
operate(double, double) - Method in class picasso.parser.language.expressions.Division
 
operate(double, double) - Method in class picasso.parser.language.expressions.Mod
 
operate(double, double) - Method in class picasso.parser.language.expressions.Multiply
 
operate(double, double) - Method in class picasso.parser.language.expressions.Subtraction
 
OperationInterface - Interface in picasso.parser.tokens.operations
A marker interface

P

paint(Graphics) - Method in class picasso.model.Pixmap
 
paintComponent(Graphics) - Method in class picasso.view.Canvas
 
parse(StreamTokenizer) - Static method in class picasso.parser.tokens.TokenFactory
 
parseColorToken(StreamTokenizer) - Static method in class picasso.parser.tokens.TokenFactory
Parse a ColorToken
ParseException - Exception in picasso.parser
Describe an exception that occurred during parsing.
ParseException(String) - Constructor for exception picasso.parser.ParseException
 
parseTokens(String) - Method in class picasso.parser.Tokenizer
Parses the given string into a list of Picasso tokens (in order)
PERIOD - Static variable in class picasso.parser.language.CharConstants
 
PerlinBW - Class in picasso.parser.language.expressions
Represents the PerlinBW function in the Picasso language
PerlinBW(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.PerlinBW
Constructor to create a multiplication operator with two operands
PERLINBW - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
PerlinBWAnalyzer - Class in picasso.parser
Handles parsing the Wrap function.
PerlinBWAnalyzer() - Constructor for class picasso.parser.PerlinBWAnalyzer
 
PerlinBWToken - Class in picasso.parser.tokens.functions
Represents the floor function token
PerlinBWToken() - Constructor for class picasso.parser.tokens.functions.PerlinBWToken
 
PerlinColor - Class in picasso.parser.language.expressions
Represents the PerlinColor function in the Picasso language
PerlinColor(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.PerlinColor
Constructor to create a PerlinColor operator with two operands
PERLINCOLOR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
PerlinColorAnalyzer - Class in picasso.parser
Handles parsing the PerlinColor function.
PerlinColorAnalyzer() - Constructor for class picasso.parser.PerlinColorAnalyzer
 
PerlinColorToken - Class in picasso.parser.tokens.functions
Represents the floor function token
PerlinColorToken() - Constructor for class picasso.parser.tokens.functions.PerlinColorToken
 
PerlinNoise - Class in picasso.parser.language.expressions
sources: https://en.wikipedia.org/wiki/Perlin_noise https://github.com/raubirius/GRobot/blob/master/knižnica/podpora/PerlinNoise.java Chat GPT https://stackoverflow.com/questions/17440865/using-perlin-noise-to-generate-a-2d-tile-map
picasso - package picasso
 
picasso.model - package picasso.model
 
picasso.parser - package picasso.parser
 
picasso.parser.language - package picasso.parser.language
 
picasso.parser.language.expressions - package picasso.parser.language.expressions
 
picasso.parser.tokens - package picasso.parser.tokens
 
picasso.parser.tokens.chars - package picasso.parser.tokens.chars
 
picasso.parser.tokens.colorName - package picasso.parser.tokens.colorName
 
picasso.parser.tokens.functions - package picasso.parser.tokens.functions
 
picasso.parser.tokens.operations - package picasso.parser.tokens.operations
 
picasso.util - package picasso.util
 
picasso.view - package picasso.view
 
picasso.view.commands - package picasso.view.commands
 
Pixmap - Class in picasso.model
Class for manipulating graphics images, originally developed in C++.
Pixmap() - Constructor for class picasso.model.Pixmap
Create a default pixmap (300x300 black)
Pixmap(int, int) - Constructor for class picasso.model.Pixmap
Create a black pixmap with given width and height
Pixmap(int, int, Color) - Constructor for class picasso.model.Pixmap
Create a pixmap with given width and height and filled with given initial color
Pixmap(Dimension) - Constructor for class picasso.model.Pixmap
Create a black pixmap with given size
Pixmap(String) - Constructor for class picasso.model.Pixmap
Create a pixmap from the given local file
Pixmap(Pixmap) - Constructor for class picasso.model.Pixmap
Create this image as a copy of the given image
PLUS - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
PLUS - Static variable in class picasso.parser.language.CharConstants
 

Q

QUESTION - Static variable in class picasso.parser.language.CharConstants
 
QUOTE - Static variable in class picasso.parser.language.CharConstants
 
QuoteToken - Class in picasso.parser.tokens.chars
Represents a quotation in the Picasso programming language
QuoteToken() - Constructor for class picasso.parser.tokens.chars.QuoteToken
 

R

RandomAnalyzer - Class in picasso.parser
Analyzes the random() function token and generates the corresponding expression tree.
RandomAnalyzer() - Constructor for class picasso.parser.RandomAnalyzer
 
RandomExpressionCommand - Class in picasso.view.commands
 
RandomExpressionCommand(Canvas, JTextField) - Constructor for class picasso.view.commands.RandomExpressionCommand
 
RandomExpressionGenerator - Class in picasso.view
 
RandomExpressionGenerator() - Constructor for class picasso.view.RandomExpressionGenerator
 
RandomFunction - Class in picasso.parser.language.expressions
Represents the random() function which generates a random color.
RandomFunction() - Constructor for class picasso.parser.language.expressions.RandomFunction
 
RandomToken - Class in picasso.parser.tokens.functions
 
RandomToken() - Constructor for class picasso.parser.tokens.functions.RandomToken
 
read(String) - Method in class picasso.model.Pixmap
Read the image named by fileName
Reader - Class in picasso.view.commands
Open the chosen image file and display in the Pixmap target.
Reader(JTextField) - Constructor for class picasso.view.commands.Reader
Creates a Reader object, which prompts users for image files to open
readText(String) - Method in class picasso.view.commands.Reader
 
ReferenceForExpressionEvaluations - Enum in picasso.parser.language.expressions
This is the original implementation.
refresh() - Method in class picasso.view.Canvas
 
remove(String) - Method in class picasso.util.Dictionary
 
RGB2YCRCR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
RGBColor - Class in picasso.parser.language.expressions
Special color class for Picasso.
RGBColor(double, double, double) - Constructor for class picasso.parser.language.expressions.RGBColor
Create an RGBColor object that has the given amount of red, green, and blue.
RGBColor(Color) - Constructor for class picasso.parser.language.expressions.RGBColor
Copy a Java Color object into a Picasso RGBColor object
RgbToYCrCb - Class in picasso.parser.language.expressions
Converts RGB To YCrCb in the Picasso language.
RgbToYCrCb(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.RgbToYCrCb
Constructs a RGB To YCrCb expression with the given parameter expression.
RgbToYCrCbAnalyzer - Class in picasso.parser
Handles parsing the sine function.
RgbToYCrCbAnalyzer() - Constructor for class picasso.parser.RgbToYCrCbAnalyzer
 
RgbToYCrCbToken - Class in picasso.parser.tokens.functions
 
RgbToYCrCbToken() - Constructor for class picasso.parser.tokens.functions.RgbToYCrCbToken
 
RIGHT_BRACKET - Static variable in class picasso.parser.language.CharConstants
 
RIGHT_PAREN - Static variable in class picasso.parser.language.CharConstants
 
RightBracketToken - Class in picasso.parser.tokens.chars
Represents a right bracket in the Picasso programming language
RightBracketToken() - Constructor for class picasso.parser.tokens.chars.RightBracketToken
 
RightParenToken - Class in picasso.parser.tokens.chars
Represents a right parenthesis in the Picasso programming language
RightParenToken() - Constructor for class picasso.parser.tokens.chars.RightParenToken
 

S

SemanticAnalyzer - Class in picasso.parser
SemanticAnalyzer calls appropriate SemanticAnalyzer for the given token
SemanticAnalyzerInterface - Interface in picasso.parser
The interface that all Semantic Analyzers must implement
setAutomatedTestMode(boolean) - Static method in class picasso.view.ErrorHandling
Enables or disables GUI popups for errors.
setColor(int, int, Color) - Method in class picasso.model.Pixmap
 
setCurrToken(Token) - Method in class picasso.parser.Tokenizer
 
setSize(int, int) - Method in class picasso.model.Pixmap
Changes the size of the image to the given width and height
setSize(Dimension) - Method in class picasso.model.Pixmap
 
setSize(Dimension) - Method in class picasso.view.Canvas
 
setUpTokenizer(String) - Static method in class picasso.parser.Tokenizer
 
Sin - Class in picasso.parser.language.expressions
Represents the sine function in the Picasso language, allowing evaluation of an expression's sine component.
Sin(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Sin
Constructs a Sin expression with the given parameter expression.
SinAnalyzer - Class in picasso.parser
Handles parsing the sine function.
SinAnalyzer() - Constructor for class picasso.parser.SinAnalyzer
 
SinToken - Class in picasso.parser.tokens.functions
 
SinToken() - Constructor for class picasso.parser.tokens.functions.SinToken
 
SIZE - Static variable in class picasso.Main
 
SLASH - Static variable in class picasso.parser.language.CharConstants
 
smooth(int, int, double[]) - Static method in class picasso.parser.language.expressions.PerlinNoise
smoothing function to reduce harshness of changes in shading
STAR - Static variable in class picasso.parser.language.CharConstants
 
Subtraction - Class in picasso.parser.language.expressions
Represents the minus function in the Picasso language.
Subtraction(ExpressionTreeNode, ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Subtraction
Create a subtraction expression tree that takes as a parameter two expressions
SubtractionAnalyzer - Class in picasso.parser
Handles parsing the addition function.
SubtractionAnalyzer() - Constructor for class picasso.parser.SubtractionAnalyzer
 
SubtractionToken - Class in picasso.parser.tokens.operations
Represents the minus sign token
SubtractionToken() - Constructor for class picasso.parser.tokens.operations.SubtractionToken
 

T

Tan - Class in picasso.parser.language.expressions
Represents the tangent function in the Picasso language, allowing evaluation of an expression's tangent component.
Tan(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Tan
Constructs a tangent expression with the given parameter expression.
TanAnalyzer - Class in picasso.parser
Handles parsing the tangent function.
TanAnalyzer() - Constructor for class picasso.parser.TanAnalyzer
 
TanToken - Class in picasso.parser.tokens.functions
 
TanToken() - Constructor for class picasso.parser.tokens.functions.TanToken
 
ThreadedCommand<T> - Class in picasso.util
Execute a long running command in a separate thread and display the results in a component while the command is running.
ThreadedCommand(JComponent, Command<T>) - Constructor for class picasso.util.ThreadedCommand
Create a command that runs the given command and updates the given view over time.
TILDE - Static variable in class picasso.parser.language.CharConstants
 
TIMES - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
toDouble(int) - Static method in class picasso.parser.language.expressions.RGBColor
Convert the Java color's component value (from [0,255]) to the [-1,1] range needed for Picasso
toInt(double) - Static method in class picasso.parser.language.expressions.RGBColor
Convert the Picasso color's component value (from [-1,1] to the Java color's component (from [0,255])
toJavaColor() - Method in class picasso.parser.language.expressions.RGBColor
Converts to Java's Color class
Token - Class in picasso.parser.tokens
Represents tokens in the Picasso programming language
Token(String) - Constructor for class picasso.parser.tokens.Token
Creates a token with the given description
TokenFactory - Class in picasso.parser.tokens
Looks at a generic token and creates the appropriate token type
TokenFactory() - Constructor for class picasso.parser.tokens.TokenFactory
 
Tokenizer - Class in picasso.parser
A tokenizer for the Picasso language.
Tokenizer() - Constructor for class picasso.parser.Tokenizer
 
toString() - Method in class picasso.parser.language.expressions.AbstractPerlin
 
toString() - Method in class picasso.parser.language.expressions.BinaryFunction
 
toString() - Method in class picasso.parser.language.expressions.Constant
Returns the constant as a string formatted as "Constant: "
toString() - Method in class picasso.parser.language.expressions.Function
Returns the string representation of the function in the format ": "
toString() - Method in class picasso.parser.language.expressions.RGBColor
Returns the RGBColor as a String in the form "Color: <red> <green> <blue>"
toString() - Method in class picasso.parser.language.expressions.UnaryFunction
Returns the string representation of the function in the format ": "
toString() - Method in class picasso.parser.language.expressions.UnaryOperator
 
toString() - Method in class picasso.parser.language.expressions.X
Returns "x", the representation of this variable in Picasso expressions
toString() - Method in class picasso.parser.language.expressions.Y
Returns "y", the representation of this variable in Picasso expressions
toString() - Method in class picasso.parser.tokens.chars.CharToken
 
toString() - Method in class picasso.parser.tokens.ColorToken
 
toString() - Method in class picasso.parser.tokens.IdentifierToken
 
toString() - Method in class picasso.parser.tokens.ImageStringToken
 
toString() - Method in class picasso.parser.tokens.NumberToken
 
toString() - Method in class picasso.parser.tokens.Token
Represents the token by its description

U

UNARY - Static variable in class picasso.parser.tokens.Token
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.AbsAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.AtanAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.CeilAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.ClampAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.CosAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.ExpAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.FloorAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.LogAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.SinAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.TanAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.UnaryFunctionAnalyzer
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.UnaryFunctionAnalyzerYCrCb
 
unaryFunction(ExpressionTreeNode) - Method in class picasso.parser.WrapAnalyzer
 
UnaryFunction - Class in picasso.parser.language.expressions
Represents a function that takes one argument.
UnaryFunction(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.UnaryFunction
 
UnaryFunctionAnalyzer - Class in picasso.parser
Abstract class that parses a function that takes one expression as a parameter.
UnaryFunctionAnalyzer() - Constructor for class picasso.parser.UnaryFunctionAnalyzer
 
UnaryFunctionAnalyzerYCrCb - Class in picasso.parser
Abstract class that parses a function that takes one expression as a parameter.
UnaryFunctionAnalyzerYCrCb() - Constructor for class picasso.parser.UnaryFunctionAnalyzerYCrCb
 
UnaryFunctionApplySameFunction - Class in picasso.parser.language.expressions
Represents a function that takes one argument.
UnaryFunctionApplySameFunction(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.UnaryFunctionApplySameFunction
 
unaryFunctionYCrCb(ExpressionTreeNode) - Method in class picasso.parser.RgbToYCrCbAnalyzer
 
unaryFunctionYCrCb(ExpressionTreeNode) - Method in class picasso.parser.UnaryFunctionAnalyzerYCrCb
 
unaryFunctionYCrCb(ExpressionTreeNode) - Method in class picasso.parser.YCrCbToRgbAnalyzer
 
UnaryOperator - Class in picasso.parser.language.expressions
Represents a function that takes two arguments.
UnaryOperator(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.UnaryOperator
Constructor that accepts two parameters
UnaryOperatorAnalyzer - Class in picasso.parser
Abstract class for parsing functions that take one expression as a parameter.
UnaryOperatorAnalyzer() - Constructor for class picasso.parser.UnaryOperatorAnalyzer
 
UNDER_SCORE - Static variable in class picasso.parser.language.CharConstants
 

V

validateParentheses(String) - Static method in class picasso.view.ErrorHandling
Validates parentheses in an expression.
validateRightHandSide(String) - Static method in class picasso.view.ErrorHandling
Validates the right-hand side of an expression to ensure it is syntactically valid.
value() - Method in class picasso.parser.tokens.chars.CharToken
 
value() - Method in class picasso.parser.tokens.NumberToken
 
valueOf(String) - Static method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
Returns the enum constant of this type with the specified name.
values() - Static method in enum picasso.parser.language.expressions.ReferenceForExpressionEvaluations
Returns an array containing the constants of this enum type, in the order they are declared.
Variable - Class in picasso.parser.language.expressions
Represents a variable
Variable(String) - Constructor for class picasso.parser.language.expressions.Variable
 

W

wrap(double) - Static method in class picasso.parser.language.expressions.ImageWrap
Function wraps the given value between the values of -1 and 1.
wrap(double) - Static method in class picasso.parser.language.expressions.Wrap
 
Wrap - Class in picasso.parser.language.expressions
Represents the wrap function in the Picasso language.
Wrap(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.Wrap
Create a wrap expression tree that takes as a parameter the given expression
WrapAnalyzer - Class in picasso.parser
Handles parsing the wrap function.
WrapAnalyzer() - Constructor for class picasso.parser.WrapAnalyzer
 
WrapToken - Class in picasso.parser.tokens.functions
Represents the wrap function token
WrapToken() - Constructor for class picasso.parser.tokens.functions.WrapToken
 
write(String) - Method in class picasso.model.Pixmap
Write the current image to a file as a jpg.
Writer - Class in picasso.view.commands
Save the chosen file.
Writer() - Constructor for class picasso.view.commands.Writer
 

X

X - Class in picasso.parser.language.expressions
Represents x in a Picasso expression
X - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
X() - Constructor for class picasso.parser.language.expressions.X
 

Y

Y - Class in picasso.parser.language.expressions
Represents y in a Picasso expression
Y - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
Y() - Constructor for class picasso.parser.language.expressions.Y
 
YCRC2RGBR - picasso.parser.language.expressions.ReferenceForExpressionEvaluations
 
YCrCbToRgb - Class in picasso.parser.language.expressions
Converts RGB To YCrCb in the Picasso language.
YCrCbToRgb(ExpressionTreeNode) - Constructor for class picasso.parser.language.expressions.YCrCbToRgb
Constructs a RGB To YCrCb expression with the given parameter expression.
YCrCbToRgbAnalyzer - Class in picasso.parser
Handles parsing the sine function.
YCrCbToRgbAnalyzer() - Constructor for class picasso.parser.YCrCbToRgbAnalyzer
 
YCrCbToRgbToken - Class in picasso.parser.tokens.functions
 
YCrCbToRgbToken() - Constructor for class picasso.parser.tokens.functions.YCrCbToRgbToken
 
A B C D E F G H I J L M N O P Q R S T U V W X Y 
All Classes All Packages