Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## igeo.p
Class PIGraphics3D

    java.lang.Object
      processing.core.PImage
          processing.core.PGraphics
              processing.core.PGraphics3D
                  igeo.p.PIGraphics3D

All Implemented Interfaces:
  IGraphics, IGraphics3D, IPane, java.lang.Cloneable, processing.core.PConstants

    public class PIGraphics3D

extends processing.core.PGraphics3D
implements IGraphics3D, IPane

A child class of Processing's PGraphic to draw on Processing using P3D. This class also manages the IServer to manage all the objects in iGeo.

Author:
  Satoru Sugihara

Field Summary
`java.awt.Color[][]` | `bgColorCache`
`processing.core.PImage` | `bgImage`
`java.awt.Color` | `borderColor`
`java.awt.BasicStroke` | `borderStroke`
`float` | `borderWidth`
`boolean` | `enableDepthSort`
`boolean` | `finished`
`(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.
`IPanel` | `panel`
`int` | `screenX`
`int` | `screenY`
`PIGraphics3D[][]` | `subGraphics`
`IView` | `view`
`IVec` | `viewDirection` cache of view.frontDirection()
`IVec` | `viewLocation` cache of view.location()
`boolean` | `visible`

Fields inherited from class processing.core.PGraphics3D
`bottomScreen, camera, cameraAspect, cameraFar, cameraFOV, cameraInv, cameraNear, cameraX, cameraY, cameraZ, currentLightFalloffConstant, currentLightFalloffLinear, currentLightFalloffQuadratic, currentLightSpecular, forwardTransform, leftScreen, lightCount, lightDiffuse, lightFalloffConstant, lightFalloffLinear, lightFalloffQuadratic, lightNormal, lightPosition, lightSpecular, lightSpotAngle, lightSpotAngleCos, lightSpotConcentration, lightTriangleNorm, lightType, line, LINE_FIELD_COUNT, lineCount, lines, manipulatingCamera, matrixMode, MAX_LIGHTS, modelview, modelviewInv, nearPlane, pathCount, pathLength, pathOffset, POINT_FIELD_COUNT, pointCount, points, projection, reverseTransform, rightScreen, s_enableAccurateTextures, shapeFirst, shapeLast, shapeLastPlusClipped, sizeChanged, smoothTriangle, STROKE_COLOR, tempLightingContribution, TEXTURE_INDEX, textures, topScreen, TRI_COLOR_COUNT, TRI_DIFFUSE_A, TRI_DIFFUSE_B, TRI_DIFFUSE_G, TRI_DIFFUSE_R, TRI_SPECULAR_B, TRI_SPECULAR_G, TRI_SPECULAR_R, triangle, TRIANGLE_FIELD_COUNT, triangleColors, triangleCount, triangles, VERTEX1, VERTEX2, VERTEX3, vertexOrder, zbuffer`

Fields inherited from class processing.core.PGraphics
`ambientB, ambientG, ambientR, autoNormal, backgroundA, backgroundAi, backgroundAlpha, backgroundB, backgroundBi, backgroundColor, backgroundG, backgroundGi, backgroundR, backgroundRi, bezierBasisInverse, bezierBasisMatrix, bezierDetail, bezierDrawMatrix, bezierInited, calcA, calcAi, calcAlpha, calcB, calcBi, calcColor, calcG, calcGi, calcR, calcRi, colorMode, colorModeA, colorModeX, colorModeY, colorModeZ, cosLUT, curveBasisMatrix, curveDetail, curveDrawMatrix, curveInited, curveTightness, curveToBezierMatrix, curveVertexCount, curveVertices, DEFAULT_STROKE_CAP, DEFAULT_STROKE_JOIN, DEFAULT_STROKE_WEIGHT, DEFAULT_VERTICES, edge, ellipseMode, emissiveB, emissiveG, emissiveR, fill, fillA, fillAi, fillAlpha, fillB, fillBi, fillColor, fillG, fillGi, fillR, fillRi, height1, hints, image, imageMode, NORMAL_MODE_AUTO, NORMAL_MODE_SHAPE, NORMAL_MODE_VERTEX, normalMode, normalX, normalY, normalZ, path, pixelCount, primarySurface, raw, rectMode, settingsInited, shape, shapeMode, shininess, SINCOS_LENGTH, SINCOS_PRECISION, sinLUT, smooth, specularB, specularG, specularR, sphereDetailU, sphereDetailV, stroke, strokeA, strokeAi, strokeAlpha, strokeB, strokeBi, strokeCap, strokeColor, strokeG, strokeGi, strokeJoin, strokeR, strokeRi, strokeWeight, textAlign, textAlignY, textBreakCount, textBreakStart, textBreakStop, textBuffer, textFont, textLeading, textMode, textSize, textureImage, textureMode, textureU, textureV, textWidthBuffer, textX, textY, textZ, tint, tintA, tintAi, tintAlpha, tintB, tintBi, tintColor, tintG, tintGi, tintR, tintRi, vertexCount, vertices, warnings, width1`

Fields inherited from class processing.core.PImage
`cacheMap, format, height, modified, mx1, mx2, my1, my2, paramMap, parent, pixels, saveImageFormats, width`

Fields inherited from interface processing.core.PConstants
`A, AB, ADD, AG, ALPHA, ALPHA_MASK, ALT, AMBIENT, AR, ARC, ARGB, ARROW, B, BACKSPACE, BASELINE, BEEN_LIT, BEVEL, BILINEAR, BLEND, BLUE_MASK, BLUR, BOTTOM, BOX, BURN, CENTER, CENTER_DIAMETER, CENTER_RADIUS, CHATTER, CLAMP, CLOSE, CMYK, CODED, COMPLAINT, CONTROL, CORNER, CORNERS, CROSS, CUSTOM, DA, DARKEST, DB, DEG_TO_RAD, DELETE, DG, DIAMETER, DIFFERENCE, DILATE, DIRECTIONAL, DISABLE_ACCURATE_TEXTURES, DISABLE_DEPTH_MASK, DISABLE_DEPTH_SORT, DISABLE_DEPTH_TEST, DISABLE_NATIVE_FONTS, DISABLE_OPENGL_2X_SMOOTH, DISABLE_OPENGL_ERROR_REPORT, DODGE, DOWN, DR, DXF, DYNAMIC, EB, EDGE, EG, ELLIPSE, ENABLE_ACCURATE_TEXTURES, ENABLE_DEPTH_MASK, ENABLE_DEPTH_SORT, ENABLE_DEPTH_TEST, ENABLE_NATIVE_FONTS, ENABLE_OPENGL_2X_SMOOTH, ENABLE_OPENGL_4X_SMOOTH, ENABLE_OPENGL_ERROR_REPORT, ENTER, EPSILON, ER, ERODE, ERROR_BACKGROUND_IMAGE_FORMAT, ERROR_BACKGROUND_IMAGE_SIZE, ERROR_PUSHMATRIX_OVERFLOW, ERROR_PUSHMATRIX_UNDERFLOW, ERROR_TEXTFONT_NULL_PFONT, ESC, EXCLUSION, FIXED, G, GIF, GRAY, GREEN_MASK, HALF_PI, HAND, HARD_LIGHT, HAS_NORMAL, HINT_COUNT, HSB, IMAGE, INVERT, JAVA2D, JPEG, LEFT, LIGHTEST, LINE, LINE_LOOP, LINE_STRIP, LINEAR, LINES, LINUX, MACOSX, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MITER, MODEL, MODELVIEW, MOVE, MULTIPLY, NORMAL, NORMALIZED, NX, NY, NZ, OPAQUE, OPEN, OPENGL, OPENGL2, ORTHOGRAPHIC, OTHER, OVERLAY, P2D, P3D, PATH, PDF, PERSPECTIVE, PI, platformNames, POINT, POINT_SPRITES, POINTS, POLYGON, POSTERIZE, PROBLEM, PROG_GL2, PROG_GL3, PROG_GL4, PROJECT, PROJECTION, QUAD, QUAD_STRIP, QUADRATIC, QUADS, QUARTER_PI, R, RAD_TO_DEG, RADIUS, RECT, RED_MASK, REPEAT, REPLACE, RETURN, RGB, RIGHT, ROUND, SA, SB, SCREEN, SG, SHAPE, SHIFT, SHINE, SOFT_LIGHT, SPB, SPG, SPHERE, SPOT, SPR, SQUARE, SR, STATIC, STREAM, SUBTRACT, SW, TAB, TARGA, TEXT, TEXTURE2D, THIRD_PI, THRESHOLD, TIFF, TOP, TRIANGLE, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TRILINEAR, TWO_PI, TX, TY, TZ, U, UP, V, VERTEX_FIELD_COUNT, VW, VX, VY, VZ, WAIT, WHITESPACE, WINDOWS, X, Y, Z`

Constructor Summary
`PIGraphics3D()`

Method Summary
`void` | `ambient(java.awt.Color c)`
`void` | `ambient(float r, float g, float b)`
`void` | `ambient(float r, float g, float b, float a)`
`void` | `clr(java.awt.Color c)` fill color
`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)
`boolean` | `contains(int x, int y)`
`processing.core.PImage` | `createBGImage(int w, int h, IView v)`
`void` | `diffuse(java.awt.Color c)`
`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` | `disableLight()`
`void` | `draw()`
`void` | `draw(java.util.ArrayList<IGraphicI> objects, IView v)`
`void` | `draw(IGraphics g)`
`void` | `drawBG(IView view)`
`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, IVec[] n)`
`void` | `drawQuadMatrix(IVec[][] pts)`
`void` | `drawQuadMatrix(IVec[][] pts, IVec[][] nml)`
`void` | `drawQuads(IVec[] p)`
`void` | `drawQuads(IVec[] p, IVec[] n)`
`void` | `drawQuadStrip(IVec[] p)`
`void` | `drawQuadStrip(IVec[] p, IVec[] n)`
`void` | `drawTriangleFan(IVec[] p)`
`void` | `drawTriangleFan(IVec[] p, IVec[] n)`
`void` | `drawTriangles(IVec[] p)`
`void` | `drawTriangles(IVec[] p, IVec[] n)`
`void` | `drawTriangleStrip(IVec[] p)`
`void` | `drawTriangleStrip(IVec[] p, IVec[] n)`
`void` | `drawView(IView view)`
`void` | `emissive(java.awt.Color c)`
`void` | `emissive(float r, float g, float b)`
`void` | `emissive(float r, float g, float b, float a)`
`void` | `enableLight()`
`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)`
`java.awt.Color` | `getBorderColor()`
`java.awt.Stroke` | `getBorderStroke()`
`float` | `getBorderWidth()`
`int` | `getHeight()`
`IPanel` | `getPanel()`
`IView` | `getView()`
`int` | `getWidth()`
`int` | `getX()`
`int` | `getY()`
`boolean` | `isDefaultColorMode()` default color mode for IG
`boolean` | `isInFront(IVec p)`
`boolean` | `isVisible()`
`void` | `keyPressed(java.awt.event.KeyEvent e)`
`void` | `keyReleased(java.awt.event.KeyEvent e)`
`void` | `keyTyped(java.awt.event.KeyEvent e)`
`void` | `loop()`
`void` | `mouseClicked(java.awt.event.MouseEvent e)`
`void` | `mouseDragged(java.awt.event.MouseEvent e)`
`void` | `mouseEntered(java.awt.event.MouseEvent e)`
`void` | `mouseExited(java.awt.event.MouseEvent e)`
`void` | `mouseMoved(java.awt.event.MouseEvent e)`
`void` | `mousePressed(java.awt.event.MouseEvent e)`
`void` | `mouseReleased(java.awt.event.MouseEvent 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` | `setBorderWidth(float b)`
`void` | `setBounds(int x, int y, int w, int h)`
`void` | `setLocation(int x, int y)` implementation of IPane
`void` | `setPanel(IPanel p)`
`void` | `setParent(processing.core.PApplet parent)` setParent is called by Processing in the initialization process of Processing.
`void` | `setParentPGraphics3D(processing.core.PApplet parent)`
`void` | `setSize(int w, int h)`
`void` | `setView(IView v)`
`void` | `setVisible(boolean b)`
`void` | `shininess(float s)`
`void` | `specular(java.awt.Color c)`
`void` | `specular(float r, float g, float b)`
`void` | `specular(float r, float g, float b, float a)`
`void` | `start()`
`void` | `stop()`
`void` | `stroke(java.awt.Color c)` stroke (line) color
`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)
`IGraphicMode.GraphicType` | `type()` implementation of IGraphics3D
`void` | `vertex(float x, float y, float z)`
`void` | `vertex(IVec p)`
`void` | `vertex(IVec[] p)`
`void` | `vertex(IVec[] p, IVec[] n)`
`IView` | `view()`
`void` | `weight(float w)`

Methods inherited from class processing.core.PGraphics3D
`addLine, addLineBreak, addLineWithClip, addLineWithoutClip, addPoint, addPolygonTriangles, addTriangle, addTriangleWithClip, addTriangleWithoutClip, allocate, ambientLight, ambientLight, applyMatrix, applyMatrix, applyMatrix, applyMatrix, arcImpl, backgroundImpl, backgroundImpl, beginCamera, beginDraw, beginShape, box, camera, camera, defaultSettings, directionalLight, ellipseImpl, endCamera, endDraw, endShape, endShapeCameraToScreen, endShapeFill, endShapeLighting, endShapeModelToCamera, endShapeStroke, fillFromCalc, flush, frustum, getMatrix, getMatrix, getProjection, hint, interpolateClipVertex, is2D, is3D, lightDirection, lightFalloff, lightPosition, lights, lightSpecular, matrixMode, modelX, modelY, modelZ, noLights, noSmooth, ortho, ortho, perspective, perspective, pointLight, popMatrix, printCamera, printMatrix, printProjection, pushMatrix, rawLines, rawPoints, rawTriangles, render, renderLines, renderLineVertices, renderPoints, renderTriangles, resetMatrix, rotate, rotate, rotateX, rotateY, rotateZ, scale, scale, scale, screenX, screenX, screenY, screenY, screenZ, setMatrix, setMatrix, shearX, shearY, smooth, sort, sphere, spotLight, strokeCap, strokeJoin, textModeCheck, texture, translate, translate, updateProjection, vertex, vertex`

Methods inherited from class processing.core.PGraphics
`alpha, ambient, ambient, ambientFromCalc, applyMatrix, arc, autoNormal, background, background, background, background, background, background, background, backgroundFromCalc, beginRaw, beginRecord, beginShape, beginText, bezier, bezier, bezierDetail, bezierInit, bezierInitCheck, bezierPoint, bezierTangent, bezierVertex, bezierVertex, bezierVertexCheck, blue, box, breakShape, brightness, canDraw, checkSettings, color, color, color, color, color, color, color, color, color, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalc, colorCalcARGB, colorMode, colorMode, colorMode, colorMode, createShape, curve, curve, curveDetail, curveInit, curveInitCheck, curvePoint, curveTangent, curveTightness, curveVertex, curveVertex, curveVertexCheck, curveVertexSegment, curveVertexSegment, defaultFontOrDeath, defaultFontOrDeath, displayable, dispose, edge, ellipse, ellipseMode, emissive, emissive, emissiveFromCalc, endRaw, endRecord, endShape, endText, fill, fill, fill, fill, fill, fill, getMatrix, getStyle, getStyle, getSupportedShapeFormats, green, hintEnabled, hue, image, image, image, imageImpl, imageMode, isRecording, lerpColor, lerpColor, line, line, loadShape, mergeShapes, noFill, normal, noStroke, noTexture, noTint, ortho, point, point, popStyle, pushStyle, quad, quadVertex, quadVertex, reapplySettings, rect, rect, rect, rectImpl, rectImpl, rectImpl, rectMode, red, saturation, screenBlend, setMatrix, setPath, setPrimary, shape, shape, shape, shapeMode, shapeName, showDepthWarning, showDepthWarningXYZ, showException, showMethodWarning, showMissingWarning, showVariationWarning, showWarning, specular, specular, specularFromCalc, sphereDetail, sphereDetail, splineForward, stroke, stroke, stroke, stroke, strokeFromCalc, strokeWeight, style, text, text, text, text, text, text, text, text, text, text, text, text, text, text, textAlign, textAlign, textAscent, textCharImpl, textCharModelImpl, textCharScreenImpl, textDescent, textFont, textFont, textLeading, textLineAlignImpl, textLineImpl, textMode, textSentence, textSentenceBreak, textSize, texture, textureBlend, textureMode, textWidth, textWidth, textWidth, textWidthImpl, tint, tint, tint, tint, tint, tint, tintFromCalc, triangle, vertex, vertex, vertexCheck, vertexFields, vertexTexture`

Methods inherited from class processing.core.PImage
`blend, blend, blendColor, blurAlpha, blurARGB, blurRGB, buildBlurKernel, checkAlpha, clone, copy, copy, delete, dilate, filter, filter, get, get, get, getCache, getImage, getImpl, getModifiedX1, getModifiedX2, getModifiedY1, getModifiedY2, getParams, init, isModified, loadPixels, loadTIFF, mask, mask, removeCache, removeParams, resize, save, saveImageIO, saveTGA, saveTIFF, set, set, setCache, setImpl, setModified, setModified, setParams, updatePixels, updatePixels, updatePixelsImpl`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### keepColorMode

    static boolean keepColorMode

  preserve Procesing's color mode or not

### panel

    public IPanel panel

### view

    public IView view

### viewDirection

    public IVec viewDirection

  cache of view.frontDirection()

### viewLocation

    public IVec viewLocation

  cache of view.location()

### origColorMode

    public int origColorMode

### origColorModeX

    public float origColorModeX

### origColorModeY

    public float origColorModeY

### origColorModeZ

    public float origColorModeZ

### origColorModeA

    public float origColorModeA

### overridePAppletFinish

    public boolean overridePAppletFinish

  To show iGeo correctly in Processing's basic mode, this needs to be true.

### finished

    public boolean finished

### overridePAppletLoop

    public boolean overridePAppletLoop

  To show iGeo correctly in Processing's basic mode, this needs to be true.

### looping

    public boolean looping

### enableDepthSort

    public boolean enableDepthSort

### overrideDepthSort

    public boolean overrideDepthSort

  when number of objects exceeds IConfig.maxObjectNumberForDepthSort, depth sort is overwritten to be disabled

### screenX

    public int screenX

### screenY

    public int screenY

### borderWidth

    public float borderWidth

### borderStroke

    public java.awt.BasicStroke borderStroke

### borderColor

    public java.awt.Color borderColor

### navigator

    public INavigator navigator

### visible

    public boolean visible

### bgImage

    public processing.core.PImage bgImage

### bgColorCache

    public java.awt.Color[][] bgColorCache

### subGraphics

    public PIGraphics3D[][] subGraphics

Constructor Detail

### PIGraphics3D

    public PIGraphics3D()

Method Detail

### setParent

    public void setParent(processing.core.PApplet parent)

  setParent is called by Processing in the initialization process of Processing. Here the initialization proces of iGeo is also done.

  Overrides:
    `setParent` in class `processing.core.PGraphics`
  Parameters:
    `parent` - parent PApplet of Processing.

### setParentPGraphics3D

    public void setParentPGraphics3D(processing.core.PApplet parent)

### pre

    public void pre()

### draw

    public void draw()

### vertex

    public void vertex(float x,
                       float y,
                       float z)

  Overrides:
    `vertex` in class `processing.core.PGraphics`

### drawIG

    public void drawIG()

  Drawing all the iGeo objects through IPanel. Overlay is also used to draw 2D graphics on top of OpenGL 3D graphics.

### post

    public void post()

### loop

    public void loop()

### noLoop

    public void noLoop()

### start

    public void start()

### stop

    public void stop()

### type

    public IGraphicMode.GraphicType type()

  implementation of IGraphics3D

  Specified by:
    `type` in interface `IGraphics`

### view

    public IView view()

  Specified by:
    `view` in interface `IGraphics`

### createBGImage

    public processing.core.PImage createBGImage(int w,
                                                int h,
                                                IView v)

### drawBG

    public void drawBG(IView view)

### drawView

    public void drawView(IView view)

### draw

    public void draw(java.util.ArrayList<IGraphicI> objects,
                     IView v)

  Specified by:
    `draw` in interface `IGraphics`

### isDefaultColorMode

    public boolean isDefaultColorMode()

  default color mode for IG

### pushColorMode

    public void pushColorMode()

### popColorMode

    public void popColorMode()

### clr

    public void clr(java.awt.Color c)

  Description copied from interface: `IGraphics`
  fill color

  Specified by:
    `clr` in interface `IGraphics`

### clr

    public void clr(float r,
                    float g,
                    float b)

  Description copied from interface: `IGraphics`
  fill color (float 0-255)

  Specified by:
    `clr` in interface `IGraphics`

### clr

    public void clr(float r,
                    float g,
                    float b,
                    float a)

  Description copied from interface: `IGraphics`
  fill color (float 0-255)

  Specified by:
    `clr` in interface `IGraphics`

### stroke

    public void stroke(java.awt.Color c)

  Description copied from interface: `IGraphics`
  stroke (line) color

  Specified by:
    `stroke` in interface `IGraphics`

### stroke

    public void stroke(float r,
                       float g,
                       float b,
                       float a)

  Description copied from interface: `IGraphics`
  stroke color (float 0-255)

  Specified by:
    `stroke` in interface `IGraphics`
  Overrides:
    `stroke` in class `processing.core.PGraphics`

### stroke

    public void stroke(float r,
                       float g,
                       float b)

  Description copied from interface: `IGraphics`
  stroke color (float 0-255)

  Specified by:
    `stroke` in interface `IGraphics`
  Overrides:
    `stroke` in class `processing.core.PGraphics`

### weight

    public void weight(float w)

  Specified by:
    `weight` in interface `IGraphics`

### diffuse

    public void diffuse(float r,
                        float g,
                        float b,
                        float a)

  Description copied from interface: `IGraphics3D`
  diffuse color is same with color(Color c)

  Specified by:
    `diffuse` in interface `IGraphics3D`

### diffuse

    public void diffuse(float r,
                        float g,
                        float b)

  Specified by:
    `diffuse` in interface `IGraphics3D`

### diffuse

    public void diffuse(java.awt.Color c)

  Specified by:
    `diffuse` in interface `IGraphics3D`

### ambient

    public void ambient(float r,
                        float g,
                        float b,
                        float a)

  Specified by:
    `ambient` in interface `IGraphics3D`

### ambient

    public void ambient(float r,
                        float g,
                        float b)

  Specified by:
    `ambient` in interface `IGraphics3D`
  Overrides:
    `ambient` in class `processing.core.PGraphics`

### ambient

    public void ambient(java.awt.Color c)

  Specified by:
    `ambient` in interface `IGraphics3D`

### specular

    public void specular(float r,
                         float g,
                         float b,
                         float a)

  Specified by:
    `specular` in interface `IGraphics3D`

### specular

    public void specular(float r,
                         float g,
                         float b)

  Specified by:
    `specular` in interface `IGraphics3D`
  Overrides:
    `specular` in class `processing.core.PGraphics`

### specular

    public void specular(java.awt.Color c)

  Specified by:
    `specular` in interface `IGraphics3D`

### emissive

    public void emissive(float r,
                         float g,
                         float b,
                         float a)

  Specified by:
    `emissive` in interface `IGraphics3D`

### emissive

    public void emissive(float r,
                         float g,
                         float b)

  Specified by:
    `emissive` in interface `IGraphics3D`
  Overrides:
    `emissive` in class `processing.core.PGraphics`

### emissive

    public void emissive(java.awt.Color c)

  Specified by:
    `emissive` in interface `IGraphics3D`

### shininess

    public void shininess(float s)

  Specified by:
    `shininess` in interface `IGraphics3D`
  Overrides:
    `shininess` in class `processing.core.PGraphics`

### enableLight

    public void enableLight()

  Specified by:
    `enableLight` in interface `IGraphics3D`

### disableLight

    public void disableLight()

  Specified by:
    `disableLight` in interface `IGraphics3D`

### pointSize

    public void pointSize(float sz)

  Specified by:
    `pointSize` in interface `IGraphics3D`

### isInFront

    public boolean isInFront(IVec p)

### vertex

    public void vertex(IVec p)

### vertex

    public void vertex(IVec[] p)

### vertex

    public void vertex(IVec[] p,
                       IVec[] n)

### normal

    public void normal(IVec n)

### drawPoint

    public void drawPoint(IVec p)

  Specified by:
    `drawPoint` in interface `IGraphics3D`

### drawPoints

    public void drawPoints(IVec[] p)

  Specified by:
    `drawPoints` in interface `IGraphics3D`

### drawLines

    public void drawLines(IVec[] p)

  Specified by:
    `drawLines` in interface `IGraphics3D`

### drawLineStrip

    public void drawLineStrip(IVec[] p)

  Specified by:
    `drawLineStrip` in interface `IGraphics3D`

### drawLineLoop

    public void drawLineLoop(IVec[] p)

  Specified by:
    `drawLineLoop` in interface `IGraphics3D`

### drawPolygon

    public void drawPolygon(IVec[] p)

  Specified by:
    `drawPolygon` in interface `IGraphics3D`

### drawPolygon

    public void drawPolygon(IVec[] p,
                            IVec[] n)

  Specified by:
    `drawPolygon` in interface `IGraphics3D`

### drawQuads

    public void drawQuads(IVec[] p)

  Specified by:
    `drawQuads` in interface `IGraphics3D`

### drawQuads

    public void drawQuads(IVec[] p,
                          IVec[] n)

  Specified by:
    `drawQuads` in interface `IGraphics3D`

### drawQuadStrip

    public void drawQuadStrip(IVec[] p)

  Specified by:
    `drawQuadStrip` in interface `IGraphics3D`

### drawQuadStrip

    public void drawQuadStrip(IVec[] p,
                              IVec[] n)

  Specified by:
    `drawQuadStrip` in interface `IGraphics3D`

### drawQuadMatrix

    public void drawQuadMatrix(IVec[][] pts)

  Specified by:
    `drawQuadMatrix` in interface `IGraphics3D`

### drawQuadMatrix

    public void drawQuadMatrix(IVec[][] pts,
                               IVec[][] nml)

  Specified by:
    `drawQuadMatrix` in interface `IGraphics3D`

### drawTriangles

    public void drawTriangles(IVec[] p)

  Specified by:
    `drawTriangles` in interface `IGraphics3D`

### drawTriangles

    public void drawTriangles(IVec[] p,
                              IVec[] n)

  Specified by:
    `drawTriangles` in interface `IGraphics3D`

### drawTriangleStrip

    public void drawTriangleStrip(IVec[] p)

  Specified by:
    `drawTriangleStrip` in interface `IGraphics3D`

### drawTriangleStrip

    public void drawTriangleStrip(IVec[] p,
                                  IVec[] n)

  Specified by:
    `drawTriangleStrip` in interface `IGraphics3D`

### drawTriangleFan

    public void drawTriangleFan(IVec[] p)

  Specified by:
    `drawTriangleFan` in interface `IGraphics3D`

### drawTriangleFan

    public void drawTriangleFan(IVec[] p,
                                IVec[] n)

  Specified by:
    `drawTriangleFan` in interface `IGraphics3D`

### setLocation

    public void setLocation(int x,
                            int y)

  implementation of IPane

  Specified by:
    `setLocation` in interface `IPane`

### setSize

    public void setSize(int w,
                        int h)

  Specified by:
    `setSize` in interface `IPane`
  Overrides:
    `setSize` in class `processing.core.PGraphics3D`

### setBounds

    public void setBounds(int x,
                          int y,
                          int w,
                          int h)

  Specified by:
    `setBounds` in interface `IPane`

### getX

    public int getX()

  Specified by:
    `getX` in interface `IPane`

### getY

    public int getY()

  Specified by:
    `getY` in interface `IPane`

### getWidth

    public int getWidth()

  Specified by:
    `getWidth` in interface `IPane`

### getHeight

    public int getHeight()

  Specified by:
    `getHeight` in interface `IPane`

### isVisible

    public boolean isVisible()

  Specified by:
    `isVisible` in interface `IPane`

### setVisible

    public void setVisible(boolean b)

  Specified by:
    `setVisible` in interface `IPane`

### contains

    public boolean contains(int x,
                            int y)

  Specified by:
    `contains` in interface `IPane`

### setPanel

    public void setPanel(IPanel p)

  Specified by:
    `setPanel` in interface `IPane`

### getPanel

    public IPanel getPanel()

  Specified by:
    `getPanel` in interface `IPane`

### setBorderWidth

    public void setBorderWidth(float b)

  Specified by:
    `setBorderWidth` in interface `IPane`

### getBorderWidth

    public float getBorderWidth()

  Specified by:
    `getBorderWidth` in interface `IPane`

### getBorderStroke

    public java.awt.Stroke getBorderStroke()

  Specified by:
    `getBorderStroke` in interface `IPane`

### setBorderColor

    public void setBorderColor(java.awt.Color c)

  Specified by:
    `setBorderColor` in interface `IPane`

### getBorderColor

    public java.awt.Color getBorderColor()

  Specified by:
    `getBorderColor` in interface `IPane`

### navigator

    public INavigator navigator()

  Specified by:
    `navigator` in interface `IPane`

### setView

    public void setView(IView v)

  Specified by:
    `setView` in interface `IPane`

### getView

    public IView getView()

  Specified by:
    `getView` in interface `IPane`

### draw

    public void draw(IGraphics g)

  Specified by:
    `draw` in interface `IPane`

### focus

    public void focus()

  Focus view on objects

  Specified by:
    `focus` in interface `IPane`

### focus

    public void focus(java.util.ArrayList<IObject> e)

  Focus view on objects

  Specified by:
    `focus` in interface `IPane`

### mousePressed

    public void mousePressed(java.awt.event.MouseEvent e)

  Specified by:
    `mousePressed` in interface `IPane`

### mouseReleased

    public void mouseReleased(java.awt.event.MouseEvent e)

  Specified by:
    `mouseReleased` in interface `IPane`

### mouseClicked

    public void mouseClicked(java.awt.event.MouseEvent e)

  Specified by:
    `mouseClicked` in interface `IPane`

### mouseEntered

    public void mouseEntered(java.awt.event.MouseEvent e)

  Specified by:
    `mouseEntered` in interface `IPane`

### mouseExited

    public void mouseExited(java.awt.event.MouseEvent e)

  Specified by:
    `mouseExited` in interface `IPane`

### mouseMoved

    public void mouseMoved(java.awt.event.MouseEvent e)

  Specified by:
    `mouseMoved` in interface `IPane`

### mouseDragged

    public void mouseDragged(java.awt.event.MouseEvent e)

  Specified by:
    `mouseDragged` in interface `IPane`

### mouseWheelMoved

    public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)

  Specified by:
    `mouseWheelMoved` in interface `IPane`

### keyPressed

    public void keyPressed(java.awt.event.KeyEvent e)

  Specified by:
    `keyPressed` in interface `IPane`

### keyReleased

    public void keyReleased(java.awt.event.KeyEvent e)

  Specified by:
    `keyReleased` in interface `IPane`

### keyTyped

    public void keyTyped(java.awt.event.KeyEvent e)

  Specified by:
    `keyTyped` in interface `IPane`

### focusLost

    public void focusLost(java.awt.event.FocusEvent e)

  Specified by:
    `focusLost` in interface `IPane`

### focusGained

    public void focusGained(java.awt.event.FocusEvent e)

  Specified by:
    `focusGained` in interface `IPane`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD