public class PIGraphics3D extends processing.opengl.PGraphics3D implements IGraphics3D, IPane
processing.opengl.PGraphicsOpenGL.GLResource, processing.opengl.PGraphicsOpenGL.IndexCache, processing.opengl.PGraphicsOpenGL.InGeometry, processing.opengl.PGraphicsOpenGL.Tessellator, processing.opengl.PGraphicsOpenGL.TessGeometry, processing.opengl.PGraphicsOpenGL.TexCache| Modifier and Type | Field and Description |
|---|---|
PIGraphics3D |
alias |
IColor[][] |
bgColorCache |
processing.core.PImage |
bgImage |
java.awt.Color |
borderColor |
java.awt.BasicStroke |
borderStroke |
float |
borderWidth |
boolean |
creatingBGImage |
boolean |
enableDepthSort |
boolean |
finished |
boolean |
firstDraw |
(package private) static boolean |
keepColorMode
preserve Procesing's color mode or not
|
boolean |
looping |
INavigator |
navigator |
int |
origColorMode |
float |
origColorModeA |
float |
origColorModeX |
float |
origColorModeY |
float |
origColorModeZ |
boolean |
overrideDepthSort
when number of objects exceeds IConfig.maxObjectNumberForDepthSort, depth sort is overwritten to be disabled
|
boolean |
overridePAppletFinish
To show iGeo correctly in Processing's basic mode, this needs to be true.
|
boolean |
overridePAppletLoop
To show iGeo correctly in Processing's basic mode, this needs to be true.
|
IPanelI |
panel |
boolean |
resetTexture |
int |
screenX |
int |
screenY |
PIGraphics3D[][] |
subGraphics |
IView |
view |
IVec |
viewDirection
cache of view.frontDirection()
|
IVec |
viewLocation
cache of view.location()
|
boolean |
visible |
anisoSamplingSupported, autoMipmapGenSupported, blendEqSupported, breakShape, camera, cameraAspect, cameraEyeX, cameraEyeY, cameraEyeZ, cameraFar, cameraFOV, cameraInv, cameraInvStack, cameraNear, cameraStack, cameraX, cameraY, cameraZ, clearColorBuffer, clearColorBuffer0, clip, clipRect, currentFramebuffer, currentLightFalloffConstant, currentLightFalloffLinear, currentLightFalloffQuadratic, currentLightSpecular, currentPG, defaultEdges, defColorShader, defColorShaderFragURL, defColorShaderVertURL, defLightShader, defLightShaderVertURL, defLineShader, defLineShaderFragURL, defLineShaderVertURL, defPointShader, defPointShaderFragURL, defPointShaderVertURL, defTexlightShader, defTexlightShaderVertURL, defTextureShader, defTextureShaderFragURL, defTextureShaderVertURL, depthBits, drawFramebuffer, drawing, EDGE_CLOSE, EDGE_MIDDLE, EDGE_SINGLE, EDGE_START, EDGE_STOP, FB_STACK_DEPTH, fboMultisampleSupported, fbStack, fbStackDepth, filterImage, filterTexture, floatBuffer, FLUSH_CONTINUOUSLY, FLUSH_WHEN_FULL, flushMode, fontMap, glFrameBuffers, glLineAttrib, glLineColor, glLineIndex, glLineVertex, glModelview, glNormal, glParamsRead, glPointAttrib, glPointColor, glPointIndex, glPointVertex, glPolyAmbient, glPolyColor, glPolyEmissive, glPolyIndex, glPolyNormal, glPolyShininess, glPolySpecular, glPolyTexcoord, glPolyVertex, glProjection, glProjmodelview, glRenderBuffers, GLSL_VERSION, glslFragmentShaders, glslPrograms, glslVertexShaders, glTextureObjects, glVertexBuffers, identity, IMMEDIATE, inGeo, INIT_INDEX_BUFFER_SIZE, INIT_VERTEX_BUFFER_SIZE, initialized, intBuffer, lastBlendMode, lastSmoothCall, lightAmbient, lightCount, lightDiffuse, lightFalloffCoefficients, lightNormal, lightPosition, lights, lightsAllocated, lightSpecular, lightSpotParameters, lightType, lineBuffersContext, lineBuffersCreated, lineShader, manipulatingCamera, maskShader, maskShaderFragURL, matricesAllocated, MATRIX_STACK_DEPTH, MAX_POINT_ACCURACY, maxAnisoAmount, maxSamples, maxTextureSize, MIN_POINT_ACCURACY, modelview, modelviewInv, modelviewInvStack, modelviewStack, modelviewStackDepth, multisampleFramebuffer, nativePixelBuffer, nativePixels, npotTexSupported, offscreenFramebuffer, offscreenMultisample, OP_NONE, OP_READ, OP_WRITE, openContour, OPENGL_EXTENSIONS, OPENGL_RENDERER, OPENGL_VENDOR, OPENGL_VERSION, packedDepthStencilSupported, pgl, pixelBuffer, pixelsOp, pixOpChangedFB, POINT_ACCURACY_FACTOR, pointBuffersContext, pointBuffersCreated, pointShader, polyBuffersContext, polyBuffersCreated, polyShader, projection, projectionStack, projectionStackDepth, projmodelview, ptexture, QUAD_POINT_SIGNS, readFramebuffer, restoreSurface, RETAINED, setgetPixels, sized, smoothCallCount, smoothDisabled, stencilBits, tessellator, tessGeo, texCache, texture, textureSampling, textureWrap, viewportA, AB, AG, ambientB, ambientColor, ambientG, ambientR, AR, autoNormal, B, backgroundA, backgroundAi, backgroundAlpha, backgroundB, backgroundBi, backgroundColor, backgroundG, backgroundGi, backgroundR, backgroundRi, BEEN_LIT, bezierBasisInverse, bezierBasisMatrix, bezierDetail, bezierDrawMatrix, bezierInited, blendMode, cacheMap, calcA, calcAi, calcAlpha, calcB, calcBi, calcColor, calcG, calcGi, calcR, calcRi, canvas, colorMode, colorModeA, colorModeX, colorModeY, colorModeZ, cosLUT, curveBasisMatrix, curveDetail, curveDrawMatrix, curveInited, curveTightness, curveToBezierMatrix, curveVertexCount, curveVertices, DA, DB, DEFAULT_STROKE_CAP, DEFAULT_STROKE_JOIN, DEFAULT_STROKE_WEIGHT, DEFAULT_VERTICES, DG, DR, EB, edge, EDGE, EG, ellipseMode, emissiveB, emissiveColor, emissiveG, emissiveR, ER, fill, fillA, fillAi, fillAlpha, fillB, fillBi, fillColor, fillG, fillGi, fillR, fillRi, G, HAS_NORMAL, hints, image, imageMode, NORMAL_MODE_AUTO, NORMAL_MODE_SHAPE, NORMAL_MODE_VERTEX, normalMode, normalX, normalY, normalZ, NX, NY, NZ, path, pixelCount, primarySurface, quality, R, raw, reapplySettings, rectMode, SA, SB, setAmbient, settingsInited, SG, shape, shapeMode, SHINE, shininess, SINCOS_LENGTH, SINCOS_PRECISION, sinLUT, smooth, SPB, specularB, specularColor, specularG, specularR, SPG, sphereDetailU, sphereDetailV, sphereX, sphereY, sphereZ, SPR, SR, stroke, strokeA, strokeAi, strokeAlpha, strokeB, strokeBi, strokeCap, strokeColor, strokeG, strokeGi, strokeJoin, strokeR, strokeRi, strokeWeight, SW, textAlign, textAlignY, textBreakCount, textBreakStart, textBreakStop, textBuffer, textFont, textLeading, textMode, textSize, textureImage, textureMode, textureU, textureV, textWidthBuffer, tint, tintA, tintAi, tintAlpha, tintB, tintBi, tintColor, tintG, tintGi, tintR, tintRi, TX, TY, TZ, U, V, VERTEX_FIELD_COUNT, vertexCount, vertices, VW, VX, VY, VZ, warningsALPHA_MASK, BLUE_MASK, format, GREEN_MASK, height, loaded, modified, mx1, mx2, my1, my2, parent, pixels, RED_MASK, saveImageFormats, widthADD, ALPHA, ALT, AMBIENT, ARC, ARGB, ARROW, BACKSPACE, BASELINE, BEVEL, BEZIER_VERTEX, BLEND, BLUR, BOTTOM, BOX, BREAK, BURN, CENTER, CHATTER, CHORD, CLAMP, CLOSE, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CURVE_VERTEX, CUSTOM, DARKEST, DEG_TO_RAD, DELETE, DIAMETER, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_DEPTH_MASK, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_ERRORS, DISABLE_OPTIMIZED_STROKE, DISABLE_RETINA_PIXELS, DISABLE_STROKE_PERSPECTIVE, DISABLE_STROKE_PURE, DISABLE_TEXTURE_MIPMAPS, DODGE, DOWN, DXF, ELLIPSE, ENABLE_DEPTH_MASK, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_ERRORS, ENABLE_OPTIMIZED_STROKE, ENABLE_RETINA_PIXELS, ENABLE_STROKE_PERSPECTIVE, ENABLE_STROKE_PURE, ENABLE_TEXTURE_MIPMAPS, ENTER, EPSILON, ERODE, ERROR_BACKGROUND_IMAGE_FORMAT, ERROR_BACKGROUND_IMAGE_SIZE, ERROR_PUSHMATRIX_OVERFLOW, ERROR_PUSHMATRIX_UNDERFLOW, ERROR_TEXTFONT_NULL_PFONT, ESC, EXCLUSION, GIF, GRAY, GROUP, HALF_PI, HAND, HARD_LIGHT, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LANDSCAPE, LEFT, LIGHTEST, LINE, LINE_LOOP, LINE_STRIP, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MODELVIEW, MOVE, MULTIPLY, NORMAL, OPAQUE, OPEN, OPENGL, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PATH, PDF, PERSPECTIVE, PI, PIE, platformNames, POINT, POINTS, POLYGON, PORTRAIT, POSTERIZE, PROBLEM, PROJECT, PROJECTION, QUAD, QUAD_BEZIER_VERTEX, QUAD_STRIP, QUADRATIC_VERTEX, QUADS, QUARTER_PI, RAD_TO_DEG, RADIUS, RECT, REPEAT, REPLACE, RETURN, RGB, RIGHT, ROUND, SCREEN, SHAPE, SHIFT, SOFT_LIGHT, SPHERE, SPOT, SQUARE, SUBTRACT, TAB, TARGA, TAU, TEXT, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TWO_PI, UP, VERTEX, WAIT, WHITESPACE, WINDOWS, X, Y, Z| Constructor and Description |
|---|
PIGraphics3D() |
PIGraphics3D(PIGraphics3D g) |
| Modifier and Type | Method and Description |
|---|---|
void |
ambient(float[] rgba) |
void |
ambient(float r,
float g,
float b) |
void |
ambient(float r,
float g,
float b,
float a) |
void |
ambient(IColor c) |
void |
ambient(IColor c,
float alpha) |
void |
beginTexture(ITexture tex) |
void |
close() |
void |
clr(float[] rgba)
fill color (array of 4 float in order of r, g, b, a)
|
void |
clr(float r,
float g,
float b)
fill color (float 0-255)
|
void |
clr(float r,
float g,
float b,
float a)
fill color (float 0-255)
|
void |
clr(IColor c)
fill color
|
void |
clr(IColor c,
float alpha)
alpha : 0-1
|
boolean |
contains(int x,
int y) |
processing.core.PImage |
createBGImage(int w,
int h,
IView v) |
void |
diffuse(float[] rgba) |
void |
diffuse(float r,
float g,
float b) |
void |
diffuse(float r,
float g,
float b,
float a)
diffuse color is same with color(Color c)
|
void |
diffuse(IColor c) |
void |
diffuse(IColor c,
float alpha) |
void |
disableLight() |
void |
draw() |
void |
draw(java.util.ArrayList<IGraphicI> objects,
IView v) |
void |
draw(IGraphics g) |
void |
drawBG(IView vw) |
void |
drawIG()
Drawing all the iGeo objects through IPanel.
|
void |
drawLineLoop(IVec[] p) |
void |
drawLines(IVec[] p) |
void |
drawLineStrip(IVec[] p) |
void |
drawPoint(IVec p) |
void |
drawPoints(IVec[] p) |
void |
drawPolygon(IVec[] p) |
void |
drawPolygon(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawPolygon(IVec[] p,
IVec[] n) |
void |
drawPolygon(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawPolygon(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawPolygon(IVec[] p,
IVec2f[] uv) |
void |
drawQuadMatrix(IVec[][] pts) |
void |
drawQuadMatrix(IVec[][] pts,
IColor[][] clr,
float alpha,
boolean light) |
void |
drawQuadMatrix(IVec[][] pts,
IVec[][] nml) |
void |
drawQuadMatrix(IVec[][] pts,
IVec[][] nml,
IColor[][] clr,
float alpha,
boolean light) |
void |
drawQuadMatrix(IVec[][] pts,
IVec[][] nml,
IVec2f[][] uv) |
void |
drawQuadMatrix(IVec[][] pts,
IVec2f[][] uv) |
void |
drawQuads(IVec[] p) |
void |
drawQuads(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawQuads(IVec[] p,
IVec[] n) |
void |
drawQuads(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawQuads(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawQuads(IVec[] p,
IVec2f[] uv) |
void |
drawQuadStrip(IVec[] p) |
void |
drawQuadStrip(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawQuadStrip(IVec[] p,
IVec[] n) |
void |
drawQuadStrip(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawQuadStrip(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawQuadStrip(IVec[] p,
IVec2f[] uv) |
void |
drawTriangleFan(IVec[] p) |
void |
drawTriangleFan(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangleFan(IVec[] p,
IVec[] n) |
void |
drawTriangleFan(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangleFan(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawTriangleFan(IVec[] p,
IVec2f[] uv) |
void |
drawTriangles(IVec[] p) |
void |
drawTriangles(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangles(IVec[] p,
IVec[] n) |
void |
drawTriangles(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangles(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawTriangles(IVec[] p,
IVec2f[] uv) |
void |
drawTriangleStrip(IVec[] p) |
void |
drawTriangleStrip(IVec[] p,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangleStrip(IVec[] p,
IVec[] n) |
void |
drawTriangleStrip(IVec[] p,
IVec[] n,
IColor[] clr,
float alpha,
boolean light) |
void |
drawTriangleStrip(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
drawTriangleStrip(IVec[] p,
IVec2f[] uv) |
void |
drawView(IView view) |
void |
emissive(float[] rgba) |
void |
emissive(float r,
float g,
float b) |
void |
emissive(float r,
float g,
float b,
float a) |
void |
emissive(IColor c) |
void |
emissive(IColor c,
float alpha) |
void |
enableLight() |
void |
endTexture() |
boolean |
firstDraw()
check if this is the first time frame to draw
|
void |
firstDraw(boolean f)
set the first draw flag
|
void |
focus()
Focus view on objects
|
void |
focus(java.util.ArrayList<IObject> e)
Focus view on objects
|
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
int |
getBorderColor() |
java.awt.Stroke |
getBorderStroke() |
float |
getBorderWidth() |
int |
getHeight() |
IPanelI |
getPanel() |
IView |
getView() |
int |
getWidth() |
float |
getX() |
float |
getY() |
void |
initPrimary() |
boolean |
isDefaultColorMode()
default color mode for IG
|
boolean |
isInFront(IVec p) |
boolean |
isVisible() |
void |
keyPressed(IKeyEvent e) |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(IKeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
keyTyped(IKeyEvent e) |
void |
keyTyped(java.awt.event.KeyEvent e) |
void |
loop() |
void |
mouseClicked(IMouseEvent e) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(IMouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(IMouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(IMouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(IMouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(IMouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(IMouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
mouseWheelMoved(IMouseWheelEvent e) |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e) |
INavigator |
navigator() |
void |
noLoop() |
void |
normal(IVec n) |
void |
pointSize(float sz) |
void |
popColorMode() |
void |
post() |
void |
pre() |
void |
pushColorMode() |
void |
setBorderColor(java.awt.Color c) |
void |
setBorderColor(int r,
int b,
int g,
int a) |
void |
setBorderWidth(float b) |
void |
setBounds(int x,
int y,
int w,
int h) |
void |
setColorMode() |
void |
setLocation(int x,
int y)
implementation of IPane
|
void |
setPanel(IPanelI p) |
void |
setParent(processing.core.PApplet parent)
setParent is called by Processing in the initialization process of Processing.
|
void |
setSize(int w,
int h) |
void |
setView(IView v) |
void |
setVisible(boolean b) |
void |
shininess(float s) |
void |
specular(float[] rgba) |
void |
specular(float r,
float g,
float b) |
void |
specular(float r,
float g,
float b,
float a) |
void |
specular(IColor c) |
void |
specular(IColor c,
float alpha) |
void |
start() |
void |
stop() |
void |
stroke(float[] rgba)
stroke color (array of 4 float in order of r, g, b, a)
|
void |
stroke(float r,
float g,
float b)
stroke color (float 0-255)
|
void |
stroke(float r,
float g,
float b,
float a)
stroke color (float 0-255)
|
void |
stroke(IColor c)
stroke (line) color
|
void |
stroke(IColor c,
float alpha) |
IGraphicMode.GraphicType |
type()
implementation of IGraphics3D
|
void |
updateBGImage(int w,
int h,
IView vw) |
void |
vertex(float x,
float y,
float z) |
void |
vertex(IVec p) |
void |
vertex(IVec[] p) |
void |
vertex(IVec[] p,
IVec[] n) |
void |
vertex(IVec[] p,
IVec[] n,
IVec2f[] uv) |
void |
vertex(IVec[] p,
IVec2f[] uv) |
void |
vertex(IVec p,
IVec2f uv) |
void |
vertexTexture(IVec2f uv) |
IView |
view() |
void |
weight(float w) |
begin2D, createShape, createShape, createShape, createShape, createShapeImpl, createShapeImpl, defaultCamera, defaultPerspective, end2D, is2D, is3D, isSupportedExtension, loadShapeImpladdTexture, addTexture, allocate, allocatePixels, ambientLight, ambientLight, applyMatrix, applyMatrix, applyMatrix, applyMatrix, applyMatrixImpl, applyProjection, applyProjection, arcImpl, backgroundImpl, backgroundImpl, beginBindFramebuffer, beginCamera, beginContour, beginDraw, beginOffscreenDraw, beginOnscreenDraw, beginPGL, beginPixelsOp, beginReadPixels, beginShape, bezierVertex, bezierVertex, bezierVertexImpl, bindFrontTexture, blendModeImpl, box, camera, camera, canDraw, checkGLThread, checkTexture, clipImpl, copy, copy, createFrameBufferObject, createGLSLFragShaderObject, createGLSLProgramObject, createGLSLVertShaderObject, createLineBuffers, createPGL, createPointBuffers, createPolyBuffers, createPTexture, createRenderBufferObject, createTextureObject, createVertexBufferObject, curveVertex, curveVertex, curveVertexImpl, defaultSettings, deleteAllFrameBufferObjects, deleteAllGLSLFragShaderObjects, deleteAllGLSLProgramObjects, deleteAllGLSLVertShaderObjects, deleteAllRenderBufferObjects, deleteAllTextureObjects, deleteAllVertexBufferObjects, deleteDefaultShaders, deleteFinalizedFrameBufferObjects, deleteFinalizedGLResources, deleteFinalizedGLSLFragShaderObjects, deleteFinalizedGLSLProgramObjects, deleteFinalizedGLSLVertShaderObjects, deleteFinalizedRenderBufferObjects, deleteFinalizedTextureObjects, deleteFinalizedVertexBufferObjects, deleteFrameBufferObject, deleteGLSLFragShaderObject, deleteGLSLProgramObject, deleteGLSLVertShaderObject, deleteRenderBufferObject, deleteSurfaceTextures, deleteTextureObject, deleteVertexBufferObject, diff, directionalLight, disableLighting, dispose, drawPixels, drawPTexture, drawTexture, drawTexture, ellipseImpl, enableLighting, endBindFramebuffer, endCamera, endContour, endDraw, endOffscreenDraw, endOnscreenDraw, endPGL, endPixelsOp, endReadPixels, endShape, endShape, expandArraySize, fillFromCalc, filter, filter, filter, finalize, finalizeFrameBufferObject, finalizeGLSLFragShaderObject, finalizeGLSLProgramObject, finalizeGLSLVertShaderObject, finalizeLineBuffers, finalizePointBuffers, finalizePolyBuffers, finalizeRenderBufferObject, finalizeTextureObject, finalizeVertexBufferObject, flush, flushLines, flushPixels, flushPoints, flushPolys, frustum, get, getCache, getCurrentFB, getCurrentPG, getFontTexture, getFrameBuffer, getFrameBuffer, getGLParameters, getHint, getImpl, getLineShader, getMatrix, getMatrix, getPointShader, getPolyShader, getPrimaryPG, getPrimaryPGL, getTexture, getTexture, getTexture, hint, initCache, initOffscreen, invScale, invTranslate, isGL, lightAmbient, lightDiffuse, lightFalloff, lightFalloff, lightNormal, lightPosition, lights, lightSpecular, lightSpecular, lightSpot, line, line, lineBufferContextIsOutdated, lineImpl, loadPixels, loadShader, loadShader, loadShape, loadTexture, loadTextureImpl, mask, modelX, modelY, modelZ, newInGeometry, newTessGeometry, newTexCache, noClip, noLightAmbient, noLightDiffuse, noLightFalloff, noLights, noLightSpecular, noLightSpot, nonOrthoProjection, nonZero, noSmooth, ortho, ortho, ortho, orthoProjection, perspective, perspective, point, point, pointBuffersContextIsOutdated, pointImpl, pointLight, polyBuffersContextIsOutdated, popFramebuffer, popMatrix, popProjection, popStyle, printCamera, printMatrix, printProjection, pushFramebuffer, pushMatrix, pushProjection, quad, quadraticVertex, quadraticVertex, quadraticVertexImpl, readPixels, rectImpl, removeCache, removeFontTexture, removeFrameBufferObject, removeGLSLFragShaderObject, removeGLSLProgramObject, removeGLSLVertShaderObject, removeRenderBufferObject, removeTextureObject, removeVertexBufferObject, report, requestDraw, requestFocus, resetMatrix, resetProjection, resetShader, resetShader, resize, restartPGL, restoreGL, restoreSurfaceFromPixels, rotate, rotate, rotateImpl, rotateX, rotateY, rotateZ, same, saveSurfaceToPixels, scale, scale, scale, scaleImpl, screenX, screenX, screenXImpl, screenXImpl, screenY, screenY, screenYImpl, screenYImpl, screenZ, screenZImpl, screenZImpl, set, setCache, setCurrentPG, setDrawDefaults, setFlushMode, setFontTexture, setFramebuffer, setFrameRate, setImpl, setMatrix, setMatrix, setPrimary, setProjection, setViewport, shader, shader, shape, shape, shearX, shearY, smooth, smooth, sphere, spotLight, strokeCap, strokeJoin, strokeWeight, swapOffscreenTextures, tessellate, tessellate, textAscent, textCharImpl, textCharModelImpl, textCharShapeImpl, textDescent, textLineImpl, textModeCheck, textSize, textureSampling, textureWrap, textWidthImpl, translate, translate, translateImpl, triangle, unbindFrontTexture, unbindLineBuffers, unbindPointBuffers, unbindPolyBuffers, updateDisplay, updateGLModelview, updateGLNormal, updateGLProjection, updateGLProjmodelview, updateLineBuffers, updatePointBuffers, updatePolyBuffers, updateProjmodelview, updateTexture, updateTexture, updateTexture, vertex, vertex, vertex, vertexBreak, vertexImpl, wrapTexture, zeroalpha, ambient, ambient, ambientFromCalc, applyMatrix, arc, arc, background, background, background, background, background, background, background, backgroundFromCalc, beginRaw, beginShape, bezier, bezier, bezierDetail, bezierInit, bezierInitCheck, bezierPoint, bezierTangent, bezierVertexCheck, bezierVertexCheck, blendMode, blue, box, brightness, checkSettings, clear, clip, color, color, color, color, color, color, color, color, color, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalcARGB, colorMode, colorMode, colorMode, colorMode, curve, curve, curveDetail, curveInit, curveInitCheck, curvePoint, curveTangent, curveTightness, curveVertexCheck, curveVertexCheck, curveVertexSegment, curveVertexSegment, defaultFontOrDeath, defaultFontOrDeath, displayable, edge, ellipse, ellipseMode, emissive, emissive, emissiveFromCalc, endRaw, endShape, fill, fill, fill, fill, fill, fill, getMatrix, getRaw, getStyle, getStyle, green, haveRaw, hue, image, image, image, imageImpl, imageMode, lerpColor, lerpColor, loadShape, noFill, normal, noStroke, noTexture, noTint, pushStyle, reapplySettings, rect, rect, rect, rectImpl, rectMode, red, saturation, setMatrix, setPath, shape, shape, shape, shapeMode, showDepthWarning, showDepthWarningXYZ, showException, showMethodWarning, showMissingWarning, showVariationWarning, showWarning, showWarning, specular, specular, specularFromCalc, sphereDetail, sphereDetail, splineForward, stroke, stroke, stroke, stroke, strokeFromCalc, style, text, text, text, text, text, text, text, text, text, text, text, textAlign, textAlign, textCharModelImpl, textCharScreenImpl, textFont, textFont, textLeading, textLineAlignImpl, textMode, textSentence, textSentenceBreak, texture, textureMode, textWidth, textWidth, textWidth, tint, tint, tint, tint, tint, tint, tintFromCalc, vertex, vertexCheck, vertexTextureblend, blend, blendColor, blurAlpha, blurARGB, blurRGB, buildBlurKernel, checkAlpha, clone, dilate, get, get, getImage, getModifiedX1, getModifiedX2, getModifiedY1, getModifiedY2, getNative, init, isLoaded, isModified, loadTIFF, mask, save, saveImageIO, saveTGA, saveTIFF, set, setLoaded, setLoaded, setModified, setModified, updatePixels, updatePixelsstatic boolean keepColorMode
public IPanelI panel
public IView view
public IVec viewDirection
public IVec viewLocation
public int origColorMode
public float origColorModeX
public float origColorModeY
public float origColorModeZ
public float origColorModeA
public boolean overridePAppletFinish
public boolean finished
public boolean overridePAppletLoop
public boolean looping
public boolean enableDepthSort
public boolean overrideDepthSort
public boolean firstDraw
public int screenX
public int screenY
public float borderWidth
public java.awt.BasicStroke borderStroke
public java.awt.Color borderColor
public INavigator navigator
public boolean visible
public processing.core.PImage bgImage
public IColor[][] bgColorCache
public boolean creatingBGImage
public boolean resetTexture
public PIGraphics3D[][] subGraphics
public PIGraphics3D alias
public PIGraphics3D()
public PIGraphics3D(PIGraphics3D g)
public void initPrimary()
initPrimary in class processing.opengl.PGraphicsOpenGLpublic void setParent(processing.core.PApplet parent)
setParent in class processing.core.PGraphicsparent - parent PApplet of Processing.public void pre()
public void draw()
public void vertex(float x,
float y,
float z)
vertex in class processing.opengl.PGraphicsOpenGLpublic void drawIG()
public void post()
public void loop()
public void noLoop()
public void start()
public void stop()
public IGraphicMode.GraphicType type()
public void updateBGImage(int w,
int h,
IView vw)
public processing.core.PImage createBGImage(int w,
int h,
IView v)
public void drawBG(IView vw)
public void drawView(IView view)
public boolean firstDraw()
IGraphicspublic void firstDraw(boolean f)
IGraphicspublic boolean isDefaultColorMode()
public void pushColorMode()
public void popColorMode()
public void setColorMode()
public void clr(float r,
float g,
float b)
IGraphicspublic void clr(float r,
float g,
float b,
float a)
IGraphicspublic void clr(float[] rgba)
IGraphicspublic void clr(IColor c, float alpha)
public void stroke(IColor c)
IGraphicspublic void stroke(float r,
float g,
float b,
float a)
IGraphicspublic void stroke(float r,
float g,
float b)
IGraphicspublic void stroke(float[] rgba)
IGraphicspublic void stroke(IColor c, float alpha)
public void diffuse(float r,
float g,
float b,
float a)
IGraphics3Ddiffuse in interface IGraphics3Dpublic void diffuse(float r,
float g,
float b)
diffuse in interface IGraphics3Dpublic void diffuse(IColor c)
diffuse in interface IGraphics3Dpublic void diffuse(IColor c, float alpha)
diffuse in interface IGraphics3Dpublic void diffuse(float[] rgba)
diffuse in interface IGraphics3Dpublic void ambient(float r,
float g,
float b,
float a)
ambient in interface IGraphics3Dpublic void ambient(float r,
float g,
float b)
ambient in interface IGraphics3Dambient in class processing.core.PGraphicspublic void ambient(float[] rgba)
ambient in interface IGraphics3Dpublic void ambient(IColor c)
ambient in interface IGraphics3Dpublic void ambient(IColor c, float alpha)
ambient in interface IGraphics3Dpublic void specular(float r,
float g,
float b,
float a)
specular in interface IGraphics3Dpublic void specular(float r,
float g,
float b)
specular in interface IGraphics3Dspecular in class processing.core.PGraphicspublic void specular(float[] rgba)
specular in interface IGraphics3Dpublic void specular(IColor c)
specular in interface IGraphics3Dpublic void specular(IColor c, float alpha)
specular in interface IGraphics3Dpublic void emissive(float r,
float g,
float b,
float a)
emissive in interface IGraphics3Dpublic void emissive(float r,
float g,
float b)
emissive in interface IGraphics3Demissive in class processing.core.PGraphicspublic void emissive(float[] rgba)
emissive in interface IGraphics3Dpublic void emissive(IColor c)
emissive in interface IGraphics3Dpublic void emissive(IColor c, float alpha)
emissive in interface IGraphics3Dpublic void shininess(float s)
shininess in interface IGraphics3Dshininess in class processing.core.PGraphicspublic void enableLight()
enableLight in interface IGraphics3Dpublic void disableLight()
disableLight in interface IGraphics3Dpublic void pointSize(float sz)
pointSize in interface IGraphics3Dpublic boolean isInFront(IVec p)
public void vertex(IVec p)
public void vertex(IVec[] p)
public void vertexTexture(IVec2f uv)
public void normal(IVec n)
public void drawPoint(IVec p)
drawPoint in interface IGraphics3Dpublic void drawPoints(IVec[] p)
drawPoints in interface IGraphics3Dpublic void drawLines(IVec[] p)
drawLines in interface IGraphics3Dpublic void drawLineStrip(IVec[] p)
drawLineStrip in interface IGraphics3Dpublic void drawLineLoop(IVec[] p)
drawLineLoop in interface IGraphics3Dpublic void drawPolygon(IVec[] p)
drawPolygon in interface IGraphics3Dpublic void drawPolygon(IVec[] p, IVec2f[] uv)
drawPolygon in interface IGraphics3Dpublic void drawPolygon(IVec[] p, IVec[] n)
drawPolygon in interface IGraphics3Dpublic void drawPolygon(IVec[] p, IVec[] n, IVec2f[] uv)
drawPolygon in interface IGraphics3Dpublic void drawPolygon(IVec[] p, IColor[] clr, float alpha, boolean light)
drawPolygon in interface IGraphics3Dpublic void drawPolygon(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawPolygon in interface IGraphics3Dpublic void drawQuads(IVec[] p)
drawQuads in interface IGraphics3Dpublic void drawQuads(IVec[] p, IVec2f[] uv)
drawQuads in interface IGraphics3Dpublic void drawQuads(IVec[] p, IVec[] n)
drawQuads in interface IGraphics3Dpublic void drawQuads(IVec[] p, IVec[] n, IVec2f[] uv)
drawQuads in interface IGraphics3Dpublic void drawQuads(IVec[] p, IColor[] clr, float alpha, boolean light)
drawQuads in interface IGraphics3Dpublic void drawQuads(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawQuads in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p, IVec2f[] uv)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p, IVec[] n)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p, IVec[] n, IVec2f[] uv)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p, IColor[] clr, float alpha, boolean light)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadStrip(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawQuadStrip in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts)
drawQuadMatrix in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts, IVec2f[][] uv)
drawQuadMatrix in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts, IVec[][] nml)
drawQuadMatrix in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts, IVec[][] nml, IVec2f[][] uv)
drawQuadMatrix in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts, IColor[][] clr, float alpha, boolean light)
drawQuadMatrix in interface IGraphics3Dpublic void drawQuadMatrix(IVec[][] pts, IVec[][] nml, IColor[][] clr, float alpha, boolean light)
drawQuadMatrix in interface IGraphics3Dpublic void drawTriangles(IVec[] p)
drawTriangles in interface IGraphics3Dpublic void drawTriangles(IVec[] p, IVec2f[] uv)
drawTriangles in interface IGraphics3Dpublic void drawTriangles(IVec[] p, IVec[] n)
drawTriangles in interface IGraphics3Dpublic void drawTriangles(IVec[] p, IVec[] n, IVec2f[] uv)
drawTriangles in interface IGraphics3Dpublic void drawTriangles(IVec[] p, IColor[] clr, float alpha, boolean light)
drawTriangles in interface IGraphics3Dpublic void drawTriangles(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawTriangles in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p, IVec2f[] uv)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p, IVec[] n)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p, IVec[] n, IVec2f[] uv)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p, IColor[] clr, float alpha, boolean light)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleStrip(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawTriangleStrip in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p)
drawTriangleFan in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p, IVec2f[] uv)
drawTriangleFan in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p, IVec[] n)
drawTriangleFan in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p, IVec[] n, IVec2f[] uv)
drawTriangleFan in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p, IColor[] clr, float alpha, boolean light)
drawTriangleFan in interface IGraphics3Dpublic void drawTriangleFan(IVec[] p, IVec[] n, IColor[] clr, float alpha, boolean light)
drawTriangleFan in interface IGraphics3Dpublic void setLocation(int x,
int y)
setLocation in interface IPanepublic void setSize(int w,
int h)
public void setBounds(int x,
int y,
int w,
int h)
public void setVisible(boolean b)
setVisible in interface IPanepublic void setBorderWidth(float b)
setBorderWidth in interface IPanepublic float getBorderWidth()
getBorderWidth in interface IPanepublic java.awt.Stroke getBorderStroke()
public void setBorderColor(int r,
int b,
int g,
int a)
setBorderColor in interface IPanepublic void setBorderColor(java.awt.Color c)
public int getBorderColor()
getBorderColor in interface IPanepublic INavigator navigator()
public void focus(java.util.ArrayList<IObject> e)
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void mouseClicked(java.awt.event.MouseEvent e)
public void mouseEntered(java.awt.event.MouseEvent e)
public void mouseExited(java.awt.event.MouseEvent e)
public void mouseMoved(java.awt.event.MouseEvent e)
public void mouseDragged(java.awt.event.MouseEvent e)
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
public void keyPressed(java.awt.event.KeyEvent e)
public void keyReleased(java.awt.event.KeyEvent e)
public void keyTyped(java.awt.event.KeyEvent e)
public void mousePressed(IMouseEvent e)
mousePressed in interface IPanepublic void mouseReleased(IMouseEvent e)
mouseReleased in interface IPanepublic void mouseClicked(IMouseEvent e)
mouseClicked in interface IPanepublic void mouseEntered(IMouseEvent e)
mouseEntered in interface IPanepublic void mouseExited(IMouseEvent e)
mouseExited in interface IPanepublic void mouseMoved(IMouseEvent e)
mouseMoved in interface IPanepublic void mouseDragged(IMouseEvent e)
mouseDragged in interface IPanepublic void mouseWheelMoved(IMouseWheelEvent e)
mouseWheelMoved in interface IPanepublic void keyPressed(IKeyEvent e)
keyPressed in interface IPanepublic void keyReleased(IKeyEvent e)
keyReleased in interface IPanepublic void focusLost(java.awt.event.FocusEvent e)
public void focusGained(java.awt.event.FocusEvent e)
public void close()
public void beginTexture(ITexture tex)
beginTexture in interface IGraphics3Dpublic void endTexture()
endTexture in interface IGraphics3D