# Alphabetical Index

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

## >

> getAttributes(String,int) - method in class codeanticode.glgraphics.GLModel
Returns array list with attributes stored in binary file.
> getColors(String) - method in class codeanticode.glgraphics.GLModel
Returns array list with colors stored in binary file.

## A

addInMouseGrabberPool() - method in class proscene.PSInteractiveFrame
Adds the PSMouseGrabber in the `mouseGrabberPool()`.
addInMouseGrabberPool() - method in class proscene.PSMouseGrabber
addWindow(GLWindow) - method in class codeanticode.glgraphics.GLGraphics
Adds a GLWindow to be handled by this renderer.
alignWithFrame(PSFrame) - method in class proscene.PSFrame
Convenience function that simply calls `alignWithFrame(frame, false, 0.85f)`
alignWithFrame(PSFrame,boolean) - method in class proscene.PSFrame
Convenience function that simply calls `alignWithFrame(frame, move, 0.85f)`
alignWithFrame(PSFrame,boolean,float) - method in class proscene.PSFrame
Aligns the PSFrame with `frame`, so that two of their axis are parallel.
alignWithFrame(PSFrame,float) - method in class proscene.PSFrame
Convenience function that simply calls `alignWithFrame(frame, false, threshold)`
ambientLight(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
Add an ambient light based on the current color mode.
ambientLight(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Add an ambient light based on the current color mode.
ambientLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
Add an ambient light based on the current color mode.
ambientLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Add an ambient light based on the current color mode.
angle() - method in class proscene.PSQuaternion
Returns the `angle` (in radians) of the rotation represented by the PSQuaternion.
apply(GLModel) - method in class codeanticode.glgraphics.GLModelEffect
apply(GLModel[]) - method in class codeanticode.glgraphics.GLModelEffect
apply(GLTexture,GLTexture) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on texture srcTex, writing the output to the texture destTex.
apply(GLTexture,GLTexture,float) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on texture srcTex, writing the output to the texture destTex.
apply(GLTexture,GLTexture,float,float,float,float) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on texture srcTex, writing the output to the texture destTex.
apply(GLTexture,GLTexture,GLModel) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on texture srcTex, writing the output to the texture destTex and model destModel.
apply(GLTexture[],GLTexture) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on textures srcTex, writing the output to the texture destTex.
apply(GLTexture[],GLTexture,float) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on textures srcTex, writing the output to the texture destTex.
apply(GLTexture[],GLTexture,float,float,float,float) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on textures srcTex, writing the output to the texture destTex.
apply(GLTexture[],GLTexture[]) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on textures srcTex, writing the output to the textures destTex.
apply(GLTexture[],GLTexture[],GLModel,float,float,float,float) - method in class codeanticode.glgraphics.GLTextureFilter
Applies the shader program on textures srcTex, writing the output to the textures destTex.
applyTransformation(PApplet) - method in class proscene.PSFrame
Apply the transformation defined by this PSFrame to `p`.
aspectRatio() - method in class proscene.PSCamera
Returns the PSCamera aspect ratio defined by `screenWidth()` / `screenHeight()`.
aspectRatio() - method in class proscene.PScene
Returns the `PApplet.width` to `PApplet.height` aspect ratio of the processing display window.
at() - method in class proscene.PSCamera
Returns a point defined in the world coordinate system where the camera is pointing at (just in front of `viewDirection()`).
attributes - field in class codeanticode.glgraphics.GLModel
available() - method in class codeanticode.glgraphics.GLTexture
Returns true if the texture has been initialized.
axis() - method in class proscene.PSQuaternion
Returns the normalized axis direction of the rotation represented by the PSQuaternion.
axisIsDrawn() - method in class proscene.PScene
Returns `true` if axis is currently being drawn and `false` otherwise.

## B

BACKGROUND_ALPHA - static field in class codeanticode.glgraphics.GLConstants
beginDraw() - method in class codeanticode.glgraphics.GLGraphics
beginDraw() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Any drawing operation with this rendered must be enclosed between a call to beginDraw() and endDraw().
beginDraw() - method in class proscene.PScene
Sets the processing camera parameters from `camera()` and displays axis and grid accordingly to user flags
beginGL() - method in class codeanticode.glgraphics.GLGraphics
beginGL() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
beginUpdateAttributes(int) - method in class codeanticode.glgraphics.GLModel
beginUpdateColors() - method in class codeanticode.glgraphics.GLModel
beginUpdateNormals() - method in class codeanticode.glgraphics.GLModel
beginUpdateTexCoords(int) - method in class codeanticode.glgraphics.GLModel
beginUpdateVertices() - method in class codeanticode.glgraphics.GLModel
Enables vertex updating, to be done with the updateVertex()/displaceVertex() methods.

## C

camera() - method in class codeanticode.glgraphics.GLGraphics
camera() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
camera() - method in class proscene.PSCameraConstraint
Returns the associated PSCamera.
camera() - method in class proscene.PScene
Returns the associated PSCamera, never `null`.
camera(float,float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
camera(float,float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
cameraCoordinatesOf(PVector) - method in class proscene.PSCamera
Returns the PSCamera frame coordinates of a point `src` defined in world coordinates.
cameraIsInRevolveMode() - method in class proscene.PScene
Tests if the `camera()` is in revolve mode (also known as arc-ball).
cameraType() - method in class proscene.PScene
Returns the current `camera()` type.
canDraw() - method in class codeanticode.glgraphics.GLGraphics
Adds the additional check for all the GL windows.
centerScene() - method in class proscene.PSCamera
Moves the PSCamera so that its `sceneCenter()` is projected on the center of the window.
centerVertices() - method in class codeanticode.glgraphics.GLModel
Centers the model to (0, 0, 0).
centerVertices(float,float) - method in class codeanticode.glgraphics.GLModel
Centers the model to (xc, yc, 0).
centerVertices(float,float,float) - method in class codeanticode.glgraphics.GLModel
Centers the model to (xc, yc, zc).
checkFBO() - method in class codeanticode.glgraphics.GLFramebufferObject
checkIfGrabsMouse(int,int,PSCamera) - method in class proscene.PSInteractiveFrame
Implementation of the PSMouseGrabber main method.
checkIfGrabsMouse(int,int,PSCamera) - method in class proscene.PSMouseGrabber
Called by the PScene before they test if the PSMouseGrabber `grabsMouse()`.
clear(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(float) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified gray tone.
clear(float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(float,float) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified gray tone and alpha value.
clear(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(float,float,float) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified color components.
clear(float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified color components and alpha component.
clear(int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(int) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified gray tone.
clear(int,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(int,float) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified rgb color and alpha value.
clear(int,int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(int,int) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified gray tone and alpha value.
clear(int,int,int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(int,int,int) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified color components.
clear(int,int,int,int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
clear(int,int,int,int) - method in class codeanticode.glgraphics.GLTexture
Fills the texture with the specified color components and alpha component.
clearColorBuffer(int) - method in class codeanticode.glgraphics.GLState
clearMouseGrabberPool() - method in class proscene.PSInteractiveFrame
Clears the `mouseGrabberPool()`.
clearMouseGrabberPool() - method in class proscene.PSMouseGrabber
clearTex(int,int,int) - method in class codeanticode.glgraphics.GLState
clone() - method in class proscene.PSCamera
Implementation of the clone method.
clone() - method in class proscene.PSFrame
Implementation of the clone method.
clone() - method in class proscene.PSInteractiveCameraFrame
Implementation of the clone method.
clone() - method in class proscene.PSInteractiveFrame
Implementation of the clone method.
COLOR - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture internal format GL_RGBA: 4 color components of 8 bits each, identical as ARGB.
colors - field in class codeanticode.glgraphics.GLModel
computeModelViewMatrix() - method in class proscene.PSCamera
Computes the modelView matrix associated with the Camera's `position()` and `orientation()`.
computeProjectionMatrix() - method in class proscene.PSCamera
Computes the projection matrix associated with the PSCamera.
cone(float,float) - static method in class proscene.PScene
Same as `cone(12, 0, 0, r, h);`
cone(int,float,float) - method in class proscene.PScene
Same as `cone(det, 0, 0, r, h);`
cone(int,float,float,float,float) - static method in class proscene.PScene
Places a cone with it's base centered at `(x,y)`, height `h` in positive `z`, radius `r`.
conjugate() - method in class proscene.PSQuaternion
Sets the value of this PSQuaternion to the conjugate of itself.
conjugate(PSQuaternion) - method in class proscene.PSQuaternion
Sets the value of this PSQuaternion to the conjugate of PSQuaternion q1.
constrainRotation(PSQuaternion,PSFrame) - method in class proscene.PSCameraConstraint
When `rotationConstraintType()` is of type AXIS, constrain `rotation` to be a rotation around an axis whose direction is defined in the `camera()` coordinate system by `rotationConstraintDirection()`.
constrainRotation(PSQuaternion,PSFrame) - method in class proscene.PSConstraint
Filters the rotation applied to the `frame`.
constrainRotation(PSQuaternion,PSFrame) - method in class proscene.PSLocalConstraint
When `rotationConstraintType()` is of Type AXIS, constrain `rotation` to be a rotation around an axis whose direction is defined in the PSFrame local coordinate system by `rotationConstraintDirection()`.
constrainRotation(PSQuaternion,PSFrame) - method in class proscene.PSWorldConstraint
When `rotationConstraintType()` is of type AXIS, constrain `rotation` to be a rotation around an axis whose direction is defined in the PSFrame world coordinate system by `rotationConstraintDirection()`.
constraint() - method in class proscene.PSFrame
Returns the current constraint applied to the PSFrame.
constrainTranslation(PVector,PSFrame) - method in class proscene.PSCameraConstraint
Depending on `translationConstraintType()`, `constrain` translation to be along an axis or limited to a plane defined in the `camera()` coordinate system by `translationConstraintDirection()`.
constrainTranslation(PVector,PSFrame) - method in class proscene.PSConstraint
Filters the translation applied to the PSframe.
constrainTranslation(PVector,PSFrame) - method in class proscene.PSLocalConstraint
Depending on `translationConstraintType()`, `constrain` translation to be along an axis or limited to a plane defined in the PSFrame local coordinate system by `translationConstraintDirection()`.
constrainTranslation(PVector,PSFrame) - method in class proscene.PSWorldConstraint
Depending on `translationConstraintType()`, `constrain` translation to be along an axis or limited to a plane defined in the PSFrame world coordinate system by `translationConstraintDirection()`.
convertClickToLine(Point,PVector,PVector) - method in class proscene.PSCamera
Gives the coefficients of a 3D half-line passing through the PSCamera eye and pixel (x,y).
coordinatesOf(PVector) - method in class proscene.PSFrame
Returns the PSFrame coordinates of a point `src` defined in the world coordinate system (converts from world to Frame).
coordinatesOfFrom(PVector,PSFrame) - method in class proscene.PSFrame
Returns the PSFrame coordinates of the point whose position in the `from` coordinate system is `src` (converts from `from` to PSFrame).
coordinatesOfIn(PVector,PSFrame) - method in class proscene.PSFrame
Returns the `in` coordinates of the point whose position in the PSFrame coordinate system is `src` (converts from PSFrame to `in`).
coordinateSystemConvention() - method in class proscene.PSInteractiveFrame
Returns the coordinate system convention used by this PSInteractiveFrame.
copy() - method in class proscene.PSFrame
Calls `PSFrame(PSFrame)` (which is private) and returns a copy of `this` object.
copy(GLTexture) - method in class codeanticode.glgraphics.GLTexture
Copy src texture into this.
copyTex(GLTexture,GLTexture) - method in class codeanticode.glgraphics.GLState
createGLFont(String,float) - method in class codeanticode.glgraphics.GLGraphics
createGLFont(String,float,boolean) - method in class codeanticode.glgraphics.GLGraphics
createGLFont(String,float,boolean,charset[]) - method in class codeanticode.glgraphics.GLGraphics
currentLightFalloffConstantGL - field in class codeanticode.glgraphics.GLGraphics
Current light falloff
currentLightFalloffConstantGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Current light falloff
currentLightFalloffLinearGL - field in class codeanticode.glgraphics.GLGraphics
currentLightFalloffLinearGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
currentLightFalloffQuadraticGL - field in class codeanticode.glgraphics.GLGraphics
currentLightFalloffQuadraticGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
currentLightSpecularGL - field in class codeanticode.glgraphics.GLGraphics
Current specular color for lighting
currentLightSpecularGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Current specular color for lighting
cylinder(float,float) - static method in class proscene.PScene
Draws a cylinder of width `w` and height `h`.

## D

defaultKeyBindings() - method in class proscene.PScene
Associates interactivity actions to default keys.
directionalLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
directionalLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
disablePopFramebuffer() - static method in class codeanticode.glgraphics.GLState
disablePushFramebuffer() - static method in class codeanticode.glgraphics.GLState
disableSingleFBO() - static method in class codeanticode.glgraphics.GLState
disableVertexAttribArray() - method in class codeanticode.glgraphics.GLSLShaderAttribute
disableVertexAttribs() - method in class codeanticode.glgraphics.GLModelEffect
displaceAttribute(int,float) - method in class codeanticode.glgraphics.GLModel
displaceAttribute(int,float,float) - method in class codeanticode.glgraphics.GLModel
displaceAttribute(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
displaceAttribute(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
displaceAttribute(int,float[]) - method in class codeanticode.glgraphics.GLModel
displaceNormal(int,float,float) - method in class codeanticode.glgraphics.GLModel
displaceNormal(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
displaceNormal(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
displaceTexCoord(int,float,float) - method in class codeanticode.glgraphics.GLModel
displaceVertex(int,float,float) - method in class codeanticode.glgraphics.GLModel
Adds a displacement (dx, dy) to the vertex idx.
displaceVertex(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
Adds a displacement (dx, dy, dz) to the vertex idx.
displaceVertex(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Adds a displacement (dx, dy, dz, dw) to the vertex idx.
distanceToSceneCenter() - method in class proscene.PSCamera
Returns the distance from the Camera center to `sceneCenter()`, projected along the Camera Z axis.
dotProduct(PSQuaternion) - method in class proscene.PSQuaternion
Returns the "dot" product of this PSQuaternion and `b`:

`this.x * b.x + this.y * b.y + this.z * b.z + this.w * b.w`
dotProduct(PSQuaternion,PSQuaternion) - static method in class proscene.PSQuaternion
Returns the "dot" product of `a` and `b`:

`a.x * b.x + a.y * b.y + a.z * b.z + a.w * b.w`
DOUBLE - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture internal format GL_RGBA32F_ARB: 4 float compontents of 32 bits each.
draw() - method in class proscene.PScene
Main paint method.
drawArrow(float) - static method in class proscene.PScene
Simply calls `drawArrow(length, 0.05f * length)`
drawArrow(float,float) - static method in class proscene.PScene
Draws a 3D arrow along the positive Z axis.
drawArrow(PVector,PVector,float) - static method in class proscene.PScene
Draws a 3D arrow between the 3D point `from` and the 3D point `to`, both defined in the current ModelView coordinates system.
drawAxis() - static method in class proscene.PScene
Convenience function that simply calls `drawAxis(1.0f)`
drawAxis(float) - static method in class proscene.PScene
Draws an axis of length `length` which origin correspond to that of the world coordinate system.
drawGrid() - static method in class proscene.PScene
Convenience function that simply calls `drawGrid(1.0f, 10)`
drawGrid(float) - static method in class proscene.PScene
Convenience function that simply calls `drawGrid(size, 10)`
drawGrid(float,int) - static method in class proscene.PScene
Draws a grid in the XY plane, centered on (0,0,0) (defined in the current coordinate system).
drawGrid(int) - static method in class proscene.PScene
Convenience function that simply calls `drawGrid(1.0f, nbSubdivisions)`
drawIsConstrained() - method in class proscene.PScene
Returns `true` if drawn is currently being constrained and `false` otherwise.
ds - field in class codeanticode.glgraphics.GLTexturedPoint
dt - field in class codeanticode.glgraphics.GLTexturedPoint
dx - field in class codeanticode.glgraphics.GLTexturedPoint
dy - field in class codeanticode.glgraphics.GLTexturedPoint
DYNAMIC - static field in class codeanticode.glgraphics.GLModel

## E

enableFastTextureLoad() - method in class codeanticode.glgraphics.GLTexture
Creates a Pixel Buffer Object (PBO) to allow for faster transfers of pixel data in GPU memory (EXPERIMENTAL).
enablePopFramebuffer() - static method in class codeanticode.glgraphics.GLState
enablePushFramebuffer() - static method in class codeanticode.glgraphics.GLState
enableSingleFBO() - static method in class codeanticode.glgraphics.GLState
enableVertexAttribArray() - method in class codeanticode.glgraphics.GLSLShaderAttribute
enableVertexAttribs() - method in class codeanticode.glgraphics.GLModelEffect
endCamera() - method in class codeanticode.glgraphics.GLGraphics
endCamera() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
endDraw() - method in class codeanticode.glgraphics.GLGraphics
endDraw() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Any drawing operation with this rendered must be enclosed between a call to beginDraw() and endDraw().
endDraw() - method in class proscene.PScene
Displays some visual hints, such the `help()` text.
endGL() - method in class codeanticode.glgraphics.GLGraphics
endGL() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
endUpdateAttributes() - method in class codeanticode.glgraphics.GLModel
endUpdateColors() - method in class codeanticode.glgraphics.GLModel
endUpdateNormals() - method in class codeanticode.glgraphics.GLModel
endUpdateTexCoords() - method in class codeanticode.glgraphics.GLModel
endUpdateVertices() - method in class codeanticode.glgraphics.GLModel
Disables vertex updating.
exp() - method in class proscene.PSQuaternion
Returns the exponential of the PSQuaternion.

## F

fboMultisampleAvailable - static field in class codeanticode.glgraphics.GLState
fbosAvailable - static field in class codeanticode.glgraphics.GLState
fieldOfView() - method in class proscene.PSCamera
Returns the vertical field of view of the PSCamera (in radians).
filter(GLTextureFilter,GLTexture) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source and destTex as destination.
filter(GLTextureFilter,GLTexture,float) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source, destTex as destination and destA as the destination alpha value for the filter.
filter(GLTextureFilter,GLTexture,float,float[]) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source, destTex as destination and destA as the destination alpha value for the filter.
filter(GLTextureFilter,GLTexture,float[]) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source and destTex as destination.
filter(GLTextureFilter,GLTexture[],float) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source, destTex as multiple destinations and destA as the destination alpha value constant for the filter.
filter(GLTextureFilter,GLTexture[],float,float[]) - method in class codeanticode.glgraphics.GLTexture
Applies filter texFilter using this texture as source, destTex as multiple destinations and destA as the destination alpha value for the filter.
fitBoundingBox(PVector,PVector) - method in class proscene.PSCamera
Moves the PSCamera so that the (world axis aligned) bounding box (`min`, `max`) is entirely visible, using `fitSphere(PVector,float)`.
fitScreenRegion(Rectangle) - method in class proscene.PSCamera
Moves the PSCamera so that the rectangular screen region defined by `rectangle` (pixel units, with origin in the upper left corner) fits the screen.
fitSphere(PVector,float) - method in class proscene.PSCamera
Moves the PSCamera so that the sphere defined by `center`, `radius`) is visible and fits the window.
FLOAT - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture internal format GL_RGBA16F_ARB: 4 float compontents of 16 bits each.
floatTexAvailable - static field in class codeanticode.glgraphics.GLState
flySpeed() - method in class proscene.PSCamera
Returns the fly speed of the PSCamera.
flyUpdate() - method in class proscene.PSInteractiveCameraFrame
Called for continuous frame motion in fly mode (see PSScene.MOVE_FORWARD).
flyUpVector() - method in class proscene.PSInteractiveCameraFrame
Returns the up vector used in fly mode, expressed in the world coordinate system.
focusDistance() - method in class proscene.PSCamera
Returns the focus distance used by stereo display, expressed in processing units.
format - field in class codeanticode.glgraphics.GLTextureParameters
Texture internal format.
fragShadersAvailable - static field in class codeanticode.glgraphics.GLState
frame() - method in class proscene.PSCamera
Returns the PSInteractiveCameraFrame attached to the PSCamera.
from4x4MatrixToArray(float[][]) - static method in class proscene.PSUtility
Utility function that returns the [16] float array version of the given `mat` matrix.
fromArray4x4ToMatrix(float[]) - static method in class proscene.PSUtility
Utility function that returns the [4][4] float matrix version of the given `m` array.
fromAxisAngle(PVector,float) - method in class proscene.PSQuaternion
Sets the PSQuaternion as a rotation of `axis` and `angle` (in radians).
fromMatrix(PMatrix3D) - method in class proscene.PSFrame
Sets the PSFrame from an PMatrix3D (processing matrix) representation (rotation in the upper left 3x3 matrix and translation on the last column).
fromMatrix(PMatrix3D) - method in class proscene.PSQuaternion
Set the PSQuaternion from a (supposedly correct) 3x3 rotation matrix given in the upper left 3x3 sub-matrix of the PMatrix3D.
fromOpenGLArray(float[]) - static method in class proscene.PSUtility
Utility function that returns the PMatrix3D representation of the 16 `array` given in OpenGL format.
fromOpenGLToPMatrix3D(float[][]) - static method in class proscene.PSUtility
Utility function that returns the PMatrix3D representation of the 4x4 `matrix` given in OpenGL format.
fromPMatrix3DToMatrix(PMatrix3D) - static method in class proscene.PSUtility
Utility function that returns the [4][4]float matrix representation (European format) of the given PMatrix3D.
fromPMatrix3DToOpenGL(PMatrix3D) - static method in class proscene.PSUtility
Utility function that returns the [4][4]float matrix representation (OpenGL format) of the given PMatrix3D.
fromRotatedBasis(PVector,PVector,PVector) - method in class proscene.PSQuaternion
Sets the PSQuaternion from the three rotated vectors of an orthogonal basis.
fromRotationMatrix(m[][]) - method in class proscene.PSQuaternion
Set the PSQuaternion from a (supposedly correct) 3x3 rotation matrix.
fromTo(PVector,PVector) - method in class proscene.PSQuaternion
Sets the PSQuaternion as a rotation from the `from` direction to the `to` direction.
frustum(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
frustum(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen

## G

genID() - method in class codeanticode.glgraphics.GLSLShaderAttribute
genID() - method in class codeanticode.glgraphics.GLSLShaderUniform
genID() - method in class codeanticode.glgraphics.GLSLShaderVariable
Generates the OpenGL ID of this parameter.
genTexCoords(int,int) - method in class codeanticode.glgraphics.GLTexturedPoint
geoShadersAvailable - static field in class codeanticode.glgraphics.GLState
get3x3UpperLeftMatrixFromPMatrix3D(PMatrix3D) - static method in class proscene.PSUtility
Utility function that returns the 3x3 upper left sub-matrix of the given PMatrix3D.
getAttribLocation(String) - method in class codeanticode.glgraphics.GLSLShader
Returns the ID location of the attribute parameter given its name.
getBuffer(float[],int) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into floatArray.
getBuffer(int[]) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into intArray, assuming that the array has 4 components and the pixels are unsigned bytes.
getBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into intArray, using the specified format and assuming that the pixels are unsigned bytes.
getBuffer(int[],int,int) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into intArray, using the specified format and type.
getByteBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into intArray, using the specified format and assuming that the pixels are unsigned bytes.
getCapabilities() - method in class codeanticode.glgraphics.GLGraphics
Returns the OpenGL capabilities of the drawable associated to this renderer.
getCapabilities() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Returns the OpenGL capabilities of the drawable associated to this renderer.
getCoordsVBO() - method in class codeanticode.glgraphics.GLModel
Returns the OpenGL identifier of the Vertex Buffer Object holding the coordinates of this model.
getDescription() - method in class codeanticode.glgraphics.GLModel
getDescription() - method in class codeanticode.glgraphics.GLModelEffect
Returns the description of the filter.
getDescription() - method in class codeanticode.glgraphics.GLTextureFilter
Returns the description of the filter.
getFramebufferID() - method in class codeanticode.glgraphics.GLFramebufferObject
getGLMajor() - static method in class codeanticode.glgraphics.GLState
getGLMinor() - static method in class codeanticode.glgraphics.GLState
getGLSLVersion() - static method in class codeanticode.glgraphics.GLState
getGLVersion() - static method in class codeanticode.glgraphics.GLState
getImage(PImage) - method in class codeanticode.glgraphics.GLTexture
Copies texture to img.
getIntBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies the texture into intArray, using the specified format and assuming that the pixels are integers.
getLabel() - method in class codeanticode.glgraphics.GLSLShaderVariable
Returns parameter label.
getMaxPointSize() - method in class codeanticode.glgraphics.GLModel
getMaxTextureCoordS() - method in class codeanticode.glgraphics.GLTexture
Returns the maximum possible value for the texture coordinate S.
getMaxTextureCoordT() - method in class codeanticode.glgraphics.GLTexture
Returns the maximum possible value for the texture coordinate T.
getModelViewMatrix() - method in class proscene.PSCamera
Convenience function that simply returns `return getModelViewMatrix(new PMatrix3D())`
getModelViewMatrix(PMatrix3D) - method in class proscene.PSCamera
Fills `m` with the Camera modelView matrix values and returns it.
getMouseGrabberPool() - method in class proscene.PSInteractiveFrame
See `PSMouseGrabber.getMouseGrabberPool()`.
getMouseGrabberPool() - method in class proscene.PSMouseGrabber
Returns a list containing references to all the active PSMouseGrabbers.
getName() - method in class codeanticode.glgraphics.GLSLShaderVariable
Returns parameter name.
getNewTex() - method in class codeanticode.glgraphics.GLTexturePingPong
Returns the current write texture.
getNormals(String) - method in class codeanticode.glgraphics.GLModel
Returns array list with normals stored in binary file.
getNumInputTextures() - method in class codeanticode.glgraphics.GLTextureFilter
Returns the maximum number of input or source textures supported by this filter.
getNumOutputTextures() - method in class codeanticode.glgraphics.GLTextureFilter
Returns the maximum number of output or destination textures supported by this filter.
getNumTextures() - method in class codeanticode.glgraphics.GLModel
Returns the number of textures.
getOldTex() - method in class codeanticode.glgraphics.GLTexturePingPong
Returns the current read texture.
getOrthoWidthHeight() - method in class proscene.PSCamera
Convenience function that simply returns `getOrthoWidthHeight(new float[2])`.
getOrthoWidthHeight(float[]) - method in class proscene.PSCamera
Fills in `target` with the `halfWidth` and `halfHeight` of the PSCamera orthographic frustum and returns it.
getOverride() - method in class codeanticode.glgraphics.GLWindow
Returns the value of the override variable, used to skip automatic rendering in the GLGraphics renderer.
getParameter(int) - method in class codeanticode.glgraphics.GLModelEffect
Returns the i-th parameter.
getParameter(int) - method in class codeanticode.glgraphics.GLTextureFilter
Returns the i-th parameter.
getParameter(String) - method in class codeanticode.glgraphics.GLModelEffect
Returns the parameter with the provided name.
getParameter(String) - method in class codeanticode.glgraphics.GLTextureFilter
Returns the parameter with the provided name.
getParameterCount() - method in class codeanticode.glgraphics.GLModelEffect
Get number of parameters.
getParameterCount() - method in class codeanticode.glgraphics.GLTextureFilter
Get number of parameters.
getParameterLabel(int) - method in class codeanticode.glgraphics.GLModelEffect
Returns the label of the i-th parameter.
getParameterLabel(int) - method in class codeanticode.glgraphics.GLTextureFilter
Returns the label of the i-th parameter.
getParameterName(int) - method in class codeanticode.glgraphics.GLModelEffect
Returns the name of the i-th parameter.
getParameterName(int) - method in class codeanticode.glgraphics.GLTextureFilter
Returns the name of the i-th parameter.
getParameterType(int) - method in class codeanticode.glgraphics.GLModelEffect
Returns the type of the i-th parameter.
getParameterType(int) - method in class codeanticode.glgraphics.GLTextureFilter
Returns the type of the i-th parameter.
getProjectionMatrix() - method in class proscene.PSCamera
Convenience function that simply returns `return return getProjectionMatrix(new PMatrix3D())`
getProjectionMatrix(PMatrix3D) - method in class proscene.PSCamera
Fills `m` with the PSCamera projection matrix values and returns it.
getReadTex() - method in class codeanticode.glgraphics.GLTexturePingPong
Returns the current read texture.
getSize() - method in class codeanticode.glgraphics.GLModel
getTexCoords(String) - method in class codeanticode.glgraphics.GLModel
Returns array list with texture coordinates stored in binary file.
getTexture() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Returns the texture where this offscreen renderer draws to.
getTexture(int) - method in class codeanticode.glgraphics.GLModel
Returns the i-th texture.
getTextureID() - method in class codeanticode.glgraphics.GLTexture
Provides the ID of the opegl texture object.
getTextureInternalFormat() - method in class codeanticode.glgraphics.GLTexture
Returns the texture internal format.
getTextureMagFilter() - method in class codeanticode.glgraphics.GLTexture
Returns the texture magnification filter.
getTextureMinFilter() - method in class codeanticode.glgraphics.GLTexture
Returns the texture minimization filter.
getTextureTarget() - method in class codeanticode.glgraphics.GLTexture
Returns the texture target.
getType() - method in class codeanticode.glgraphics.GLSLShaderVariable
Returns parameter type.
getType(String) - static method in class codeanticode.glgraphics.GLSLShaderVariable
Returns the int constant that identifies a type, given the corresponding string.
getUniformLocation(String) - method in class codeanticode.glgraphics.GLSLShader
Returns the ID location of the uniform parameter given its name.
getVertices(String) - method in class codeanticode.glgraphics.GLModel
Returns array list with vertices stored in binary file.
getViewport() - method in class proscene.PSCamera
Convenience function that simply calls `return` `getViewport(int[])`.
getViewport(int[]) - method in class proscene.PSCamera
Fills `viewport` with the PSCamera viewport and returns it.
getWriteTex() - method in class codeanticode.glgraphics.GLTexturePingPong
Returns the current write texture.
gl - static field in class codeanticode.glgraphics.GLState
GL_DEPTH24_STENCIL8 - static field in class codeanticode.glgraphics.GLConstants
GL_DEPTH_STENCIL - static field in class codeanticode.glgraphics.GLConstants
GL_UNSIGNED_INT_24_8 - static field in class codeanticode.glgraphics.GLConstants
GLConstants - interface codeanticode.glgraphics.GLConstants
This interface class defines constants used in the glgraphics package.
GLFont - class codeanticode.glgraphics.GLFont
This package provides classes to facilitate the handling of opengl textures, glsl shaders and off-screen rendering in Processing.
GLFont(PApplet,Font,boolean,charset[]) - constructor for class codeanticode.glgraphics.GLFont
Create a new image-based font on the fly.
GLFont(PApplet,InputStream) - constructor for class codeanticode.glgraphics.GLFont
GLFramebufferObject - class codeanticode.glgraphics.GLFramebufferObject
GLGraphics - class codeanticode.glgraphics.GLGraphics
This class makes the OpenGL renderer compatible with the GLTexture object.
GLGRAPHICS - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the GLGraphics renderer.
GLGraphics() - constructor for class codeanticode.glgraphics.GLGraphics
Default constructor.
GLGraphicsOffScreen - class codeanticode.glgraphics.GLGraphicsOffScreen
This class implements an opengl renderer for off-screen rendering to texture.
GLGraphicsOffScreen(PApplet,int,int) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size, with mulisampling disabled.
GLGraphicsOffScreen(PApplet,int,int,boolean) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size and enabled/disabled multisampling, according to the value of the argument multi.
GLGraphicsOffScreen(PApplet,int,int,boolean,int) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size and enabled/disabled multisampling and multisampling level, according to the values of the arguments multi and level.
GLGraphicsOffScreen(PApplet,int,int,GLTextureParameters) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size and parameters for the destination texture.
GLGraphicsOffScreen(PApplet,int,int,GLTextureParameters,boolean) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size and parameters for the destination texture.
GLGraphicsOffScreen(PApplet,int,int,GLTextureParameters,boolean,int) - constructor for class codeanticode.glgraphics.GLGraphicsOffScreen
Creates an instance of GLGraphicsOffScreen with specified size and parameters for the destination texture.
GLModel - class codeanticode.glgraphics.GLModel
This class holds a 3D model composed of vertices, normals, colors (per vertex) and texture coordinates (also per vertex).
GLModel(PApplet,ArrayList,int,int) - constructor for class codeanticode.glgraphics.GLModel
GLModel(PApplet,float[],int,int) - constructor for class codeanticode.glgraphics.GLModel
GLModel(PApplet,int,int,int) - constructor for class codeanticode.glgraphics.GLModel
Creates an instance of GLModel with the specified parameters: number of vertices, mode to draw the vertices (as points, sprites, lines, etc) and usage (static if the vertices will never change after the first time are initialized, dynamic if they will change frequently or stream if they will change at every frame).
GLModel(PApplet,String) - constructor for class codeanticode.glgraphics.GLModel
GLModel(PApplet,URL) - constructor for class codeanticode.glgraphics.GLModel
GLModelEffect - class codeanticode.glgraphics.GLModelEffect
This package provides classes to facilitate the handling of opengl textures, glsl shaders and off-screen rendering in Processing.
GLModelEffect() - constructor for class codeanticode.glgraphics.GLModelEffect
Default constructor.
GLModelEffect(PApplet,String) - constructor for class codeanticode.glgraphics.GLModelEffect
GLModelEffect(PApplet,URL) - constructor for class codeanticode.glgraphics.GLModelEffect
Creates an instance of GLTextureFilter, loading the filter from a URL.
GLModelEffectParameter - class codeanticode.glgraphics.GLModelEffectParameter
This class stores the (uniform) parameter for a model effect.
GLModelEffectParameter(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLModelEffectParameter
Creates an instance of GLModelEffectParameter using the specified parameters.
GLModelEffectParameter(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLModelEffectParameter
Creates an instance of GLModelEffectParameter using the specified parameters.
GLModelEffectVertexAttrib - class codeanticode.glgraphics.GLModelEffectVertexAttrib
This class stores the (vertex attribute) parameter for a model effect.
GLModelEffectVertexAttrib(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLModelEffectVertexAttrib
Creates an instance of GLModelEffectParameter using the specified parameters.
GLModelEffectVertexAttrib(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLModelEffectVertexAttrib
Creates an instance of GLModelEffectVertexAttrib using the specified parameters.
glsl100Available - static field in class codeanticode.glgraphics.GLState
GLSLShader - class codeanticode.glgraphics.GLSLShader
This class encapsulates a glsl shader.
GLSLShader(PApplet) - constructor for class codeanticode.glgraphics.GLSLShader
Creates an instance of GLSLShader.
GLSLShaderAttribute - class codeanticode.glgraphics.GLSLShaderAttribute
This class stores the attribute variable of a GLSL shader.
GLSLShaderAttribute(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderAttribute
Creates an instance of GLSLShaderUniform using the specified parameters.
GLSLShaderAttribute(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderAttribute
Creates an instance of GLSLShaderAttribute using the specified parameters.
GLSLShaderUniform - class codeanticode.glgraphics.GLSLShaderUniform
This class stores the uniform variable of a GLSL shader.
GLSLShaderUniform(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderUniform
Creates an instance of GLSLShaderUniform using the specified parameters.
GLSLShaderUniform(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderUniform
Creates an instance of GLSLShaderUniform using the specified parameters.
GLSLShaderVariable - class codeanticode.glgraphics.GLSLShaderVariable
This class stores the variable of a GLSL shader (attribute or uniform).
GLSLShaderVariable() - constructor for class codeanticode.glgraphics.GLSLShaderVariable
Implicit constructor.
GLSLShaderVariable(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderVariable
Creates an instance of GLShaderVariable using the specified parameters.
GLSLShaderVariable(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLSLShaderVariable
Creates an instance of GLShaderVariable using the specified parameters.
GLState - class codeanticode.glgraphics.GLState
GLState(GL) - constructor for class codeanticode.glgraphics.GLState
GLTexture - class codeanticode.glgraphics.GLTexture
This class adds an opengl texture to a PImage object.
GLTexture(PApplet) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with size 1x1.
GLTexture(PApplet,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with power-of-two width and height that such that width * height is the closest to size.
GLTexture(PApplet,int,GLTextureParameters) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with power-of-two width and height that such that width height is the closest to size, and with the specified parameters.
GLTexture(PApplet,int,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with size width x height.
GLTexture(PApplet,int,int,GLTextureParameters) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with size width x height and with the specified parameters.
GLTexture(PApplet,int,int,GLTextureParameters,int) - constructor for class codeanticode.glgraphics.GLTexture
GLTexture(PApplet,int,int,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with size width x height and with the specified format.
GLTexture(PApplet,int,int,int,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture with size width x height and with the specified format and filtering.
GLTexture(PApplet,String) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture using image file filename as source.
GLTexture(PApplet,String,GLTextureParameters) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture using image file filename as source and the specified texture parameters.
GLTexture(PApplet,String,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture using image file filename as source and the specified format.
GLTexture(PApplet,String,int,int) - constructor for class codeanticode.glgraphics.GLTexture
Creates an instance of GLTexture using image file filename as source and the specified format and filtering.
GLTexturedPoint - class codeanticode.glgraphics.GLTexturedPoint
GLTexturedPoint() - constructor for class codeanticode.glgraphics.GLTexturedPoint
GLTexturedPoint(float,float,float,float) - constructor for class codeanticode.glgraphics.GLTexturedPoint
GLTexturedPoint(int) - constructor for class codeanticode.glgraphics.GLTexturedPoint
GLTexturedPoint(XMLElement) - constructor for class codeanticode.glgraphics.GLTexturedPoint
GLTextureFilter - class codeanticode.glgraphics.GLTextureFilter
This class defines a 2D filter to apply on GLTexture objects.
GLTextureFilter() - constructor for class codeanticode.glgraphics.GLTextureFilter
Default constructor.
GLTextureFilter(PApplet,String) - constructor for class codeanticode.glgraphics.GLTextureFilter
Creates an instance of GLTextureFilter, loading the filter from filename.
GLTextureFilter(PApplet,URL) - constructor for class codeanticode.glgraphics.GLTextureFilter
Creates an instance of GLTextureFilter, loading the filter from a URL.
GLTextureFilterParameter - class codeanticode.glgraphics.GLTextureFilterParameter
This class stores the (uniform) parameter for a texture filter.
GLTextureFilterParameter(PApplet,GLSLShader,String,String,int) - constructor for class codeanticode.glgraphics.GLTextureFilterParameter
Creates an instance of GLTextureFilterParameter using the specified parameters.
GLTextureFilterParameter(PApplet,String,String,int) - constructor for class codeanticode.glgraphics.GLTextureFilterParameter
Creates an instance of GLTextureFilterParameter using the specified parameters.
GLTextureGrid - class codeanticode.glgraphics.GLTextureGrid
GLTextureGrid(GL) - constructor for class codeanticode.glgraphics.GLTextureGrid
GLTextureGridCompiled - class codeanticode.glgraphics.GLTextureGridCompiled
GLTextureGridCompiled(GL) - constructor for class codeanticode.glgraphics.GLTextureGridCompiled
GLTextureGridCompiled(GL,XMLElement) - constructor for class codeanticode.glgraphics.GLTextureGridCompiled
GLTextureGridDirect - class codeanticode.glgraphics.GLTextureGridDirect
GLTextureGridDirect(GL) - constructor for class codeanticode.glgraphics.GLTextureGridDirect
GLTextureGridDirect(GL,XMLElement) - constructor for class codeanticode.glgraphics.GLTextureGridDirect
GLTextureParameters - class codeanticode.glgraphics.GLTextureParameters
This class stores the parameters for a texture: target, internal format, minimization filter and magnification filter.
GLTextureParameters() - constructor for class codeanticode.glgraphics.GLTextureParameters
Creates an instance of GLTextureParameters, setting all the parameters to default values.
GLTextureParameters(int) - constructor for class codeanticode.glgraphics.GLTextureParameters
GLTextureParameters(int,int) - constructor for class codeanticode.glgraphics.GLTextureParameters
GLTexturePingPong - class codeanticode.glgraphics.GLTexturePingPong
This class encapsulates two GLTextures, that are labeled as read and write.
GLTexturePingPong(GLTexture,GLTexture) - constructor for class codeanticode.glgraphics.GLTexturePingPong
The constructor of the class.
GLTextureWindow - class codeanticode.glgraphics.GLTextureWindow
An undecorated ligheweight AWT window to show just a single texture created in the main OpenGL context of the parent PApplet.
GLTextureWindow(PApplet,int,int,int,int) - constructor for class codeanticode.glgraphics.GLTextureWindow
Creates an instance of GLTextureWindow with the specified size (w, h) and position (x, y), which will show texture tex in it.
glu - static field in class codeanticode.glgraphics.GLState
GLUtils - class codeanticode.glgraphics.GLUtils
GLWindow - class codeanticode.glgraphics.GLWindow
This package provides classes to facilitate the handling of opengl textures, glsl shaders and off-screen rendering in Processing.
grabsMouse() - method in class proscene.PSInteractiveFrame
Returns `true` when the PSMouseGrabber grabs the PScene's mouse events.
grabsMouse() - method in class proscene.PSMouseGrabber
gridIsDrawn() - method in class proscene.PScene
Returns `true` if grid is currently being drawn and `false` otherwise.

## H

help() - method in class proscene.PScene
Displays the help text describing how interactivity actions are binded to the keyboard and mouse.
helpIsDrawn() - method in class proscene.PScene
Returns `true` if the `help()` is currently being drawn and `false` otherwise.
hide() - method in class codeanticode.glgraphics.GLTextureWindow
Hides the window.
hide() - method in class codeanticode.glgraphics.GLWindow
horizontalFieldOfView() - method in class proscene.PSCamera
Returns the horizontal field of view of the PSCamera (in radians).

## I

init() - method in class codeanticode.glgraphics.GLTexturePingPong
Inits the read and write indices.
init() - method in class codeanticode.glgraphics.GLTextureWindow
Initializes the window.
init() - method in class proscene.PScene
This method is called before the first drawing and should be overloaded to initialize stuff not initialized in `PApplet.setup()`.
init(boolean) - method in class codeanticode.glgraphics.GLTextureWindow
Initializes the window, setting the override property to the desired value.
init(int,int) - method in class codeanticode.glgraphics.GLTexture
Sets the size of the image and texture to width x height.
init(int,int,GLTextureParameters) - method in class codeanticode.glgraphics.GLTexture
Sets the size of the image and texture to width x height, and the parameters of the texture to params.
initAttributes(int) - method in class codeanticode.glgraphics.GLModel
Sets the number of attributes for this model.
initColors() - method in class codeanticode.glgraphics.GLModel
This method creates the colors, i.e.: it creates the internal OpenGL variables to store color data.
initNormals() - method in class codeanticode.glgraphics.GLModel
This method creates the normals, i.e.: it creates the internal OpenGL variables to store normal data.
initTexCoordArrays(int) - method in class codeanticode.glgraphics.GLTexturedPoint
initTexures(int) - method in class codeanticode.glgraphics.GLModel
This method creates n textures, i.e.: it creates the internal OpenGL variables to store n textures.
interactiveFrame() - method in class proscene.PScene
Returns the PSInteractiveFrame associated to this PScene.
interactiveFrameIsDrawn() - method in class proscene.PScene
Returns `true` if axis is currently being drawn and `false` otherwise.
inverse() - method in class proscene.PSFrame
Returns a PSFrame representing the inverse of the PSFrame space transformation.
inverse() - method in class proscene.PSQuaternion
Returns the inverse PSQuaternion (inverse rotation).
inverseCoordinatesOf(PVector) - method in class proscene.PSFrame
Returns the world coordinates of the point whose position in the PSFrame coordinate system is `src` (converts from Frame to world).
inverseMatrix() - method in class proscene.PSQuaternion
Returns the associated inverse rotation processing PMatrix3D.
inverseRotate(PVector) - method in class proscene.PSQuaternion
Returns the image of `v` by the PSQuaternion `inverse()` rotation.
inverseRotationMatrix() - method in class proscene.PSQuaternion
Returns the 3x3 inverse rotation matrix associated with the PSQuaternion.
inverseTransformOf(PVector) - method in class proscene.PSFrame
Returns the world transform of the vector whose coordinates in the PSFrame coordinate system is `src` (converts vectors from Frame to world).
invert() - method in class proscene.PSQuaternion
Sets the value of this PSQuaternion to the inverse of itself.
invert(PSQuaternion) - method in class proscene.PSQuaternion
Sets the value of this PSQuaternion to the PSQuaternion inverse of `q1`.
IODistance() - method in class proscene.PSCamera
Returns the user's inter-ocular distance (in meters).
isFlippedX() - method in class codeanticode.glgraphics.GLTexture
Returns true if the texture is flipped along the horizontal direction.
isFlippedY() - method in class codeanticode.glgraphics.GLTexture
Returns true if the texture is flipped along the vertical direction.
isFramebufferFixed() - static method in class codeanticode.glgraphics.GLState
isInMouseGrabberPool() - method in class proscene.PSInteractiveFrame
Returns `true` if the PSMouseGrabber is currently in the `mouseGrabberPool()` list.
isInMouseGrabberPool() - method in class proscene.PSMouseGrabber
isPopFramebufferEnabled() - static method in class codeanticode.glgraphics.GLState
isPushFramebufferEnabled() - static method in class codeanticode.glgraphics.GLState
isSingleFBO() - static method in class codeanticode.glgraphics.GLState
isSpinning() - method in class proscene.PSInteractiveFrame
Returns `true` when the PSInteractiveFrame is spinning.
isUsingSrcTexRes() - method in class codeanticode.glgraphics.GLTextureGrid
isVisible() - method in class codeanticode.glgraphics.GLTextureWindow
Returns whether the window is visible or not.
isVisible() - method in class codeanticode.glgraphics.GLWindow

## L

lightCountGL - field in class codeanticode.glgraphics.GLGraphics
lightCountGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
lightDiffuseGL - field in class codeanticode.glgraphics.GLGraphics
Diffuse colors for lights.
lightDiffuseGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Diffuse colors for lights.
lightFalloff(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
Set the light falloff rates for the last light that was created.
lightFalloff(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Set the light falloff rates for the last light that was created.
lightFalloffConstantGL - field in class codeanticode.glgraphics.GLGraphics
Light falloff
lightFalloffConstantGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light falloff
lightFalloffLinearGL - field in class codeanticode.glgraphics.GLGraphics
lightFalloffLinearGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
lightFalloffQuadraticGL - field in class codeanticode.glgraphics.GLGraphics
lightFalloffQuadraticGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
lightNormalGL - field in class codeanticode.glgraphics.GLGraphics
Light direction (normalized vector)
lightNormalGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light direction (normalized vector)
lightPositionGL - field in class codeanticode.glgraphics.GLGraphics
Light positions
lightPositionGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light positions
lights() - method in class codeanticode.glgraphics.GLGraphics
lights() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
lightSpecular(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
Set the specular color of the last light created.
lightSpecular(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Set the specular color of the last light created.
lightSpecularGL - field in class codeanticode.glgraphics.GLGraphics
Specular colors for lights.
lightSpecularGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Specular colors for lights.
lightSpotAngleCosGL - field in class codeanticode.glgraphics.GLGraphics
Cosine of light spot angle
lightSpotAngleCosGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Cosine of light spot angle
lightSpotAngleGL - field in class codeanticode.glgraphics.GLGraphics
Light spot angle
lightSpotAngleGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light spot angle
lightSpotConcentrationGL - field in class codeanticode.glgraphics.GLGraphics
Light spot concentration
lightSpotConcentrationGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light spot concentration
lightTypeGL - field in class codeanticode.glgraphics.GLGraphics
Light types
lightTypeGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
Light types
LINE_LOOP - static field in class codeanticode.glgraphics.GLConstants
LINE_STRIP - static field in class codeanticode.glgraphics.GLConstants
LINEAR - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the linear texture filter .
LINEAR_MIPMAP_LINEAR - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the linear/linear function to build mipmaps .
LINEAR_MIPMAP_NEAREST - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the linear/nearest function to build mipmaps .
linkProgram() - method in class codeanticode.glgraphics.GLSLShader
Links the shader program and validates it.
lnDif(PSQuaternion,PSQuaternion) - static method in class proscene.PSQuaternion
Simply returns
loadAttributes(int,String) - method in class codeanticode.glgraphics.GLModel
Loads attribute nth from binary file into model.
loadColors(String) - method in class codeanticode.glgraphics.GLModel
Loads colors from binary file into model.
loadFragmentShader(String) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the fragment shader contained in file.
loadFragmentShader(URL) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the fragment shader contained in the URL.
loadGeometryShader(String) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the geometry shader contained in file.
loadGeometryShader(URL) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the geometry shader contained in the URL
loadGLFont(String) - method in class codeanticode.glgraphics.GLGraphics
loadNormals(String) - method in class codeanticode.glgraphics.GLModel
Loads normals from binary file into model.
loadTexCoords(int,String) - method in class codeanticode.glgraphics.GLModel
Loads texture coordinates of nth texture from binary file into model.
loadTexture() - method in class codeanticode.glgraphics.GLTexture
Copy pixels to texture (loadPixels should have been called beforehand).
loadTexture(String) - method in class codeanticode.glgraphics.GLTexture
Load texture, pixels and image from file.
loadTexture(String,GLTextureParameters) - method in class codeanticode.glgraphics.GLTexture
Load texture, pixels and image from file using the specified texture parameters.
loadTexture(String,int) - method in class codeanticode.glgraphics.GLTexture
Load texture, pixels and image from file using the specified texture format.
loadTexture(String,int,int) - method in class codeanticode.glgraphics.GLTexture
Load texture, pixels and image from file using the specified texture format and filtering.
loadTextureFast() - method in class codeanticode.glgraphics.GLTexture
Copy pixels to texture using PBO (EXPERIMENTAL).
loadVertexShader(String) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the vertex shader contained in file.
loadVertexShader(URL) - method in class codeanticode.glgraphics.GLSLShader
Loads and compiles the vertex shader contained in the URL.
loadVertices(String) - method in class codeanticode.glgraphics.GLModel
Loads vertices from binary file into model.
localCoordinatesOf(PVector) - method in class proscene.PSFrame
Returns the PSFrame coordinates of a point `src` defined in the `referenceFrame()` coordinate system (converts from `referenceFrame()` to Frame).
localInverseCoordinatesOf(PVector) - method in class proscene.PSFrame
Returns the `referenceFrame()` coordinates of a point `src` defined in the PSFrame coordinate system (converts from Frame to `referenceFrame()`).
localInverseTransformOf(PVector) - method in class proscene.PSFrame
Returns the `referenceFrame()` transform of a vector `src` defined in the PSFrame coordinate system (converts vectors from PSFrame to `referenceFrame()`).
localTransformOf(PVector) - method in class proscene.PSFrame
Returns the PSFrame transform of a vector `src` defined in the `referenceFrame()` coordinate system (converts vectors from `referenceFrame()` to PSFrame).
log() - method in class proscene.PSQuaternion
Returns the logarithm of the PSQuaternion.
lookAt(PVector) - method in class proscene.PSCamera
Sets the PSCamera `orientation()`, so that it looks at point `target` (defined in the world coordinate system).

## M

magFilter - field in class codeanticode.glgraphics.GLTextureParameters
Texture magnification filter.
matrix() - method in class proscene.PSFrame
Returns the PMatrix3D associated with this PSFrame.
matrix() - method in class proscene.PSQuaternion
Returns the PMatrix3D (processing matrix) which represents the rotation matrix associated with the PSQuaternion.
MAX_LIGHTS_GL - static field in class codeanticode.glgraphics.GLGraphics
Maximum lights by default is 8, the minimum defined by OpenGL.
MAX_LIGHTS_GL - static field in class codeanticode.glgraphics.GLGraphicsOffScreen
Maximum lights by default is 8, the minimum defined by OpenGL.
minFilter - field in class codeanticode.glgraphics.GLTextureParameters
Texture minimization filter.
model(GLModel) - method in class codeanticode.glgraphics.GLGraphics
model(GLModel) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
model(GLModel,float,float,float,int,int,GLModelEffect) - method in class codeanticode.glgraphics.GLGraphics
model(GLModel,GLModelEffect) - method in class codeanticode.glgraphics.GLGraphics
model(GLModel,GLModelEffect) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
model(GLModel,int,int) - method in class codeanticode.glgraphics.GLGraphics
model(GLModel,int,int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
model(GLModel,int,int,GLModelEffect) - method in class codeanticode.glgraphics.GLGraphics
model(GLModel,int,int,GLModelEffect) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
modelX(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
modelY(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
modelZ(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
mouseClicked(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseDoubleClickEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveFrame
Overloading of `PSMouseGrabber.mouseDoubleClickEvent(MouseEvent,PSCamera)`.
mouseDoubleClickEvent(MouseEvent,PSCamera) - method in class proscene.PSMouseGrabber
Callback method called when the PSMouseGrabber `grabsMouse()` and a mouse button is double clicked.
mouseDragged(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseEntered(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseExited(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseGrabber() - method in class proscene.PScene
Returns the current PSMouseGrabber, or `null` if none currently grabs mouse events.
MouseGrabberPool - static field in class proscene.PSMouseGrabber
mouseGrabberPool() - static method in class proscene.PSInteractiveFrame
Static version of `getMouseGrabberPool()`.
mouseMoved(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseMoveEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveCameraFrame
Overloading of `PSInteractiveFrame.mouseMoveEvent(MouseEvent,PSCamera)`.
mouseMoveEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveFrame
Modifies the PSInteractiveFrame according to the mouse motion.
mouseMoveEvent(MouseEvent,PSCamera) - method in class proscene.PSMouseGrabber
Callback method called when the PSMouseGrabber `grabsMouse()` and the mouse is moved while a button is pressed.
mousePressed(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mousePressEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveFrame
Initiates the PSInteractiveFrame mouse manipulation.
mousePressEvent(MouseEvent,PSCamera) - method in class proscene.PSMouseGrabber
Callback method called when the PSMouseGrabber `grabsMouse()` and a mouse button is pressed.
mouseReleased(MouseEvent) - method in class proscene.PScene
Implementation of the MouseMotionListener interface method.
mouseReleaseEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveCameraFrame
Overloading of `PSInteractiveFrame.mouseReleaseEvent(MouseEvent,PSCamera)`.
mouseReleaseEvent(MouseEvent,PSCamera) - method in class proscene.PSInteractiveFrame
Stops the PSInteractiveFrame mouse manipulation.
mouseReleaseEvent(MouseEvent,PSCamera) - method in class proscene.PSMouseGrabber
Mouse release event callback method.
mouseWheelEvent(MouseWheelEvent,PSCamera) - method in class proscene.PSInteractiveCameraFrame
Overloading of `PSInteractiveFrame.mouseWheelEvent(MouseWheelEvent,PSCamera)`.
mouseWheelEvent(MouseWheelEvent,PSCamera) - method in class proscene.PSInteractiveFrame
Overloading of `PSMouseGrabber.mouseWheelEvent(MouseWheelEvent,PSCamera)`.
mouseWheelEvent(MouseWheelEvent,PSCamera) - method in class proscene.PSMouseGrabber
Callback method called when the MouseGrabber `grabsMouse()` and the mouse wheel is used.
mouseWheelMoved(MouseWheelEvent) - method in class proscene.PScene
Implementation of the MouseWheelListener interface method.
multiply(PSQuaternion) - method in class proscene.PSQuaternion
Sets the value of this PSQuaternion to the PSQuaternion product of itself and `q1`, (i.e., `this = this * q1`).
multiply(PSQuaternion,PSQuaternion) - static method in class proscene.PSQuaternion
Returns the PSQuaternion which is product of quaternions `q1` and `q2`.
multiply(PSQuaternion,PVector) - static method in class proscene.PSQuaternion
Returns the image of `v` by the rotation `q1`.
multiply(PVector) - method in class proscene.PSQuaternion
Returns the image of `v` by the rotation of this vector.
multiplyInverse(PSQuaternion) - method in class proscene.PSQuaternion
Multiplies this PSQuaternion by the inverse of PSQuaternion `q1` and places the value into this PSQuaternion (i.e., `this = this * q^-1`).
multiplyInverse(PSQuaternion,PSQuaternion) - static method in class proscene.PSQuaternion
Returns the product of PSQuaternion `q1` by the inverse of PSQuaternion `q2` (i.e., `q1 * q2^-1`).
multiTexAvailable - static field in class codeanticode.glgraphics.GLState

## N

NEAREST - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the nearest texture filter .
NEAREST_MIPMAP_LINEAR - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the nearest/linear function to build mipmaps .
NEAREST_MIPMAP_NEAREST - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the nearest/nearest function to build mipmaps .
negate() - method in class proscene.PSQuaternion
Negates all the coefficients of the PSQuaternion.
noBlend() - method in class codeanticode.glgraphics.GLModel
Disables blending.
noBlend() - method in class codeanticode.glgraphics.GLTextureFilter
Disables blending.
noLights() - method in class codeanticode.glgraphics.GLGraphics
noLights() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
nonTwoPowTexAvailable - static field in class codeanticode.glgraphics.GLState
normalize() - method in class proscene.PSQuaternion
Normalizes the value of this PSQuaternion in place and return its `norm`.
normals - field in class codeanticode.glgraphics.GLModel
ntex - field in class codeanticode.glgraphics.GLTexturedPoint

## O

orientation() - method in class proscene.PSCamera
Returns the PSCamera orientation, defined in the world coordinate system.
orientation() - method in class proscene.PSFrame
Returns the orientation of the PSFrame, defined in the world coordinate system.
ortho() - method in class codeanticode.glgraphics.GLGraphics
ortho() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
ortho(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
ortho(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
orthogonalVector(PVector) - static method in class proscene.PSUtility
Utility function that returns a PVector orthogonal to `v`.

## P

paint(float) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified gray tone.
paint(float,float) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified gray tone and alpha value.
paint(float,float,float) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified color components.
paint(float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified color components and alpha component.
paint(int) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified gray tone.
paint(int,float) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified rgb color and alpha value.
paint(int,int) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified gray tone and alpha value.
paint(int,int,int) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified color components.
paint(int,int,int,int) - method in class codeanticode.glgraphics.GLTexture
Paints the texture with the specified color components and alpha component.
paintTex(int,int,int,int,int) - method in class codeanticode.glgraphics.GLState
parsePrimitiveType(String) - static method in class codeanticode.glgraphics.GLUtils
parsePrimitiveTypeUpperCase(String) - static method in class codeanticode.glgraphics.GLUtils
parseVBOMode(String) - static method in class codeanticode.glgraphics.GLUtils
perspective() - method in class codeanticode.glgraphics.GLGraphics
perspective() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
perspective(float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
perspective(float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
physicalDistanceToScreen() - method in class proscene.PSCamera
Returns the physical distance between the user's eyes and the screen (in meters).
physicalScreenWidth() - method in class proscene.PSCamera
Returns the physical screen width, in meters.
pixelPSRatio(PVector) - method in class proscene.PSCamera
Returns the ratio between pixel and processing scene units at `position`.
POINT_SPRITES - static field in class codeanticode.glgraphics.GLConstants
pointLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
pointLight(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
popMatrix() - method in class codeanticode.glgraphics.GLGraphics
popMatrix() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
position() - method in class proscene.PSCamera
Returns the PSCamera position (the eye), defined in the world coordinate system.
position() - method in class proscene.PSFrame
Returns the position of the PSFrame, defined in the world coordinate system.
projectedCoordinatesOf(PVector) - method in class proscene.PSCamera
Convenience function that simply returns `return projectedCoordinatesOf(src, null)`
projectedCoordinatesOf(PVector,PSFrame) - method in class proscene.PSCamera
Returns the screen projected coordinates of a point `src` defined in the `frame` coordinate system.
projectOnLine(PVector,PVector) - method in class proscene.PSFrame
Translates the PSFrame so that its `position()` lies on the line defined by `origin` and `direction` (defined in the world coordinate system).
projectVectorOnAxis(PVector,PVector) - static method in class proscene.PSUtility
Utility function that simply projects `src` on the axis of direction `direction` that passes through the origin.
projectVectorOnPlane(PVector,PVector) - static method in class proscene.PSUtility
Utility function that simply projects `src` on the plane whose normal is `normal` that passes through the origin.
PSAxisPlaneConstraint - class proscene.PSAxisPlaneConstraint
An abstract class for PSFrame PSConstraints defined by an axis or a plane.
PSAxisPlaneConstraint() - constructor for class proscene.PSAxisPlaneConstraint
Default constructor.
PSCamera - class proscene.PSCamera
A perspective or orthographic camera.
PSCamera() - constructor for class proscene.PSCamera
Default constructor.
PSCameraConstraint - class proscene.PSCameraConstraint
A PSAxisPlaneConstraint defined in the camera coordinate system.
PSCameraConstraint(PSCamera) - constructor for class proscene.PSCameraConstraint
Creates a PSCameraConstraint, whose constrained directions are defined in the `camera()` coordinate system.
PScene - class proscene.PScene
A processing 3D interactive scene.
PScene(PApplet) - constructor for class proscene.PScene
All viewer parameters (display flags, scene parameters, associated objects...) are set to their default values.
PSConstraint - class proscene.PSConstraint
An interface class for Frame constraints.
PSFrame - class proscene.PSFrame
A PSFrame is a 3D coordinate system, represented by a `position()` and an `orientation()`.
PSFrame() - constructor for class proscene.PSFrame
Creates a default PSFrame.
PSFrame(PVector,PSQuaternion) - constructor for class proscene.PSFrame
Creates a PSFrame with a `position()` and an `orientation()`.
PSInteractiveCameraFrame - class proscene.PSInteractiveCameraFrame
The PSInteractiveCameraFrame class represents a PSInteractiveFrame with Camera specific mouse bindings.
PSInteractiveCameraFrame() - constructor for class proscene.PSInteractiveCameraFrame
Default constructor.
PSInteractiveFrame - class proscene.PSInteractiveFrame
A PSInteractiveFrame is a PSFrame that can be rotated and translated using the mouse.
PSInteractiveFrame() - constructor for class proscene.PSInteractiveFrame
Default constructor.
PSLocalConstraint - class proscene.PSLocalConstraint
A PSAxisPlaneConstraint defined in the PSFrame local coordinate system.
PSMouseGrabber - interface proscene.PSMouseGrabber
Interface for objects that grab mouse focus in a PScene.
PSQuaternion - class proscene.PSQuaternion
A 4 element unit quaternion represented by single precision floating point x,y,z,w coordinates.
PSQuaternion() - constructor for class proscene.PSQuaternion
Constructs and initializes a PSQuaternion to (0.0,0.0,0.0,1.0), i.e., an identity rotation.
PSQuaternion(float,float,float,float) - constructor for class proscene.PSQuaternion
Default constructor for PSQuaternion(float x, float y, float z, float w, boolean normalize), with `normalize=true`.
PSQuaternion(float,float,float,float,boolean) - constructor for class proscene.PSQuaternion
Constructs and initializes a PSQuaternion from the specified xyzw coordinates.
PSQuaternion(float[]) - constructor for class proscene.PSQuaternion
Default constructor for PSQuaternion(float[] q, boolean normalize) with `normalize=true`.
PSQuaternion(float[],boolean) - constructor for class proscene.PSQuaternion
Constructs and initializes a PSQuaternion from the array of length 4.
PSQuaternion(PSQuaternion) - constructor for class proscene.PSQuaternion
Copy constructor.
PSQuaternion(PVector,float) - constructor for class proscene.PSQuaternion
Constructs and initializes a PSQuaternion from the specified rotation `axis` (non null) and `angle` (in radians).
PSQuaternion(PVector,PVector) - constructor for class proscene.PSQuaternion
Constructs a PSQuaternion that will rotate from the `from` direction to the `to` direction.
PSUtility - class proscene.PSUtility
Utility class that complements the PVector and PMatrix classes.
PSWorldConstraint - class proscene.PSWorldConstraint
A PSAxisPlaneConstraint defined in the world coordinate system.
pushMatrix() - method in class codeanticode.glgraphics.GLGraphics
pushMatrix() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
putBuffer(float[]) - method in class codeanticode.glgraphics.GLTexture
Copies floatArray into the texture, assuming that the array has 4 components.
putBuffer(float[],int) - method in class codeanticode.glgraphics.GLTexture
Copies floatArray into the texture, using the specified number of channels.
putBuffer(int[]) - method in class codeanticode.glgraphics.GLTexture
Copies intArray into the texture, assuming that the array contains 4 color components and pixels are unsigned bytes.
putBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies intArray into the texture, using the specified format and assuming that the pixels are unsigned bytes.
putBuffer(int[],int,int) - method in class codeanticode.glgraphics.GLTexture
Copies intArray into the texture, using the format and type specified.
putByteBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies intArray into the texture, using the specified format and assuming that the pixels are unsigned bytes.
putImage(PImage) - method in class codeanticode.glgraphics.GLTexture
Puts img into texture, pixels and image.
putImage(PImage,GLTextureParameters) - method in class codeanticode.glgraphics.GLTexture
Puts img into texture, pixels and image.
putImage(PImage,int) - method in class codeanticode.glgraphics.GLTexture
Puts img into texture, pixels and image.
putImage(PImage,int,int) - method in class codeanticode.glgraphics.GLTexture
Puts img into texture, pixels and image.
putIntBuffer(int[],int) - method in class codeanticode.glgraphics.GLTexture
Copies intArray into the texture, using the specified format and assuming that the pixels are integers.
putPixelsIntoTexture(PImage) - method in class codeanticode.glgraphics.GLTexture
Puts pixels of img into texture only.
putPixelsIntoTexture(PImage,int,int,int,int) - method in class codeanticode.glgraphics.GLTexture
Puts the pixels of img inside the rectangle (x, y, x+w, y+h) into texture only.

## R

randomQuaternion() - static method in class proscene.PSQuaternion
Returns a random unit PSQuaternion.
ready() - method in class codeanticode.glgraphics.GLTextureWindow
Returns true or false depending on whether or not the internal renderer has been initialized.
ready() - method in class codeanticode.glgraphics.GLWindow
referenceFrame() - method in class proscene.PSFrame
Returns the reference PSFrame, in which coordinates system the PSFrame is defined.
removeFromMouseGrabberPool() - method in class proscene.PSInteractiveFrame
Removes the PSMouseGrabber from the `mouseGrabberPool()`.
removeFromMouseGrabberPool() - method in class proscene.PSMouseGrabber
render() - method in class codeanticode.glgraphics.GLModel
render() - method in class codeanticode.glgraphics.GLTexture
Draws the texture using the opengl commands, inside a rectangle located at the origin with the original size of the texture.
render() - method in class codeanticode.glgraphics.GLTextureWindow
Draws the window, if the renderer has been initialized.
render() - method in class codeanticode.glgraphics.GLWindow
render(float,float) - method in class codeanticode.glgraphics.GLTexture
Draws the texture using the opengl commands, inside a rectangle located at (x,y) with the original size of the texture.
render(float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Draws the texture using the opengl commands, inside a rectangle of width w and height h located at (x,y).
render(GLModelEffect) - method in class codeanticode.glgraphics.GLModel
render(int,int) - method in class codeanticode.glgraphics.GLModel
render(int,int,GLModelEffect) - method in class codeanticode.glgraphics.GLModel
render(int,int,int,int,int) - method in class codeanticode.glgraphics.GLTextureGridCompiled
render(int,int,int,int,int) - method in class codeanticode.glgraphics.GLTextureGridDirect
render(PGraphicsOpenGL,float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Draws the texture using the opengl commands, inside a rectangle of width w and height h located at (x,y) and using the specified renderer.
render(PGraphicsOpenGL,float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
resetLights() - method in class codeanticode.glgraphics.GLGraphics
resetLights() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
restoreGLMatrices() - method in class codeanticode.glgraphics.GLState
restoreGLState() - method in class codeanticode.glgraphics.GLState
restoreLights() - method in class codeanticode.glgraphics.GLGraphics
restoreLights() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
restoreView() - method in class codeanticode.glgraphics.GLState
revolveAroundPoint() - method in class proscene.PSCamera
The point the PSCamera revolves around its `PSInteractiveCameraFrame.revolveAroundPoint()`.
revolveAroundPoint() - method in class proscene.PSInteractiveCameraFrame
Returns the point the PSInteractiveCameraFrame revolves around when rotated.
rightVector() - method in class proscene.PSCamera
Returns the normalized right vector of the PSCamera, defined in the world coordinate system.
rotate(float) - method in class codeanticode.glgraphics.GLGraphics
rotate(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
rotate(float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
rotate(float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
rotate(float,float,float,float) - method in class proscene.PSFrame
Same as `rotate(PSQuaternion)` but with `float` PSQuaternion parameters.
rotate(PSQuaternion) - method in class proscene.PSFrame
Rotates the PSFrame by `q` (defined in the PSFrame coordinate system): `R = R*q`.
rotate(PVector) - method in class proscene.PSQuaternion
Returns the image of `v` by the PSQuaternion rotation.
rotateAroundPoint(PSQuaternion,PVector) - method in class proscene.PSFrame
Makes the PSFrame `rotate(PSQuaternion)` by `rotation` around `point`.
rotateAroundPointModifyingArgument(PSQuaternion,PVector) - method in class proscene.PSFrame
Same as `rotateAroundPoint(PSQuaternion,PVector)` but if there's a `constraint()` `rotation` is modified to satisfy it.
rotateModifyingArgument(PSQuaternion) - method in class proscene.PSFrame
Same as `rotate(PSQuaternion)` but if there's a `constraint()` `q` is modified to satisfy it.
rotateX(float) - method in class codeanticode.glgraphics.GLGraphics
rotateX(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
rotateY(float) - method in class codeanticode.glgraphics.GLGraphics
rotateY(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
rotateZ(float) - method in class codeanticode.glgraphics.GLGraphics
rotateZ(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
rotation() - method in class proscene.PSFrame
Returns the PSFrame rotation, defined with respect to the `referenceFrame()` (i.e, the current PSQuaternion orientation).
rotationConstraintDirection() - method in class proscene.PSAxisPlaneConstraint
Returns the axis direction used by the rotation constraint.
rotationConstraintType() - method in class proscene.PSAxisPlaneConstraint
Returns the rotation constraint Type.
rotationMatrix() - method in class proscene.PSQuaternion
Returns the 3x3 rotation matrix associated with the PSQuaternion.
rotationSensitivity() - method in class proscene.PSInteractiveFrame
Returns the influence of a mouse displacement on the PSInteractiveFrame rotation.

## S

s - field in class codeanticode.glgraphics.GLTexturedPoint
saveAttributes(int,String) - method in class codeanticode.glgraphics.GLModel
Saves attribute n-th in the model to binary file.
saveAttributes(String,>[],int) - method in class codeanticode.glgraphics.GLModel
Saves attributes in the given array list to binary file.
saveColors(String) - method in class codeanticode.glgraphics.GLModel
Saves colors in the model to binary file.
saveColors(String,>[]) - method in class codeanticode.glgraphics.GLModel
Saves colors in the given array list to binary file.
saveGLMatrices() - method in class codeanticode.glgraphics.GLState
saveGLState() - method in class codeanticode.glgraphics.GLState
saveLightCount - field in class codeanticode.glgraphics.GLGraphics
saveLightCount - field in class codeanticode.glgraphics.GLGraphicsOffScreen
saveLights() - method in class codeanticode.glgraphics.GLGraphics
saveLights() - method in class codeanticode.glgraphics.GLGraphicsOffScreen
saveNormals(String) - method in class codeanticode.glgraphics.GLModel
Saves normals in the model to binary file.
saveNormals(String,ArrayList) - method in class codeanticode.glgraphics.GLModel
Saves normals in the given array list to binary file.
saveTexCoords(int,String) - method in class codeanticode.glgraphics.GLModel
Saves colors in the model to binary file.
saveTexCoords(String,ArrayList) - method in class codeanticode.glgraphics.GLModel
Saves texture coordinates in the given array list to binary file.
saveVertices(String) - method in class codeanticode.glgraphics.GLModel
Saves vertices in the model to binary file.
saveVertices(String,ArrayList) - method in class codeanticode.glgraphics.GLModel
Saves vertices in the given array list to binary file.
saveView() - method in class codeanticode.glgraphics.GLState
scale(float) - method in class codeanticode.glgraphics.GLGraphics
scale(float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
scale(float,float) - method in class codeanticode.glgraphics.GLGraphics
scale(float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
scale(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
scale(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
scaleCoords(int,int) - method in class codeanticode.glgraphics.GLTexturedPoint
scene() - method in class proscene.PScene
The method that actually defines the scene.
sceneCenter() - method in class proscene.PSCamera
Returns the position of the scene center, defined in the world coordinate system.
sceneCenter() - method in class proscene.PScene
Returns the scene center.
sceneRadius() - method in class proscene.PSCamera
Returns the radius of the scene observed by the Camera.
sceneRadius() - method in class proscene.PScene
Returns the scene radius.
screenHeight() - method in class proscene.PSCamera
Returns the height (in pixels) of the PSCamera screen.
screenWidth() - method in class proscene.PSCamera
Returns the width (in pixels) of the PSCamera screen.
screenX(float,float) - method in class codeanticode.glgraphics.GLGraphics
screenX(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
screenY(float,float) - method in class codeanticode.glgraphics.GLGraphics
screenY(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
screenZ(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
setAspectRatio(float) - method in class proscene.PSCamera
Defines the PSCamera `aspectRatio()`.
setAsUndefined() - method in class codeanticode.glgraphics.GLTexturedPoint
setAttribArrayPointer(int,boolean,int) - method in class codeanticode.glgraphics.GLSLShaderAttribute
setAttribute() - method in class codeanticode.glgraphics.GLSLShaderAttribute
Copies the parameter value to the GPU.
setAttribute(int,String,int) - method in class codeanticode.glgraphics.GLModel
Sets the name and size (number of components per vertex) of attribute i.
setAxisIsDrawn() - method in class proscene.PScene
Convenience function that simply calls `setAxisIsDrawn(true)`
setAxisIsDrawn(boolean) - method in class proscene.PScene
Sets the display of the axis according to `draw`
setBlendMode(int) - method in class codeanticode.glgraphics.GLGraphics
setBlendMode(int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
setBlendMode(int) - method in class codeanticode.glgraphics.GLModel
Enables blending and sets the mode.
setBlendMode(int) - method in class codeanticode.glgraphics.GLTextureFilter
Enables blending and sets the mode.
setCamera(PSCamera) - method in class proscene.PScene
Replaces the current `camera()` with `camera`
setCameraType(PSCamera.Type) - method in class proscene.PScene
Sets the `camera()` type.
setColors(float) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified gray tone.
setColors(float,float) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified gray tone and alpha value.
setColors(float,float,float) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified color components.
setColors(float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified color components and alpha component.
setColors(int,float) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified rgb color and alpha value.
setColors(int,int) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified gray tone and alpha value.
setColors(int,int,int) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified color components.
setColors(int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Paints all vertices with the specified color components and alpha component.
setConstraint(PSConstraint) - method in class proscene.PSFrame
setCoordinateSystemConvention(proscene.PSInteractiveFrame.CoordinateSystemConvention) - method in class proscene.PSInteractiveFrame
Defines the coordinate system convention of this PSInteractiveFrame, i.e., how mouse displacements are mapped into the virtual world.
setCoordinateSystemLeftHanded() - method in class proscene.PSCamera
Wrapper function that simply calls `frame().setCoordinateSystemConvention(CoordinateSystemConvention.LEFT_HANDED)`
setCoordinateSystemRightHanded() - method in class proscene.PSCamera
Wrapper function that simply calls `frame().setCoordinateSystemConvention(CoordinateSystemConvention.RIGHT_HANDED)`
setDrawInteractiveFrame() - method in class proscene.PScene
setDrawInteractiveFrame(boolean) - method in class proscene.PScene
Sets the interactivity to the PScene `interactiveFrame()` instance according to `draw`
setDrawWithConstraint(boolean) - method in class proscene.PScene
Constrain frame displacements according to `wConstraint`
setEmission(float) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified gray tone.
setEmission(float,float) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified gray tone and alpha value.
setEmission(float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified color components.
setEmission(float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified color components and alpha component.
setEmission(int,float) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified rgb color and alpha value.
setEmission(int,int) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified gray tone and alpha value.
setEmission(int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified color components.
setEmission(int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the emissive color to the specified color components and alpha component.
setFieldOfView(float) - method in class proscene.PSCamera
Sets the vertical `fieldOfView()` of the PSCamera (in radians).
setFlippedX(boolean) - method in class codeanticode.glgraphics.GLTexture
Sets the texture as flipped or not flipped on the horizontal direction.
setFlippedY(boolean) - method in class codeanticode.glgraphics.GLTexture
Sets the texture as flipped or not flipped on the vertical direction.
setFlySpeed(float) - method in class proscene.PSCamera
Sets the PSCamera `flySpeed()`.
setFlySpeed(float) - method in class proscene.PSInteractiveCameraFrame
Sets the flySpeed(), defined in processing scene units.
setFlyUpVector(PVector) - method in class proscene.PSInteractiveCameraFrame
Sets the `flyUpVector()`, defined in the world coordinate system.
setFocusDistance(float) - method in class proscene.PSCamera
Sets the focusDistance(), in processing scene units.
setFOVToFitScene() - method in class proscene.PSCamera
Changes the PSCamera `fieldOfView()` so that the entire scene (defined by `PScene.sceneCenter()` and `PScene.sceneRadius()` is visible from the PSCamera `position()`.
setFrame(PSInteractiveCameraFrame) - method in class proscene.PSCamera
Sets the PSCamera `frame()`.
setFramebufferFixed(boolean) - static method in class codeanticode.glgraphics.GLState
setGrabsMouse(boolean) - method in class proscene.PSInteractiveFrame
Sets the `grabsMouse()` flag.
setGrabsMouse(boolean) - method in class proscene.PSMouseGrabber
setGridIsDrawn() - method in class proscene.PScene
Convenience function that simply calls `setGridIsDrawn(true)`
setGridIsDrawn(boolean) - method in class proscene.PScene
Sets the display of the grid according to `draw`
setHelpIsDrawn() - method in class proscene.PScene
Convenience function that simply calls `setHelpIsDrawn(true)`
setHelpIsDrawn(boolean) - method in class proscene.PScene
Sets the display of the `help()` according to `draw`
setHorizontalFieldOfView(float) - method in class proscene.PSCamera
Sets the `horizontalFieldOfView()` of the PSCamera (in radians).
setInteractiveFrame(PSInteractiveFrame) - method in class proscene.PScene
Sets `frame` as the PSInteractiveFrame associated to this PScene.
setIODistance(float) - method in class proscene.PSCamera
Sets the `IODistance()`.
setLineWidth(float) - method in class codeanticode.glgraphics.GLModel
setModelViewMatrix(PMatrix3D) - method in class proscene.PSCamera
Sets the modelview matrix associated with the PSCamera directly from a PCamera.
setNewTex(int) - method in class codeanticode.glgraphics.GLTexturePingPong
Sets the value for the write texture.
setOffScreenRenderer(GLGraphicsOffScreen) - method in class codeanticode.glgraphics.GLGraphics
setOldTex(int) - method in class codeanticode.glgraphics.GLTexturePingPong
Sets the value for the read texture.
setOrientation(float,float) - method in class proscene.PSCamera
Sets the `orientation()` of the PSCamera using polar coordinates.
setOrientation(float,float,float,float) - method in class proscene.PSFrame
Same as `setOrientation(PSQuaternion)`, but with `float` parameters.
setOrientation(PSQuaternion) - method in class proscene.PSCamera
Sets the PSCamera `orientation()`, defined in the world coordinate system.
setOrientation(PSQuaternion) - method in class proscene.PSFrame
Sets the `orientation()` of the PSFrame, defined in the world coordinate system.
setOrientationWithConstraint(PSQuaternion) - method in class proscene.PSFrame
Same as `setOrientation(PSQuaternion)`, but if there's a `constraint()` it is satisfied (without modifying `orientation`).
setOrthographicView(int,int) - method in class codeanticode.glgraphics.GLState
setOverride(boolean) - method in class codeanticode.glgraphics.GLWindow
Sets the value of the override variable, used to skip automatic rendering in the GLGraphics renderer.
setParameter() - method in class codeanticode.glgraphics.GLSLShaderUniform
Copies the parameter value to the GPU.
setParameterValue(int,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value when the type is float.
setParameterValue(int,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value when the type is float.
setParameterValue(int,float[]) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value for any type.
setParameterValue(int,float[]) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value for any type.
setParameterValue(int,int) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value when the type is int.
setParameterValue(int,int) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value when the type is int.
setParameterValue(int,int,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the ith value for the parameter (only valid for vec or mat types).
setParameterValue(int,int,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the ith value for the parameter (only valid for vec or mat types).
setParameterValue(int,int,int,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the (ith, jth) value for the parameter (only valid for mat types).
setParameterValue(int,int,int,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the (ith, jth) value for the parameter (only valid for mat types).
setParameterValue(String,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value when the type is float.
setParameterValue(String,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value when the type is float.
setParameterValue(String,float[]) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value for any type.
setParameterValue(String,float[]) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value for any type.
setParameterValue(String,int) - method in class codeanticode.glgraphics.GLModelEffect
Sets the parameter value when the type is int.
setParameterValue(String,int) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the parameter value when the type is int.
setParameterValue(String,int,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the ith value for the parameter (only valid for vec or mat types).
setParameterValue(String,int,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the ith value for the parameter (only valid for vec or mat types).
setParameterValue(String,int,int,float) - method in class codeanticode.glgraphics.GLModelEffect
Sets the (ith, jth) value for the parameter (only valid for mat types).
setParameterValue(String,int,int,float) - method in class codeanticode.glgraphics.GLTextureFilter
Sets the (ith, jth) value for the parameter (only valid for mat types).
setParameterValues(float[]) - method in class codeanticode.glgraphics.GLModelEffect
Sets all the value for all the parameters, by means of a parameter list of variable length.
setParameterValues(float[]) - method in class codeanticode.glgraphics.GLTextureFilter
Sets all the value for all the parameters, by means of a parameter list of variable length.
setPhysicalDistanceToScreen(float) - method in class proscene.PSCamera
Sets the `physicalDistanceToScreen()`.
setPhysicalScreenWidth(float) - method in class proscene.PSCamera
Sets the physical screen (monitor or projected wall) width (in meters).
setPointSize(float) - method in class codeanticode.glgraphics.GLModel
setPosition(float,float,float) - method in class proscene.PSFrame
Same as `setPosition(float,float,float)`, but with `float` parameters.
setPosition(PVector) - method in class proscene.PSCamera
Sets the PSCamera `position()` (the eye), defined in the world coordinate system.
setPosition(PVector) - method in class proscene.PSFrame
Sets the `position()` of the PSFrame, defined in the world coordinate system.
setPositionWithConstraint(PVector) - method in class proscene.PSFrame
Same as `setPosition(PVector)`, but if there's a `constraint()` it is satisfied (without modifying `position`).
setProjectionMatrix(PMatrix3D) - method in class proscene.PSCamera
Sets the projection matrix associated with the PSCamera directly from a PCamera.
setRandom(float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Sets the texture to have random values in the ranges specified for each component.
setRandomDir2D(float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Sets the texture to have random values in the first two coordinates chosen on the circular region defined by the parameters.
setRandomDir3D(float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Sets the texture to have random values in the first three coordinates chosen on the spherical region defined by the parameters.
setReadTex(int) - method in class codeanticode.glgraphics.GLTexturePingPong
Sets the value for the read texture.
setReferenceFrame(PSFrame) - method in class proscene.PSFrame
Sets the `referenceFrame()` of the PSFrame.
setReflection(float) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified gray tone.
setReflection(float,float) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified gray tone and alpha value.
setReflection(float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified color components.
setReflection(float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified color components and alpha component.
setReflection(int,float) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified rgb color and alpha value.
setReflection(int,int) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified gray tone and alpha value.
setReflection(int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified color components.
setReflection(int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the specular color to the specified color components and alpha component.
setRevolveAroundPoint(PVector) - method in class proscene.PSCamera
Changes the `revolveAroundPoint()` to `rap` (defined in the world coordinate system).
setRevolveAroundPoint(PVector) - method in class proscene.PSInteractiveCameraFrame
Sets the `revolveAroundPoint()`, defined in the world coordinate system.
setRotation(float,float,float,float) - method in class proscene.PSFrame
Same as `setRotation(PSQuaternion)` but with `float` PSQuaternion parameters.
setRotation(PSQuaternion) - method in class proscene.PSFrame
Set the current rotation PSQuaternion.
setRotationConstraint(proscene.PSAxisPlaneConstraint.Type,PVector) - method in class proscene.PSAxisPlaneConstraint
Simply calls `setRotationConstraintType(PSAxisPlaneConstraint.Type)` and `setRotationConstraintDirection(PVector)`.
setRotationConstraintDirection(PVector) - method in class proscene.PSAxisPlaneConstraint
Defines the `rotationConstraintDirection()`.
setRotationConstraintType(proscene.PSAxisPlaneConstraint.Type) - method in class proscene.PSAxisPlaneConstraint
Set the Type of the `rotationConstraintType()`.
setRotationSensitivity(float) - method in class proscene.PSInteractiveFrame
Defines the `rotationSensitivity()`.
setRotationWithConstraint(PSQuaternion) - method in class proscene.PSFrame
Same as `setRotation(PSQuaternion)`, if there's a `constraint()` it's satisfied (without modifying `rotation`).
setSceneBoundingBox(PVector,PVector) - method in class proscene.PSCamera
Similar to `setSceneRadius(float)` and `setSceneCenter(PVector)`, but the scene limits are defined by a (world axis aligned) bounding box.
setSceneBoundingBox(PVector,PVector) - method in class proscene.PScene
Sets the `sceneCenter()` and `sceneRadius()` of the PScene from the `min` and `max` PVectors.
setSceneCenter(PVector) - method in class proscene.PSCamera
Sets the `sceneCenter()`.
setSceneCenter(PVector) - method in class proscene.PScene
Sets the `sceneCenter()` of the PScene.
setSceneRadius(float) - method in class proscene.PSCamera
Sets the `sceneRadius()` value.
setSceneRadius(float) - method in class proscene.PScene
Sets the `sceneRadius()` of the PScene.
setScreenWidthAndHeight(int,int) - method in class proscene.PSCamera
Sets PSCamera `screenWidth()` and `screenHeight()` (expressed in pixels).
setShader(GLSLShader) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the shader this parameter corresponds to.
setSize(int,int) - method in class codeanticode.glgraphics.GLGraphics
setSize(int,int) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
setSpinningQuaternion(PSQuaternion) - method in class proscene.PSInteractiveFrame
Defines the `spinningQuaternion()`.
setSpinningSensitivity(float) - method in class proscene.PSInteractiveFrame
Defines the `spinningSensitivity()`.
setSpriteFadeSize(float) - method in class codeanticode.glgraphics.GLModel
setTexCoords(int,float,float) - method in class codeanticode.glgraphics.GLTexturedPoint
setTexCoordsDelta(int,float,float) - method in class codeanticode.glgraphics.GLTexturedPoint
setTexture(GLTexture) - method in class codeanticode.glgraphics.GLTextureWindow
setTexture(int,GLTexture) - method in class codeanticode.glgraphics.GLModel
Sets the i-th texture.
setTextures(GLTexture[]) - method in class codeanticode.glgraphics.GLModelEffect
settingAsReferenceFrameWillCreateALoop(PSFrame) - method in class proscene.PSFrame
Returns `true` if setting `frame` as the PSFrame's `referenceFrame()` would create a loop in the PSFrame hierarchy.
setTint(float) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified gray tone.
setTint(float,float) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified gray tone and alpha value.
setTint(float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified color components.
setTint(float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified color components and alpha component.
setTint(int,float) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified rgb color and alpha value.
setTint(int,int) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified gray tone and alpha value.
setTint(int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified color components.
setTint(int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Set the tint color to the specified color components and alpha component.
setTranslation(float,float,float) - method in class proscene.PSFrame
Same as `setTranslation(PVector)`, but with `float` parameters.
setTranslation(PVector) - method in class proscene.PSFrame
Sets the `translation()` of the frame, locally defined with respect to the `referenceFrame()`.
setTranslationConstraint(proscene.PSAxisPlaneConstraint.Type,PVector) - method in class proscene.PSAxisPlaneConstraint
Simply calls `setTranslationConstraintType(PSAxisPlaneConstraint.Type)` and `setTranslationConstraintDirection(PVector)`.
setTranslationConstraintDirection(PVector) - method in class proscene.PSAxisPlaneConstraint
Defines the `translationConstraintDirection()`.
setTranslationConstraintType(proscene.PSAxisPlaneConstraint.Type) - method in class proscene.PSAxisPlaneConstraint
Sets the Type() of the `translationConstraintType()`.
setTranslationSensitivity(float) - method in class proscene.PSInteractiveFrame
Defines the `translationSensitivity()`.
setTranslationWithConstraint(PVector) - method in class proscene.PSFrame
Same as `setTranslation(PVector)`, but if there's a `constraint()` it is satisfied (without modifying `translation`).
setType(proscene.PSCamera.Type) - method in class proscene.PSCamera
Defines the PSCamera `type()`.
setupGeometryShader(String,String,int) - method in class codeanticode.glgraphics.GLSLShader
Configures the geometry shader by setting the primitive types that it will take as input and return as output, and the maximum number of vertices that will generate.
setUpVector(PVector) - method in class proscene.PSCamera
Convenience function that simply calls `setUpVector(up, true)`.
setUpVector(PVector,boolean) - method in class proscene.PSCamera
Rotates the PSCamera so that its `upVector()` becomes `up` (defined in the world coordinate system).
setValue(float) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the parameter value when the type is float.
setValue(float,float,float,float) - method in class codeanticode.glgraphics.GLTexture
Sets the texture to have the same given float value in each component.
setValue(float[]) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the parameter value for any type.
setValue(int) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the parameter value when the type is int.
setValue(int,float) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the ith value for the parameter (only valid for vec or mat types).
setValue(int,int,float) - method in class codeanticode.glgraphics.GLSLShaderVariable
Sets the (ith, jth) value for the parameter (only valid for mat types).
setVertexAttribs(int[],String[],int[]) - method in class codeanticode.glgraphics.GLModelEffect
setViewDirection(PVector) - method in class proscene.PSCamera
Rotates the PSCamera so that its `viewDirection()` is `direction` (defined in the world coordinate system).
setWheelSensitivity(float) - method in class proscene.PSInteractiveFrame
Defines the `wheelSensitivity()`.
setWriteTex(int) - method in class codeanticode.glgraphics.GLTexturePingPong
Sets the value for the write texture.
setZClippingCoefficient(float) - method in class proscene.PSCamera
Sets the `zClippingCoefficient()` value.
setZero() - method in class codeanticode.glgraphics.GLTexture
Sets to zero all the pixels of the texture.
setZNearCoefficient(float) - method in class proscene.PSCamera
Sets the `zNearCoefficient()` value.
shadersAvailable - static field in class codeanticode.glgraphics.GLState
shareContext(GLCanvas) - method in class codeanticode.glgraphics.GLGraphics
Creates a new context for canvas that is shared with the context of GLGraphics.
shareContext(GLCanvas) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Creates a new context for canvas that is shared with the context of GLGraphics.
shareContext(GLDrawable) - method in class codeanticode.glgraphics.GLGraphics
Creates a new context for drawable that is shared with the context of GLGraphics.
shareContext(GLDrawable) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
Creates a new context for drawable that is shared with the context of GLGraphics.
show() - method in class codeanticode.glgraphics.GLTextureWindow
Shows the window.
show() - method in class codeanticode.glgraphics.GLWindow
showEntireScene() - method in class proscene.PSCamera
Moves the PSCamera so that the entire scene is visible.
showEntireScene() - method in class proscene.PScene
Convenience wrapper function that simply calls `camera().showEntireScene()`
slerp(PSQuaternion,PSQuaternion,float) - static method in class proscene.PSQuaternion
Wrapper function that simply calls `slerp(a, b, t, true)`.
slerp(PSQuaternion,PSQuaternion,float,boolean) - static method in class proscene.PSQuaternion
Returns the slerp interpolation of quaternions `a` and `b`, at time `t`.
spin() - method in class proscene.PSInteractiveCameraFrame
Overloading of `PSInteractiveFrame.spin()`.
spin() - method in class proscene.PSInteractiveFrame
Rotates the PSInteractiveFrame by its `spinningQuaternion()`.
spinningQuaternion() - method in class proscene.PSInteractiveFrame
Returns the incremental rotation that is applied by `spin()` to the PSInteractiveFrame orientation when it `isSpinning()`.
spinningSensitivity() - method in class proscene.PSInteractiveFrame
Returns the minimum mouse speed required (at button release) to make the PSInteractiveFrame `spin()`.
spotLight(float,float,float,float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphics
spotLight(float,float,float,float,float,float,float,float,float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
squad(PSQuaternion,PSQuaternion,PSQuaternion,PSQuaternion,float) - static method in class proscene.PSQuaternion
Returns the slerp interpolation of the two quaternions `a` and `b`, at time `t`, using tangents `tgA` and `tgB`.
squadTangent(PSQuaternion,PSQuaternion,PSQuaternion) - static method in class proscene.PSQuaternion
Returns a tangent PSQuaternion for `center`, defined by `before` and `after` quaternions.
squaredNorm(PSQuaternion) - static method in class proscene.PSQuaternion
Utility function that returns the squared norm of the PSQuaternion.
squaredNorm(PVector) - static method in class proscene.PSUtility
Utility function that returns the squared norm of the PVector.
srcTexInUse() - method in class codeanticode.glgraphics.GLTextureGrid
start() - method in class codeanticode.glgraphics.GLModelEffect
start() - method in class codeanticode.glgraphics.GLSLShader
Starts the execution of the shader program.
startSpinning(int) - method in class proscene.PSInteractiveFrame
Starts the spinning of the PSInteractiveFrame.
STATIC - static field in class codeanticode.glgraphics.GLModel
stop() - method in class codeanticode.glgraphics.GLModelEffect
stop() - method in class codeanticode.glgraphics.GLSLShader
Stops the execution of the shader program.
stopSpinning() - method in class proscene.PSInteractiveFrame
Stops the spinning motion started using `startSpinning(int)`.
STREAM - static field in class codeanticode.glgraphics.GLModel
swap() - method in class codeanticode.glgraphics.GLTexturePingPong
Swaps the two textures, read becomes write and viceversa.

## T

t - field in class codeanticode.glgraphics.GLTexturedPoint
target - field in class codeanticode.glgraphics.GLTextureParameters
Texture target.
TEX_BYTE - static field in class codeanticode.glgraphics.GLConstants
This constant identifies an unsigned byte texture buffer.
TEX_FILTER_PARAM_FLOAT - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_INT - static field in class codeanticode.glgraphics.GLConstants
These constants identifies the texture parameter types.
TEX_FILTER_PARAM_MAT2 - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_MAT3 - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_MAT4 - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_VEC2 - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_VEC3 - static field in class codeanticode.glgraphics.GLConstants
TEX_FILTER_PARAM_VEC4 - static field in class codeanticode.glgraphics.GLConstants
TEX_INT - static field in class codeanticode.glgraphics.GLConstants
This constant identifies an integer texture buffer.
TEX_NORM - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture target GL_TEXTURE_2D, that is, textures with normalized coordinates.
TEX_ONEDIM - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture target GL_TEXTURE_1D, that is, one-dimensional textures.
TEX_RECT - static field in class codeanticode.glgraphics.GLConstants
This constant identifies the texture target GL_TEXTURE_RECTANGLE, that is, textures with non-normalized coordinates
texCoords - field in class codeanticode.glgraphics.GLModel
textures - field in class codeanticode.glgraphics.GLModel
tint(int) - method in class codeanticode.glgraphics.GLTextureWindow
Sets the texture tint color.
toggleAxisIsDrawn() - method in class proscene.PScene
Toggles the state of `axisIsDrawn()`.
toggleCameraMode() - method in class proscene.PScene
Toggles the `camera()` mode between arc-ball and fly.
toggleCameraType() - method in class proscene.PScene
Toggles the `camera()` type between PERSPECTIVE and ORTHOGRAPHIC.
toggleDrawInteractiveFrame() - method in class proscene.PScene
Toggles the `interactiveFrame()` interactivity on and off.
toggleDrawWithConstraint() - method in class proscene.PScene
Toggles the draw with constraint on and off.
toggleGridIsDrawn() - method in class proscene.PScene
Toggles the state of `gridIsDrawn()`.
toggleHelpIsDrawn() - method in class proscene.PScene
Toggles the state of the `helpIsDrawn()`
transformOf(PVector) - method in class proscene.PSFrame
Returns the PSFrame transform of a vector `src` defined in the world coordinate system (converts vectors from world to Frame).
transformOfFrom(PVector,PSFrame) - method in class proscene.PSFrame
Returns the PSFrame transform of the vector whose coordinates in the `from` coordinate system is `src` (converts vectors from `from` to PSFrame).
transformOfIn(PVector,PSFrame) - method in class proscene.PSFrame
Returns the `in` transform of the vector whose coordinates in the PSFrame coordinate system is `src` (converts vectors from PSFrame to `in`).
translate(float,float) - method in class codeanticode.glgraphics.GLGraphics
translate(float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
translate(float,float,float) - method in class codeanticode.glgraphics.GLGraphics
translate(float,float,float) - method in class codeanticode.glgraphics.GLGraphicsOffScreen
translate(float,float,float) - method in class proscene.PSFrame
Same as `translate(PVector)` but with `float` parameters.
translate(PVector) - method in class proscene.PSFrame
Translates the PSFrame of `t` (defined in the PSFrame coordinate system).
translateModifyingArgument(PVector) - method in class proscene.PSFrame
Same as `translate(PVector)` but if there's a `constraint()` `t` is modified to satisfy it.
translation() - method in class proscene.PSFrame
Returns the PSFrame translation, defined with respect to the `referenceFrame()`.
translationConstraintDirection() - method in class proscene.PSAxisPlaneConstraint
Returns the direction used by the translation constraint.
translationConstraintType() - method in class proscene.PSAxisPlaneConstraint
Returns the translation constraint Type.
translationSensitivity() - method in class proscene.PSInteractiveFrame
Returns the influence of a mouse displacement on the PSInteractiveFrame translation.
transpose3x3Matrix(float[][]) - static method in class proscene.PSUtility
Utility function that returns the transpose of the given 3X3 matrix.
transpose4x4Matrix(float[][]) - static method in class proscene.PSUtility
Utility function that returns the transpose of the given 4X4 matrix.
type() - method in class proscene.PSCamera
Returns the PSCamera.Type of the PSCamera.

## U

updateAttribute(int,float) - method in class codeanticode.glgraphics.GLModel
updateAttribute(int,float,float) - method in class codeanticode.glgraphics.GLModel
updateAttribute(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
updateAttribute(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
updateAttribute(int,float[]) - method in class codeanticode.glgraphics.GLModel
updateAttributes(int,>[]) - method in class codeanticode.glgraphics.GLModel
updateAttributes(int,float[]) - method in class codeanticode.glgraphics.GLModel
updateColor(int,float) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified gray tone.
updateColor(int,float,float) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified gray tone and alpha value.
updateColor(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified color components.
updateColor(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified color components and alpha component.
updateColor(int,int,float) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified rgb color and alpha value.
updateColor(int,int,int) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified gray tone and alpha value.
updateColor(int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified color components.
updateColor(int,int,int,int,int) - method in class codeanticode.glgraphics.GLModel
Paints the vertex i with the specified color components and alpha component.
updateColors(>[]) - method in class codeanticode.glgraphics.GLModel
updateColors(float[]) - method in class codeanticode.glgraphics.GLModel
updateNormal(int,float,float) - method in class codeanticode.glgraphics.GLModel
updateNormal(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
updateNormal(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
updateNormals(ArrayList) - method in class codeanticode.glgraphics.GLModel
updateNormals(float[]) - method in class codeanticode.glgraphics.GLModel
updateTexCoord(int,float,float) - method in class codeanticode.glgraphics.GLModel
updateTexCoords(int,ArrayList) - method in class codeanticode.glgraphics.GLModel
updateTexCoords(int,float[]) - method in class codeanticode.glgraphics.GLModel
updateTexture() - method in class codeanticode.glgraphics.GLTexture
Copy texture to pixels (doesn't call updatePixels).
updateVertex(int,float,float) - method in class codeanticode.glgraphics.GLModel
Updates the coordinates of vertex idx.
updateVertex(int,float,float,float) - method in class codeanticode.glgraphics.GLModel
Updates the coordinates of vertex idx.
updateVertex(int,float,float,float,float) - method in class codeanticode.glgraphics.GLModel
Updates the coordinates of vertex idx.
updateVertices(ArrayList) - method in class codeanticode.glgraphics.GLModel
Updates all the vertices using the coordinates provided in the array vertArray.
updateVertices(float[]) - method in class codeanticode.glgraphics.GLModel
Updates all the vertices using the coordinates provided in the array vertArray.
upVector() - method in class proscene.PSCamera
Returns the normalized up vector of the PSCamera, defined in the world coordinate system.
usingMipmaps() - method in class codeanticode.glgraphics.GLTexture
Returns true or false whether or not the texture is using mipmaps.

## V

vbosAvailable - static field in class codeanticode.glgraphics.GLState
vertices - field in class codeanticode.glgraphics.GLModel
vertShadersAvailable - static field in class codeanticode.glgraphics.GLState
viewDirection() - method in class proscene.PSCamera
Returns the normalized view direction of the PSCamera, defined in the world coordinate system.

## W

w - field in class proscene.PSQuaternion
The w coordinate which corresponds to the scalar part of the PSQuaternion.
worldCoordinatesOf(PVector) - method in class proscene.PSCamera
Returns the world coordinates of the point whose position `src` is defined in the PSCamera coordinate system.
worldInverse() - method in class proscene.PSFrame
Returns the `inverse()` of the PSFrame world transformation.
worldMatrix() - method in class proscene.PSFrame
Returns the processing transformation matrix represented by the PSFrame.

## X

x - field in class codeanticode.glgraphics.GLTexturedPoint
x - field in class proscene.PSQuaternion
The x coordinate, i.e., the x coordinate of the vector part of the PSQuaternion.

## Y

y - field in class codeanticode.glgraphics.GLTexturedPoint
y - field in class proscene.PSQuaternion
The y coordinate, i.e., the y coordinate of the vector part of the PSQuaternion.

## Z

z - field in class proscene.PSQuaternion
The z coordinate, i.e., the z coordinate of the vector part of the PSQuaternion.
zClippingCoefficient() - method in class proscene.PSCamera
Returns the coefficient used to position the near and far clipping planes.
zeroBufferGL - field in class codeanticode.glgraphics.GLGraphics
zeroBufferGL - field in class codeanticode.glgraphics.GLGraphicsOffScreen
zFar() - method in class proscene.PSCamera
Returns the far clipping plane distance used by the Camera projection matrix.
zNear() - method in class proscene.PSCamera
Returns the near clipping plane distance used by the PSCamera projection matrix.
zNearCoefficient() - method in class proscene.PSCamera
Returns the coefficient which is used to set `zNear()` when the PSCamera is inside the sphere defined by `sceneCenter()` and `zClippingCoefficient()` * `sceneRadius()`.

processing library glgraphics by Andres Colubri. (c) 2008