A B C D E F G H I L M N O P Q R S T U V W X Y Z _

A

A - Variable in class org.gwoptics.graphics.GWColour
 
abs() - Method in class org.gwoptics.mathutils.Complex
This function computes the absolute of a complex number as |z|=sqrt(x^2+y^2).
abs(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the absolute of a complex number as |c|=sqrt(x^2+y^2).
absSquared() - Method in class org.gwoptics.mathutils.Complex
This function returns the absolute square of a complex number as |z|^2=x^2+y^2.
absSquared(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the absolute square of a complex numbers as |c|^2=x^2+y^2.
add(GWColour, GWColour) - Static method in class org.gwoptics.graphics.GWColour
Adds 2 colours
add(Complex) - Method in class org.gwoptics.mathutils.Complex
This function add a complex number to a complex number as z=z+c.
add(Complex, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function adds two complex numbers as z=a+b.
addNode(ColourmapNode) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
This function adds an RGBNode to the colour map, which is then used to generate various gradients of colour.
addSurfaceTrace(IGraph3DCallback, int, int, IColourmap) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
Adds a surface trace to the graph.
addTrace(IGraph2DTrace) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Method to add an object that has implements the IGraphTrace interface.
ArgumentException - Exception in org.gwoptics
ArgumentException is an throwable object which represents a problem with one of the passed arguments to a function.
ArgumentException(String) - Constructor for exception org.gwoptics.ArgumentException
 
Axis2D - Class in org.gwoptics.graphics.graph2D
Axis2D is a straight forward object for drawing 2D axes.
Axis2D(PApplet, int) - Constructor for class org.gwoptics.graphics.graph2D.Axis2D
Axis2D constructor accepting the parent PApplet and the length of the axis in pixels
Axis2D.Alignment - Enum in org.gwoptics.graphics.graph2D
Encapsulates the 3 alignment constants already present in the PConstants interface.
Axis3D - Class in org.gwoptics.graphics.graph3D
Axis3D class produces 3D axes with many variable properties to suite any need.
Axis3D(PApplet) - Constructor for class org.gwoptics.graphics.graph3D.Axis3D
 
AxisColourmapEffect - Class in org.gwoptics.graphics.graph2D.effects
 
AxisColourmapEffect(IColourmap) - Constructor for class org.gwoptics.graphics.graph2D.effects.AxisColourmapEffect
 

B

B - Variable in class org.gwoptics.graphics.GWColour
 
binomial(int, int) - Static method in class org.gwoptics.mathutils.mathUtils
This function computes the binomial coefficient b(n,k).
Blank2DTrace - Class in org.gwoptics.graphics.graph2D.traces
 
Blank2DTrace() - Constructor for class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 

C

calculateSpacing() - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
This function must be called when an axis changes its range as the graph to world space constants will change.
Camera3D - Class in org.gwoptics.graphics.camera
Camera3D is a camera class designed to be integrated into a processing sketch with minimal effort.
Camera3D(PApplet) - Constructor for class org.gwoptics.graphics.camera.Camera3D
Sets default values of camera position to <100,100,100> and look at position to <0,0,0>.
Camera3D(PApplet, boolean) - Constructor for class org.gwoptics.graphics.camera.Camera3D
Sets default camera properties as normal constructor but allows you to disable mouse events for a static camera.
clearBackground(int, GWColour) - Method in class org.gwoptics.Logo
 
colour - Variable in class org.gwoptics.graphics.colourmap.ColourmapNode
 
colourmapEquation(float) - Method in interface org.gwoptics.graphics.colourmap.IColourmapEquation
 
ColourmapNode - Class in org.gwoptics.graphics.colourmap
ColourmapNode is a class that encapsulates the colour and location of a point, on a colourmap.
ColourmapNode() - Constructor for class org.gwoptics.graphics.colourmap.ColourmapNode
 
ColourmapNode(float, float, float, float) - Constructor for class org.gwoptics.graphics.colourmap.ColourmapNode
Custom constructor that allows user specified RGB and location values.
ColourmapNode(float, float, float, float, float) - Constructor for class org.gwoptics.graphics.colourmap.ColourmapNode
 
compareTo(ColourmapNode) - Method in class org.gwoptics.graphics.colourmap.ColourmapNode
 
Complex - Class in org.gwoptics.mathutils
Complex is a class that provides complex numbers and a number of mathematical functions (dynamic and static) such as sqrt() and exp() for complex numbers.
Complex(double, double) - Constructor for class org.gwoptics.mathutils.Complex
Additional constructor that return the user defined complex number
Complex(double) - Constructor for class org.gwoptics.mathutils.Complex
Additional constructor that returns a purely real complex number
computePoint(double, int) - Method in interface org.gwoptics.graphics.graph2D.traces.ILine2DEquation
This method is called for each pixel along the width of a Graph2D object.
computePoint(float, float) - Method in interface org.gwoptics.graphics.graph3D.IGraph3DCallback
This function returns the result of an equation for a surface using 2 variable X and Y.
conj() - Method in class org.gwoptics.mathutils.Complex
This function computes the complex conjugate of a complex number.
conj(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the complex conjugate of a complex number
convertARGBToInt(byte, byte, byte, byte) - Static method in class org.gwoptics.graphics.GWColour
A static function used to convert 0 to 255 values or ARGB into an integer.
convertColourToInt(GWColour) - Static method in class org.gwoptics.graphics.GWColour
Static function to convert a Colour object into an integer.
convertIntToColour(int) - Static method in class org.gwoptics.graphics.GWColour
Static function to convert an integer into a Colour object.
convertRGBToInt(byte, byte, byte) - Static method in class org.gwoptics.graphics.GWColour
A static function used to convert 0 to 255 values of RGB into an integer.
convertWorldToScreen(PMatrix3D, PMatrix3D, PVector, float, float) - Static method in class org.gwoptics.graphicsutils.graphicsUtils
This function takes a 3D point and determines which pixels on the screen it maps too.
CoolColourmap - Class in org.gwoptics.graphics.colourmap.presets
CoolColourmap extends RGBColourmap and is a gradient of cyan at 0.0 to magneta at 1.0.
CoolColourmap(boolean) - Constructor for class org.gwoptics.graphics.colourmap.presets.CoolColourmap
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true.
cos(float) - Static method in class org.gwoptics.mathutils.TrigLookup
Computes a fast cosine of an angle

D

dispose() - Method in class org.gwoptics.graphics.camera.Camera3D
 
divide(Complex) - Method in class org.gwoptics.mathutils.Complex
This function divides the complex number by a complex number.
divide(Complex, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the division of two complex numbers
draw() - Method in class org.gwoptics.graphics.camera.Camera3D
 
draw() - Method in class org.gwoptics.graphics.graph2D.Axis2D
 
draw() - Method in class org.gwoptics.graphics.graph2D.backgrounds.GridBackground
 
draw() - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
 
draw() - Method in class org.gwoptics.graphics.graph2D.Graph2D
Draw method that calls various internal methods to generate each part of the graph.
draw() - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
draw() - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Uses the data that generate produced beforehand to plot the final trace line.
draw() - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
draw() - Method in class org.gwoptics.graphics.graph3D.Axis3D
This function starts rendering the axis to the properties that have been specified.
draw() - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
 
draw() - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
Draws each segment of the graph, all the traces and axes.
draw() - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
Draws the surface trace
draw() - Method in interface org.gwoptics.graphics.IRenderable
 
draw() - Method in class org.gwoptics.graphics.Renderable
 
draw() - Method in class org.gwoptics.Logo
 

E

EquationColourmap - Class in org.gwoptics.graphics.colourmap
EquationColourmap implements the IColourmap interface to generate a colourmap from an equation, rather than nodes as in the alternative RGBColourmap.
EquationColourmap(IColourmapEquation) - Constructor for class org.gwoptics.graphics.colourmap.EquationColourmap
Requires an equation object to be passed to it, which is not nullable
EquationColourmap(int, IColourmapEquation) - Constructor for class org.gwoptics.graphics.colourmap.EquationColourmap
Additional constructor that allows a custom resolution of lookup table.
exp(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the exponential of a complex number exp(z).
expi(Double) - Static method in class org.gwoptics.mathutils.Complex
This function computes the number exp( i phi )

F

factorial(long) - Static method in class org.gwoptics.mathutils.mathUtils
This function computes the factorial of an long integer
fillColour - Variable in class org.gwoptics.graphics.graph3D.SquareGridMesh
If no colourmap is provided this is the fill colour for the grid.
FlipColourmap - Class in org.gwoptics.graphics.colourmap.presets
FlipColourmap extends RGBColourmap and is a custom made map with black in the center and bright for smaller and a larger values.
FlipColourmap(boolean) - Constructor for class org.gwoptics.graphics.colourmap.presets.FlipColourmap
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true.

G

G - Variable in class org.gwoptics.graphics.GWColour
 
GaussMode - Class in org.gwoptics.gaussbeams
Gaussmode is a class that provides the mathematical framework for Gaussian beams.
GaussMode() - Constructor for class org.gwoptics.gaussbeams.GaussMode
Default constructor which sets dummy parameters for the Gaussian beam: lambda = 1064nm, wavelength of a Nd:YAG laser nr = 1, index of refraction of vacuum (or air) beam waist of w0=1mm at z0=0
GaussMode(float, Complex, float) - Constructor for class org.gwoptics.gaussbeams.GaussMode
Standard constructor that sets user defined beam parameters.
GaussMode(float, Complex, Complex, float) - Constructor for class org.gwoptics.gaussbeams.GaussMode
Additional constructor that sets user defined beam parameters, now optionally different for x- and y-direction.
GaussMode(float, float, float, float) - Constructor for class org.gwoptics.gaussbeams.GaussMode
Additional constructor that sets the beam parameters via beam waist radius and beam waist position.
GaussMode(float, float, float, float, float, float) - Constructor for class org.gwoptics.gaussbeams.GaussMode
Additional constructor that sets the beam parameters via beam waist radius and beam waist position, now allowing different parameters in x- and y-direction.
generate() - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
generate() - Method in interface org.gwoptics.graphics.graph2D.traces.IGraph2DTrace
This is called everytime the equation callback object is changed.
generate() - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Uses the ILineEquation object provided to fill the internal arrays.
generate() - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
generate() - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
generateColourmap() - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
Use the supplied equation to generate colour values for each index in the colourmap.
generateColourmap() - Method in interface org.gwoptics.graphics.colourmap.IColourmap
This function needs to be called whenever a node is changed, added, or removed to update the colourmap.
generateColourmap() - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
Generates the lookup table values using supplied nodes.
generateSurface() - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
This function calls the callback object set during the constructor, and applies the equation is represents to each of the points, relating graph space to world space for correctly position traces.
generateTrace(int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Calls the traces generate method to refresh data.
get_Gouyx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Gouy phase Psi(z) in x-direction (tangential plane)
get_Gouyy() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Gouy phase Psi(z) in y-direction (sagittal plane)
get_lambda() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the vacuum wavelength of the laser.
get_nr() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the local index of refraction
get_q0x() - Method in class org.gwoptics.gaussbeams.GaussMode
This function Gaussian beam parametera at the waist q0 in x-direction (tangential plane)
get_q0y() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Gaussian beam parameter at the waist q0 in y-direction (sagittal plane)
get_qx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Gaussian beam parameter q in x-direction (tangential plane)
get_qy() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Gaussian beam parameter q in y-direction (sagittal plane)
get_ROCx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the phase front radius of curvature in x-direction (tangential plane)
get_ROCy() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the phase front radius of curvature in y-direction (sagittal plane)
get_w0x() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the beam waist radius in x-direction (tangential plane)
get_w0y() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the beam waist radius in y-direction (sagittal plane)
get_wx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the beam radius in x-direction (tangential plane)
get_wy() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the beam radius in y-direction (sagittal plane)
get_zrx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Rayleigh range z_r in x-direction (tangential plane)
get_zry() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the Rayleigh range z_r in y-direction (sagittal plane)
get_zx() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the distance to the beam waist in x-direction (tangential plane)
get_zy() - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the distance to the beam waist in y-direction (sagittal plane)
getAlphaRGB(GWColour) - Static method in class org.gwoptics.graphics.GWColour
Returns int version of a Colour but applies, alpha to each channel
getColourAtLocation(float) - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
Returns a Colour object that relates to a normalised location on the colourmap
getColourAtLocation(float) - Method in interface org.gwoptics.graphics.colourmap.IColourmap
Gets a Colour object from the colourmap.
getColourAtLocation(float) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
Returns a Colour object that relates to a normalised location on the colourmap
getColourmap(Presets) - Static method in class org.gwoptics.graphics.colourmap.presets.PresetColourmaps
This function excepts a type of IColourmap to return, this is done via the Presets enumerator.
getEyeVector() - Static method in class org.gwoptics.graphics.camera.Camera3D
Gets a normalised vector stating the direction the camera is facing.
getFarLimit() - Method in class org.gwoptics.graphics.camera.Camera3D
Gets the furthest distance the camera can get to its lookat point
getGraphBackground() - Method in class org.gwoptics.graphics.graph2D.Graph2D
 
getGraphBackground() - Method in interface org.gwoptics.graphics.graph2D.IGraph2D
Gets a reference to the current Background renderer
getIntAtLocation(float) - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
Returns an integer that relates to a normalised location on the colourmap.
getIntAtLocation(float) - Method in interface org.gwoptics.graphics.colourmap.IColourmap
Gets an integer form of a Colour from the colourmap
getIntAtLocation(float) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
Returns an integer that relates to a normalised location on the colourmap.
getLength() - Method in class org.gwoptics.graphics.graph2D.Axis2D
returns the length of the axis in world space.
getLength() - Method in class org.gwoptics.graphics.graph3D.Axis3D
returns the length of the axis in world space.
getLength() - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
 
getLookat() - Static method in class org.gwoptics.graphics.camera.Camera3D
Gets the point the camera is looking at
getLowestPoint() - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
getMajorTickPositions() - Method in class org.gwoptics.graphics.graph2D.Axis2D
 
getMajorTickSpacing() - Method in class org.gwoptics.graphics.graph2D.Axis2D
Gets the number of major ticks on the axis
getMaximumPoint() - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
getMaxValue() - Method in class org.gwoptics.graphics.graph2D.Axis2D
returns the maximum value of the axis range
getMaxValue() - Method in class org.gwoptics.graphics.graph3D.Axis3D
returns the maximum value of the axis range
getMinorTickPositions() - Method in class org.gwoptics.graphics.graph2D.Axis2D
 
getMinValue() - Method in class org.gwoptics.graphics.graph2D.Axis2D
returns the minimum value of the axis range
getMinValue() - Method in class org.gwoptics.graphics.graph3D.Axis3D
returns the minimum value of the axis range
getNearLimit() - Method in class org.gwoptics.graphics.camera.Camera3D
Gets the nearest distance the camera can get to its lookat point
getNode(int) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
getNodeCount() - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
getPixelColour(int, int, float, float) - Method in interface org.gwoptics.graphics.graph2D.effects.ITraceColourEffect
The trace this effect relates to should call this function for each segment of the trace.
getPixelColour(int, int, float, float) - Method in class org.gwoptics.graphics.graph2D.effects.XAxisColourmapEffect
 
getPixelColour(int, int, float, float) - Method in class org.gwoptics.graphics.graph2D.effects.YAxisColourmapEffect
 
getPosition() - Static method in class org.gwoptics.graphics.camera.Camera3D
Gets the position of the camera
getRefreshRate() - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
getRefreshRate() - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
getRelativePosition() - Static method in class org.gwoptics.graphics.camera.Camera3D
Gets the position of the camera relative to the position the camera is looking at.
getRightVector() - Static method in class org.gwoptics.graphics.camera.Camera3D
Returns the up cross with eye vector, to get a vector pointing to the right of the camera
getSize() - Method in enum org.gwoptics.LogoSize
 
getTraceCount() - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
getUpVector() - Static method in class org.gwoptics.graphics.camera.Camera3D
Gets a vector perpendicular to the eye vector pointing in the up direction.
getValue() - Method in enum org.gwoptics.graphics.graph2D.Axis2D.Alignment
Gets the int value the constant represents
getVersion() - Method in class org.gwoptics.Version
 
getWidth() - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
 
getXAxis() - Method in class org.gwoptics.graphics.graph2D.Graph2D
 
getXAxis() - Method in interface org.gwoptics.graphics.graph2D.IGraph2D
 
getYAxis() - Method in class org.gwoptics.graphics.graph2D.Graph2D
 
getYAxis() - Method in interface org.gwoptics.graphics.graph2D.IGraph2D
 
getZAxisMax() - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
getZValue(int, int) - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
Returns height of point at index X and Y.
getZValue(int, int) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
Gouy(Complex) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the Gouy for a given beam parameters.
Graph2D - Class in org.gwoptics.graphics.graph2D
Graph2D is a collection of Axis2D objects and IGraphTrace's.
Graph2D(PApplet, int, int, boolean) - Constructor for class org.gwoptics.graphics.graph2D.Graph2D
Graph constructor that requires you to define the dimensions of the graph, whether the axes should cross at the 0 and the parent PApplet object which is rendering the graph.
graphicsUtils - Class in org.gwoptics.graphicsutils
Contains an assortment of functions that can help with some trickier graphical problems.
graphicsUtils() - Constructor for class org.gwoptics.graphicsutils.graphicsUtils
 
GrayScaleColourmap - Class in org.gwoptics.graphics.colourmap.presets
GrayScaleColourmap extends RGBColourmap and is a gradient of black at 0.0 to white at 1.0.
GrayScaleColourmap(boolean) - Constructor for class org.gwoptics.graphics.colourmap.presets.GrayScaleColourmap
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true.
GridBackground - Class in org.gwoptics.graphics.graph2D.backgrounds
 
GridBackground(GWColour, GWColour) - Constructor for class org.gwoptics.graphics.graph2D.backgrounds.GridBackground
 
GWColour - Class in org.gwoptics.graphics
Simple class that encapsulates the 4 colour components alpha, red, green and blue.
GWColour() - Constructor for class org.gwoptics.graphics.GWColour
Default GWColour constructor assign a black colour with full opactiy
GWColour(int) - Constructor for class org.gwoptics.graphics.GWColour
GWColour constructor accepting an integer representing the A, R, G and B components of a colour
GWColour(float, float, float) - Constructor for class org.gwoptics.graphics.GWColour
GWColour constructor allowing user defined RGB values.
GWColour(float, float, float, float) - Constructor for class org.gwoptics.graphics.GWColour
Colour constructor allowing user defined RGB values.
GWColour(int, int, int) - Constructor for class org.gwoptics.graphics.GWColour
Colour constructor allowing user defined RGB values.
GWColour(int, int, int, int) - Constructor for class org.gwoptics.graphics.GWColour
 

H

hermite(int, double) - Static method in class org.gwoptics.mathutils.mathUtils
This function computes the Hermite polynomial H_n(x).
HotColourmap - Class in org.gwoptics.graphics.colourmap.presets
HotColourmap extends RGBColourmap and is a gradient of black at 0.0, red at 0.5 and white at 1.0.
HotColourmap(boolean) - Constructor for class org.gwoptics.graphics.colourmap.presets.HotColourmap
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true.

I

IColourmap - Interface in org.gwoptics.graphics.colourmap
IColourmap interface provides several functions that are required for a colourmap to be used by an object.
IColourmapEquation - Interface in org.gwoptics.graphics.colourmap
Simple interface which acts as a callback object for EquationColourmap to generate a colourmap from a specific equation.
IGraph2D - Interface in org.gwoptics.graphics.graph2D
This interface is used to pass to an IGraph2DTrace object.
IGraph2DBackground - Interface in org.gwoptics.graphics.graph2D.backgrounds
 
IGraph2DTrace - Interface in org.gwoptics.graphics.graph2D.traces
This interface provides the functionality that is required of a trace object, to be used by the Graph2D control.
IGraph3DCallback - Interface in org.gwoptics.graphics.graph3D
IGraph3DCallback specifies a function computePoint() that represents the equation of a surface on a graph.
ILine2DEquation - Interface in org.gwoptics.graphics.graph2D.traces
This interface should be implemented by objects that are to be represented by a trace on a Graph2D object.
imag() - Method in class org.gwoptics.mathutils.Complex
This function returns the imaginary part of the complex number.
imag(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function returns the imaginary part of a complex number.
inv() - Method in class org.gwoptics.mathutils.Complex
This function computes the inverse of the complex number
inv(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function returns the inverse of a complex number
IRenderable - Interface in org.gwoptics.graphics
Basic interface that defines commonly used functions for any rendered object.
isCentreAtZero() - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
 
isCentreAtZero() - Method in interface org.gwoptics.graphics.colourmap.IColourmap
Should return true if 0 value for what the colourmap is displaying is represented by the colour at the point 0.5
isCentreAtZero() - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
isColoured - Variable in class org.gwoptics.graphics.graph3D.SquareGridMesh
Specifies whether to use a colourmap to colour each vertex
isEqual(Complex) - Method in class org.gwoptics.mathutils.Complex
This functions tests whether the Complex number is equal to another.
isEqual(Complex, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function tests whether two Complex numbers are equal.
isFilled - Variable in class org.gwoptics.graphics.graph3D.SquareGridMesh
States whether to fill the grid using fillColour.
isGenerated() - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
 
isGenerated() - Method in interface org.gwoptics.graphics.colourmap.IColourmap
Should return whether colourmap has been generated or not
isGenerated() - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
isNaN() - Method in class org.gwoptics.mathutils.Complex
This funtions tests whether the complex number is `not a number' NaN.
isNaN(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function tests whether a complex number is `not a number' NaN.
isStroked - Variable in class org.gwoptics.graphics.graph3D.SquareGridMesh
States whether to stroke the grid using strokeColour.
ITraceColourEffect - Interface in org.gwoptics.graphics.graph2D.effects
This interface is consumed and implemented by the IGraphTrace object.

L

LabelPos - Enum in org.gwoptics.graphics.graph2D
This enum is used by the Axis2D object to decide whether the axis laebls should be plotted at the beginning, middle, end of the axis, or outside the plotting area.
laguerre(int, int, double) - Static method in class org.gwoptics.mathutils.mathUtils
Function to compute the associated Laguerre Polynomial L_p^l(x).
Line2DTrace - Class in org.gwoptics.graphics.graph2D.traces
The Line2DTrace is the default implementation of the IGraphTrace interface.
Line2DTrace(ILine2DEquation) - Constructor for class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Default constructor accepting a callback object implementing the ILineEquation interface.
location - Variable in class org.gwoptics.graphics.colourmap.ColourmapNode
 
log(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the logarithm of a complex number
logFactorial(int) - Static method in class org.gwoptics.mathutils.mathUtils
This function returns the logarithmic factorial log(n!).
Logo - Class in org.gwoptics
Renders a clickabled image of the gwOptics logo.
Logo(PApplet, float, float, boolean) - Constructor for class org.gwoptics.Logo
 
Logo(PApplet, float, float, boolean, LogoSize) - Constructor for class org.gwoptics.Logo
 
LogoSize - Enum in org.gwoptics
Used in conjunction with the Logo object, this defines the various sizes that the gwOptics logo can come in.

M

make_q(double, double, double, double) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes a Gaussian beam parameters from user defined parameters for the beam waist (and wavelength, and index of refraction).
MapNeedsGeneratingException - Exception in org.gwoptics.graphics.colourmap
This exception is thrown by a colourmap when the user attempts to read a value from the map without generating it beforehand.
MapNeedsGeneratingException() - Constructor for exception org.gwoptics.graphics.colourmap.MapNeedsGeneratingException
 
mathUtils - Class in org.gwoptics.mathutils
Mathutils is a class that provides a set of utility functions for mathematical operations.
mathUtils() - Constructor for class org.gwoptics.mathutils.mathUtils
 
modulus() - Method in class org.gwoptics.mathutils.Complex
This function computes the modulus of the complex number
modulus(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function returns the modulus of a complex number
mouseEvent(MouseEvent) - Method in class org.gwoptics.graphics.camera.Camera3D
 
mouseEvent(MouseEvent) - Method in class org.gwoptics.Logo
 
multiply(GWColour, GWColour) - Static method in class org.gwoptics.graphics.GWColour
Multiplies 2 colours
multiply(Complex) - Method in class org.gwoptics.mathutils.Complex
This function multiplies the complex number by a complex number.
multiply(Complex, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function multiplies two complex numbers a*b.

N

name - Variable in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
newAbsPhi(double, double) - Static method in class org.gwoptics.mathutils.Complex
This function returns a new complex number set via amplitude and phase as amp*exp(i phi).

O

onAddTrace(Object[]) - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
onAddTrace(Object[]) - Method in interface org.gwoptics.graphics.graph2D.traces.IGraph2DTrace
Before the trace is added to the graph control this method is called.
onAddTrace(Object[]) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
onAddTrace(Object[]) - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
Here we override the onAddTrace method to see if any Rolling2DTraces have been previously added.
onAddTrace(Object[]) - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
Here we override the onAddTrace method to see if any Rolling2DTraces have been previously added.
onRemoveTrace() - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
onRemoveTrace() - Method in interface org.gwoptics.graphics.graph2D.traces.IGraph2DTrace
Before the trace is officially removed from the trace list of a Graph2D object, the onRemove method is called.
onRemoveTrace() - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
onRemoveTrace() - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
onRemoveTrace() - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
org.gwoptics - package org.gwoptics
 
org.gwoptics.gaussbeams - package org.gwoptics.gaussbeams
 
org.gwoptics.graphics - package org.gwoptics.graphics
 
org.gwoptics.graphics.camera - package org.gwoptics.graphics.camera
 
org.gwoptics.graphics.colourmap - package org.gwoptics.graphics.colourmap
 
org.gwoptics.graphics.colourmap.presets - package org.gwoptics.graphics.colourmap.presets
 
org.gwoptics.graphics.graph2D - package org.gwoptics.graphics.graph2D
 
org.gwoptics.graphics.graph2D.backgrounds - package org.gwoptics.graphics.graph2D.backgrounds
 
org.gwoptics.graphics.graph2D.effects - package org.gwoptics.graphics.graph2D.effects
 
org.gwoptics.graphics.graph2D.traces - package org.gwoptics.graphics.graph2D.traces
 
org.gwoptics.graphics.graph3D - package org.gwoptics.graphics.graph3D
 
org.gwoptics.graphicsutils - package org.gwoptics.graphicsutils
 
org.gwoptics.mathutils - package org.gwoptics.mathutils
 

P

plotSurfaceTrace(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
This function starts the surface calling the callback object to generate the surface
position - Variable in class org.gwoptics.graphics.Renderable
 
positionToValue(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
For a given number of pixels along the axis, the value it represents is returned
pow(Complex, int, int) - Static method in class org.gwoptics.mathutils.Complex
This function computes a rational power of a complex number z^(nom/denom).
pre() - Method in class org.gwoptics.graphics.graph2D.Axis2D
 
pre() - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
pre() - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
PresetColourmaps - Class in org.gwoptics.graphics.colourmap.presets
This class defines only one static member to retrieve various presets.
PresetColourmaps() - Constructor for class org.gwoptics.graphics.colourmap.presets.PresetColourmaps
 
Presets - Enum in org.gwoptics.graphics.colourmap.presets
 

Q

q0(Complex) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the beam parameter at the waist for a given beam parameters.

R

R - Variable in class org.gwoptics.graphics.GWColour
 
real() - Method in class org.gwoptics.mathutils.Complex
This function returns the real part of the complex number.
real(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function returns the real part of a complex number.
removeEffect() - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
removeNode(int) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
removeSurfaceTrace(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
Removes trace from the graph.
removeTrace(IGraph2DTrace) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Removes a trace from the graph depending on its index.
Renderable - Class in org.gwoptics.graphics
An abstract class that can be inherited to provide some common functionality that all rendered objects have.
Renderable(PApplet) - Constructor for class org.gwoptics.graphics.Renderable
 
RGBColourmap - Class in org.gwoptics.graphics.colourmap
RGBColourmap is an object that allows various colourmaps to be generated from RGB nodes.
RGBColourmap() - Constructor for class org.gwoptics.graphics.colourmap.RGBColourmap
Standard constructor that sets a default resolution of 100 steps in the lookup table.
RGBColourmap(int) - Constructor for class org.gwoptics.graphics.colourmap.RGBColourmap
Additional constructor that allows a custom resolution of lookup table.
ROC(Complex) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the phase front curvature for a given beam parameters.
RollingLine2DTrace - Class in org.gwoptics.graphics.graph2D.traces
 
RollingLine2DTrace(ILine2DEquation, long, float) - Constructor for class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
Creates a new RollingLine2DTrace to be added to a Graph2D instance.
rotateArbitaryAxis(PVector, PVector, float) - Static method in class org.gwoptics.mathutils.VectorUtils
Rotates a given vector about an arbitrary axis.

S

scale(Double) - Method in class org.gwoptics.mathutils.Complex
This function multiplies the complex number by a real number
scale(Double, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function multiplies a complex number by a real number
scaleAndDelay(double, double) - Method in class org.gwoptics.mathutils.Complex
This function multiplies the complex number by a real number and adds a phase delay as z=z*x*exp(i phi).
scaleAndDelay(double, double, Complex) - Static method in class org.gwoptics.mathutils.Complex
This function multiplies a complex number by another given by amplitude and phase as return = z * abs * exp (i phi).
set(double, double) - Method in class org.gwoptics.mathutils.Complex
This functions sets the real and imaginary part of the complex number.
setAbsPhi(double, double) - Method in class org.gwoptics.mathutils.Complex
This function sets the complex number via an amplitude and phase as amp*exp(i phi).
setAutoRangeZAxis(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setAutoRanging(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
Use this to set a surface to automatically set the min and max values of the Z-axis to match the computed values, resulting in no clipping of surface points.
setAxes(Axis2D, Axis2D) - Method in interface org.gwoptics.graphics.graph2D.backgrounds.IGraph2DBackground
 
setAxes(Axis2D, Axis2D) - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
 
setAxesDirection(PVector) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the direction in which the axis is drawn
setAxesDirection(PVector) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setAxisColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the axis line colour from RGB values
setAxisColour(GWColour) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the axis line colour from a Colour object
setAxisColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the X and Y axes, through RGB values
setAxisColour(GWColour) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the X and Y axes, through a Colour object
setAxisColour(int, int, int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setAxisColour(GWColour) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setAxisColour(int, int, int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setAxisColour(GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setAxisLabel(String) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the label of the axis
setAxisLabel(String) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setAxisLabelPos(LabelPos) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the position of the axis label along the axis
setBackground(IGraph2DBackground) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets an IGraph2DBackground to use to fill the graph background
setBackgroundColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
Sets the background colour of the graph
setBillboarding(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setBorderColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the border surrounding the graph object
setCallback(IGraph3DCallback) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setCentreAtZero(boolean) - Method in class org.gwoptics.graphics.colourmap.EquationColourmap
 
setCentreAtZero(boolean) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
setDimensions(int, int) - Method in interface org.gwoptics.graphics.graph2D.backgrounds.IGraph2DBackground
 
setDimensions(int, int) - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
 
setDraw(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setDrawAxisLabel(boolean) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets whether or not to draw the axis label
setDrawAxisLabel(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setDrawAxisLabel(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setDrawLine(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setDrawLines(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setDrawTickLabels(boolean) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets whether or not to draw the tick major tick labels
setDrawTickLabels(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setDrawTickLabels(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setDrawTicks(boolean) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets whether or not to draw the tick marks on the axis
setDrawTicks(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setDrawTicks(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setEquationCallback(ILine2DEquation) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Sets the callback object implementing the ILineEquation interface.
setFarLimit(float) - Method in class org.gwoptics.graphics.camera.Camera3D
Set the farthest zoom possible to the look at position.
setFontColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the labels font colour from RGB values
setFontColour(GWColour) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the labels font colour from a Colour object
setFontColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the X and Y axes fonts, through RGB values
setFontColour(GWColour) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the X and Y fonts, through a Colour object
setFontColour(int, int, int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setFontColour(GWColour) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setFontColour(int, int, int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setFontColour(GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setGraph(IGraph2D) - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
setGraph(IGraph2D) - Method in interface org.gwoptics.graphics.graph2D.traces.IGraph2DTrace
Sets an internal variable to store a reference to the graph object the trace is being plotted on
setGraph(IGraph2D) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
setGraph(IGraph2D) - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
setGridColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.backgrounds.GridBackground
Sets the colour of the major grid lines
setImag(double) - Method in class org.gwoptics.mathutils.Complex
This function sets the imaginary part of the complex number.
setIsSurfacedStroked(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setIsSurfaceFilled(boolean) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setLabelDirection(PVector) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the direction as a PVector, of which way the ticks and labels should be from the main axis line.
setLabelDirection(PVector) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLabelOffset(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets an offset that is to be applied to the axis label.
setLabelOffset(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLabelRotation(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the rotation to be applied to the main axis label
setLabelXRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLabelYRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLabelZRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLength(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setLineWidth(int) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
setLookat(PVector) - Method in class org.gwoptics.graphics.camera.Camera3D
Set target location for cameras view.
setMajorTickLength(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the length of the major ticks, using a negative length extends ticks into the graph rather than to the labels
setMajorTickLength(int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
Sets the length of the major ticks, using a negative length extends ticks into the graph rather than to the labels
setMajorTicks(int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setMaxValue(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the maximum value to show on the axis
setMaxValue(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setMinorTickLength(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the length of the minor ticks, using a negative length extends ticks into the graph rather than to the labels
setMinorTickLength(int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
Sets the length of the minor ticks, using a negative length extends ticks into the graph rather than to the labels
setMinorTicks(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the number of minor ticks to show
setMinorTicks(int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setMinValue(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the minimum value to show on the axis
setMinValue(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setNearLimit(float) - Method in class org.gwoptics.graphics.camera.Camera3D
Set the closet zoom possible to the look at position.
setNoBackground() - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
Removes any background
setNoBackground() - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the colour of the border surrounding the graph object
setNoBorder() - Method in class org.gwoptics.graphics.graph2D.Graph2D
Removes border
setNode(int, ColourmapNode) - Method in class org.gwoptics.graphics.colourmap.RGBColourmap
 
setNoGrid() - Method in class org.gwoptics.graphics.graph2D.backgrounds.GridBackground
Removes major grid lines
setOffsetLabelByTickLength(boolean) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets whether to offset the label by the longest tick label that has been rendered.
setOrthographicView() - Method in class org.gwoptics.graphics.camera.Camera3D
This methods alters the projection matrix to display scene in an orthographic view.
setParent(PApplet) - Method in class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
 
setParent(PApplet) - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
setParent(PApplet) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Sets the parent PApplet object
setParent(PApplet) - Method in class org.gwoptics.graphics.graph2D.traces.RollingLine2DTrace
 
setParent(PApplet) - Method in class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 
setParent(PApplet) - Method in interface org.gwoptics.graphics.IRenderable
 
setParent(PApplet) - Method in class org.gwoptics.graphics.Renderable
 
setPerspectiveView() - Method in class org.gwoptics.graphics.camera.Camera3D
This methods alters the projection matrix to display scene in an Perspective view.
setPosition(PVector) - Method in class org.gwoptics.graphics.camera.Camera3D
Set world space position of the camera.
setPosition(int, int) - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
setPosition(int, int) - Method in interface org.gwoptics.graphics.graph2D.traces.IGraph2DTrace
alters the initial position of the trace on the graph
setPosition(int, int) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
Sets the position of the trace
setReal(double) - Method in class org.gwoptics.mathutils.Complex
This functions sets the real part of the complex number
setSurfaceFill(GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setSurfaceStroke(GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceTrace3D
 
setTickLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the number of decimal places to display in each tick label.
setTickLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickLabelAlignment(Axis2D.Alignment) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the alignment of the major tick labels, from the Alignment enum
setTickLabelBillboarding(boolean) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickLabelOffset(int) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets an offset that is to be applied to the major tick labels.
setTickLabelRotation(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the rotation to be applied to each tick label
setTickLabelType(ValueType) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the type of number to display on the graph
setTickLabelType(ValueType) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickLabelXRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickLabelYRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickLabelZRotation(float) - Method in class org.gwoptics.graphics.graph3D.Axis3D
 
setTickSpacing(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
Sets the spacing between each tick in graph space
setTraceColour(int, int, int) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
setTraceEffect(ITraceColourEffect) - Method in class org.gwoptics.graphics.graph2D.traces.Line2DTrace
 
setTraceFill(int, GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
Fills the trace with a solid colour if no colourmap is specified
setTraceStroke(int, GWColour) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
sets the colour of the wireframe of a trace if no colourmap is specified
setUpVector(PVector) - Method in class org.gwoptics.graphics.camera.Camera3D
Set the camera upwards vector
setVertexColour(int, int, GWColour) - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
Sets the colour of a given point at indexes X and Y.
setXAxisLabel(String) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the label that describes the data shown on the X-Axis
setXAxisLabel(String) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the decimal places to show on the X-Axis tick labels
setXAxisLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisLabelPos(LabelPos) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the label position for the X-Axis
setXAxisLabelType(ValueType) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisMajorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisMax(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the maximum value to be shown on the X-Axis
setXAxisMax(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisMin(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the minimum value to be shown on the X-Axis
setXAxisMin(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisMinorTicks(int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets number of minor ticks to show on the X-Axis
setXAxisMinorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setXAxisTickSpacing(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
 
setXAxisValues(int, float, float) - Method in class org.gwoptics.graphics.graph2D.effects.AxisColourmapEffect
 
setXAxisValues(int, float, float) - Method in interface org.gwoptics.graphics.graph2D.effects.ITraceColourEffect
Accepts values relating to the axes the trace is being plotted on.
setYAxisLabel(String) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the label that describes the data shown on the Y-Axis
setYAxisLabel(String) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the decimal places to show on the Y-Axis tick labels
setYAxisLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisLabelPos(LabelPos) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the label position for the Y-Axis
setYAxisLabelType(ValueType) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisMajorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisMax(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the maximum value to be shown on the Y-Axis
setYAxisMax(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisMin(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets the minimum value to be shown on the Y-Axis
setYAxisMin(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisMinorTicks(int) - Method in class org.gwoptics.graphics.graph2D.Graph2D
Sets number of minor ticks to show on the Y-Axis
setYAxisMinorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setYAxisTickSpacing(float) - Method in class org.gwoptics.graphics.graph2D.Graph2D
 
setYAxisValues(int, float, float) - Method in class org.gwoptics.graphics.graph2D.effects.AxisColourmapEffect
 
setYAxisValues(int, float, float) - Method in interface org.gwoptics.graphics.graph2D.effects.ITraceColourEffect
Accepts values relating to the axes the trace is being plotted on.
setZAxisLabel(String) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisLabelAccuracy(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisLabelType(ValueType) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisMajorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisMax(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisMin(float) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZAxisMinorTicks(int) - Method in class org.gwoptics.graphics.graph3D.SurfaceGraph3D
 
setZValue(int, int, float) - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
This function sets the Z value of a given point at X and Y.
sin(float) - Static method in class org.gwoptics.mathutils.TrigLookup
Computes a fast sin of an angle
sizeX() - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
Returns number of squares along X side.
sizeY() - Method in class org.gwoptics.graphics.graph3D.SquareGridMesh
Returns number of squares along Z side.
SolidColourBackground - Class in org.gwoptics.graphics.graph2D.backgrounds
 
SolidColourBackground(GWColour) - Constructor for class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
 
sqrt() - Method in class org.gwoptics.mathutils.Complex
This function computes the square root of the complex number
sqrt(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function returns the sqaure root of a complex number.
squared() - Method in class org.gwoptics.mathutils.Complex
This function computes the square of the complex number as (x + i y)*(x + i y)
squared(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function computes the square of a complex number as (x + i y) * (x + i y)
SquareGridMesh - Class in org.gwoptics.graphics.graph3D
SquareGridMesh is a square shaped grid with variable resolution along both sides.
SquareGridMesh(int, int, float, float, PApplet) - Constructor for class org.gwoptics.graphics.graph3D.SquareGridMesh
Allows user to specify dimensions of the grid needed.
strokeColour - Variable in class org.gwoptics.graphics.graph3D.SquareGridMesh
If no colourmap is provided this is the stroke colour for the grid.
SurfaceGraph3D - Class in org.gwoptics.graphics.graph3D
This class incorporates the Axis3D and SurfaceTrace3D objects to construct a 3D Cartesian surface graph.
SurfaceGraph3D(PApplet, float, float, float) - Constructor for class org.gwoptics.graphics.graph3D.SurfaceGraph3D
All that needs to be specified to generate a graph is its dimensions.
SurfaceGraph3D(PApplet, float, float, float, boolean) - Constructor for class org.gwoptics.graphics.graph3D.SurfaceGraph3D
All that needs to be specified to generate a graph is its dimensions.
SurfaceTrace3D - Class in org.gwoptics.graphics.graph3D
This class encapsulates a surface trace on a graph.
SurfaceTrace3D(PApplet, Axis3D, Axis3D, Axis3D, int, int, IGraph3DCallback, String, IColourmap) - Constructor for class org.gwoptics.graphics.graph3D.SurfaceTrace3D
To generate a surface trace all 3 cartesian axis that the trace is mapped onto need to be supplied, also the resolution of the grid in both X and Y directions.

T

toAlphaInt() - Method in class org.gwoptics.graphics.GWColour
Converts Colour object into an integer.
toInt() - Method in class org.gwoptics.graphics.GWColour
Converts Colour object into an integer.
toString() - Method in class org.gwoptics.graphics.GWColour
Returns a string in the format (R,G,B).
toString() - Method in class org.gwoptics.mathutils.Complex
This function converts a complex number into a String "x + y i" with x being the real and y the imaginary part.
toString(Complex) - Static method in class org.gwoptics.mathutils.Complex
This function converts a complex number into a String "x + y i" with x being the real and y the imaginary part.
Trace2DException - Exception in org.gwoptics.graphics.graph2D.traces
 
Trace2DException(String) - Constructor for exception org.gwoptics.graphics.graph2D.traces.Trace2DException
 
TraceDraw(PGraphics) - Method in class org.gwoptics.graphics.graph2D.traces.Blank2DTrace
 
TrigLookup - Class in org.gwoptics.mathutils
This class provides access to a much faster version of the cos and sin functions.
TrigLookup() - Constructor for class org.gwoptics.mathutils.TrigLookup
 

U

u_lp_cos_xy(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the complex amplitude of a sinusoidal Laguerre-Gaussian beam shape u_pl.
u_n(int, Complex, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function represents the one-dimensional part of a u_nm Hermite-Gauss beam patter,
u_n_amp(int, Complex, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function represents the one-dimensional part of u_nm_amp the amplitude of a u_nm Hermite-Gauss beam pattern.
u_n_phs(int, Complex, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function represents the one-dimensional part of u_nm_phs the phase of a u_nm Hermite-Gauss beam pattern.
u_nm(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the complex amplitude of a Hermite-Gaussian beam shape u_nm.
u_nm_amp(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the real amplitude only of a Hermite-Gaussian beam shape u_nm.
u_nm_phs(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the phase of a Hermite-Gaussian beam shape u_nm, *without* the sign flips from the H polynomials!
u_pl(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the complex amplitude of a helical Laguerre-Gaussian beam shape u_pl.
u_pl_amp(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the real amplitude only of a helical Laguerre-Gaussian beam shape u_pl.
u_pl_amp_xy(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the real amplitude only of a heical Laguerre-Gaussian beam shape u_pl.
u_pl_cos(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the complex amplitude of a sinusoidal Laguerre-Gaussian beam shape u_pl.
u_pl_cos_amp(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the real amplitude only of a sinusoidal Laguerre-Gaussian beam shape u_pl.
u_pl_cos_amp_xy(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the real amplitude only of a sinusoidal Laguerre-Gaussian beam shape u_pl.
u_pl_xy(int, int, double, double) - Method in class org.gwoptics.gaussbeams.GaussMode
This function returns the complex amplitude of a heical Laguerre-Gaussian beam shape u_pl.
UpdatingLine2DTrace - Class in org.gwoptics.graphics.graph2D.traces
 
UpdatingLine2DTrace(ILine2DEquation, long, float) - Constructor for class org.gwoptics.graphics.graph2D.traces.UpdatingLine2DTrace
 

V

valueOf(String) - Static method in enum org.gwoptics.graphics.colourmap.presets.Presets
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.gwoptics.graphics.graph2D.Axis2D.Alignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.gwoptics.graphics.graph2D.LabelPos
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.gwoptics.LogoSize
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.gwoptics.ValueType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.gwoptics.graphics.colourmap.presets.Presets
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.gwoptics.graphics.graph2D.Axis2D.Alignment
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.gwoptics.graphics.graph2D.LabelPos
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.gwoptics.LogoSize
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.gwoptics.ValueType
Returns an array containing the constants of this enum type, in the order they're declared.
valueToPosition(float) - Method in class org.gwoptics.graphics.graph2D.Axis2D
For a given graph value it provides the position it is on the axis to the nearest pixel
valueToPosition(double) - Method in class org.gwoptics.graphics.graph2D.Axis2D
 
ValueType - Enum in org.gwoptics
This enum is used by the gwSlider object to state what type of number the slider should represent.
VectorUtils - Class in org.gwoptics.mathutils
 
VectorUtils() - Constructor for class org.gwoptics.mathutils.VectorUtils
 
Version - Class in org.gwoptics
Small class that reads the manifest file and gets the Implementation-Version of the Jar file and returns as a string.
Version() - Constructor for class org.gwoptics.Version
 

W

w0_size(Complex) - Method in class org.gwoptics.gaussbeams.GaussMode
This function computes the beam waist radius for a given beam parameters.
w0_size(Complex, Double, Double) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the beam waist radius for a given beam parameters.
w_size(Complex) - Method in class org.gwoptics.gaussbeams.GaussMode
This function computes the beam radius for a given beam parameters.
w_size(Complex, Double, Double) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the beam radius for a given beam parameters.
WarmColourmap - Class in org.gwoptics.graphics.colourmap.presets
WarmColourmap extends RGBColourmap and is a gradient of red at 0.0 to yellow at 1.0.
WarmColourmap(boolean) - Constructor for class org.gwoptics.graphics.colourmap.presets.WarmColourmap
If you require the colourmap to be generated now rather than later by calling generateColourmap() manually set generateMapNow to true.

X

XAxisColourmapEffect - Class in org.gwoptics.graphics.graph2D.effects
 
XAxisColourmapEffect(IColourmap) - Constructor for class org.gwoptics.graphics.graph2D.effects.XAxisColourmapEffect
 

Y

YAxisColourmapEffect - Class in org.gwoptics.graphics.graph2D.effects
 
YAxisColourmapEffect(IColourmap) - Constructor for class org.gwoptics.graphics.graph2D.effects.YAxisColourmapEffect
 

Z

zr(Complex) - Static method in class org.gwoptics.gaussbeams.GaussMode
This function computes the Rayleigh range for a given beam parameters.

_

_qx - Variable in class org.gwoptics.gaussbeams.GaussMode
 
_qy - Variable in class org.gwoptics.gaussbeams.GaussMode
 

A B C D E F G H I L M N O P Q R S T U V W X Y Z _

processing library gwoptics by Daniel Brown and Andreas Freise. (c) 2009 onwards